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
  • 1.  API for restarting a Flow Service

    Posted 01/13/04 01:51 PM

    Hi,
    I have a Flow which calls a Java Application by initilizing a object of it and gets files from Queue on a remote QM and if while processing, QM connection fails, i have to restart the flow service.
    application returns a return code when processing is incomplete ( getting files ).

    Basically i want know the API for the Flow to Run again to get the files.

    I am using a Custom Java Application because it is doing Application Segmentation so i cant use MQAdapter.

    Thanks in Advance


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


  • 2.  RE: API for restarting a Flow Service

    Posted 01/13/04 02:12 PM

    I see two possibilities:

    1. Run the flow in a scheduled service

    or better,

    1. In the flow, put the java service call in a repeat and set the repeat to “repeat on failure.”

    HTH

    Ray


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


  • 3.  RE: API for restarting a Flow Service

    Posted 01/14/04 05:24 AM

    Thanks for quick reply.

    The Flow which is calling Java Apps is itself part of anothe Flow which does complete Error and Exception Handling.

    Putting the Flow in Repeat Loop of fails makes sense…but i am doubting will this create a problem as it might go in infinite loop sometimes.


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


  • 4.  RE: API for restarting a Flow Service

    Posted 01/15/04 04:06 AM

    Repeat stament will not go into infinate loop it will simply repeat the step or execution untill it is success or repeat numbre is reached. Then if exception still continues and failing your top level flow will catch that.


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