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
Expand all | Collapse all

Does Integration Server release the thread while sleeping for a while

  • 1.  Does Integration Server release the thread while sleeping for a while

    Posted 10/29/04 06:22 PM

    Hello,
    I am making a call to web service inside a REPEAT step in flow service.
    I have set count=3, repeat on FAILURE and time interval to 5 minutes (300 seconds)(as per the requirements documented for my project).

    I am kind of not clear that while waiting for 5 minutes, does Integration Server releases the current processing thread available to other resources ?

    If I say it in other way, if web service is down and one request will wait to make request again to web service ( 3 times at every 5 minutes = 15 minutes total wait time interval) …duing this 15 minutes, will the thread be bound to the same service or IS releases the thread ?

    Any help on this will be highly appreciated.

    Regards
    Nilesh


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 2.  RE: Does Integration Server release the thread while sleeping for a while

    Posted 11/01/04 07:57 AM

    As far as I know the thread is still taken up by the service until the top level service completes. Although the thread will have minimal CPU time required while it is in the wait state, I think you’ll find that your pool of available threads is missing a thread for that time.

    To verify: create a flow service that takes in no inputs, then have a repeat with a high backoff setting, with a call to debug log or something inside the repeat. Invoke it with your browser using /invoke/folder.subfolder/serviceName and open multiple windows or browser tabs… Hit reload a few times in each and then go check out the server stats page. You’ll see the number of theads and sessions etc.

    regards,
    Nath
    WmUnit - the webMethods Testing framework
    [url=“http://www.customware.net/wmunit”]http://www.customware.net/wmunit[/url]


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services