IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Attach server reconnect (JAVA ACI)

  • 1.  Attach server reconnect (JAVA ACI)

    Posted Sat April 01, 2017 11:27 AM

    Hello,

    We are currently working on a java project and need to use EntireX to send/receive message with a partner.

    We are using the Java ACI to register an attach server and replicates servers functionality, everything work fine and we can receive/respond to messages in a multi-threaded environment.

    However if our application crash, we are loosing our BrokerService instance (Java ACI object) and can’t find a way to reconnect to the previously registered attach server.
    Is there a way to do so ?

    Thank you,
    Sofiane.


    #EntireX
    #webMethods
    #Mainframe-Integration


  • 2.  RE: Attach server reconnect (JAVA ACI)

    Posted Sun April 02, 2017 04:29 PM

    You need to supply a user defined TOKEN value on the logon (and retain it throughout the calls). Supply the same token (and user-id) value when you reconnect after a failure and the server will re-connect. If you are using the same USER-ID to connect to EntireX Broker concurrently, then each requires its own unique TOKEN value.

    See the documentation on USER-ID and TOKEN - this is from v9.12, but is applicable to earlier versions also:
    http://techcommunity.softwareag.com/ecosystem/documentation/webmethods/wmsuites/wmsuite9-12/EntireX/9-12_EntireX/aci/clientServer.htm#clientServer_idToken


    #EntireX
    #webMethods
    #Mainframe-Integration


  • 3.  RE: Attach server reconnect (JAVA ACI)

    Posted Tue April 04, 2017 08:45 AM

    Thanks Douglas, it works perfectly !


    #Mainframe-Integration
    #EntireX
    #webMethods