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

Listener thread number of webMethods SAP Adapter for sequence execution

  • 1.  Listener thread number of webMethods SAP Adapter for sequence execution

    Posted Wed December 30, 2020 04:17 AM

    Hello All,

    Case:
    SAP RFC will pop IDOCs sequentially, and service needs to be executed sequentially after listener receives IDOC.
    I created a SAP Adapter listener and notification, interface is working fine via Universal Messaging. But the thread number of the listener is only one.

    My question:
    If configure more than one threads for the SAP Adapter listener. Will the services be executed sequentially?

    Thanks a lot for your answer.


    #webMethods
    #Adapters-and-E-Standards
    #Integration-Server-and-ESB
    #webMethods-io-Integration
    #Service-Designer
    #Application-Platform
    #Universal-Messaging-Broker


  • 2.  RE: Listener thread number of webMethods SAP Adapter for sequence execution

    Posted Wed December 30, 2020 09:53 AM

    Hi Xiong Liang,

    The sequence where the listener will kick start the flow service or publish to UM, will depend on which IDoc came in first through the listener. With multiple threads, it’s very unlikely you will be able to control the sequence where the IDoc came in.

    You’ve a dependency on the SAP side when it delivered out the Idoc. If the gap between those are different 1 2 seconds, there might be a chance at the time arriving on IS SAP listener, they’ll not come in the expected sequence.

    So it will very much depend on how you plan to implement your solution to process them. You can first have them publish to different queues in UM/JMS provider/broker, then develop your flow service to process according to your steps preferred.

    If just using the listener and multiple threads, you cannot ensure the sequence executed sequentially if close proximity.


    #webMethods
    #Integration-Server-and-ESB
    #Application-Platform
    #webMethods-io-Integration
    #Adapters-and-E-Standards
    #Service-Designer
    #Universal-Messaging-Broker


  • 3.  RE: Listener thread number of webMethods SAP Adapter for sequence execution

    Posted Mon January 04, 2021 01:18 AM

    Hello Mike,

    Thanks for your answer.
    I am still considering how multi-threaded execute queue tasks in order, to improve interface performance and keep the order correct. but seems it is not a good solution.


    #Adapters-and-E-Standards
    #Application-Platform
    #webMethods
    #webMethods-io-Integration
    #Universal-Messaging-Broker
    #Service-Designer
    #Integration-Server-and-ESB