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

Thread Safety Java Client (com.wm.app.b2b.client.Context)

  • 1.  Thread Safety Java Client (com.wm.app.b2b.client.Context)

    Posted Fri August 15, 2014 08:37 AM

    Hi,

    im wondering, if the generated Java Client (e.g. the Class com.wm.app.b2b.client.Context) is thread safe.
    Can i use a instance of Context by multiple Threads at the same time after i called “context.connect(server, username, password);” once?

    I could’n find anything in about that in the Javadocs.
    Is there a spererate Documentation for the JavaClient itself?
    My webMethods-Version is 9.5 SP1.

    Best Regards,

    Konstantin Hollerith


    #webMethods-General
    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: Thread Safety Java Client (com.wm.app.b2b.client.Context)

    Posted Fri August 15, 2014 04:25 PM

    under Context, there is invokeThreaded(…) methods to ensure thread safe. try it out.


    #Integration-Server-and-ESB
    #webMethods-General
    #webMethods