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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only

Dispatching in multiple threads

  • 1.  Dispatching in multiple threads

    Posted 06/02/09 09:46 AM

    Hello,

    I need to write a client that will dispatch events in multiple threads. I need to re-use thread pool from my application server so I am not able to use threadedCallbacks feature of the BrokerClient.

    What is the strategy in this situation?

    Is it ok to create multiple threads with multiple while(true) loops and call dispatch from it?

    Or is there a way to hook up somehow the start of dispatch point and delegate the work to the thread from my own thread pool. Or application thread respectively.

    Thanks.


    #Integration-Server-and-ESB
    #Universal-Messaging-Broker
    #broker
    #webMethods