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.  Wait

    Posted 10/21/02 09:29 AM

    Within a flow service that invokes multiple services, I need to “wait” for a period of time between the 1st and 2nd steps. Would appreciate any suggestions.

    Thanks.


    #Adapters-and-E-Standards
    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: Wait

    Posted 10/22/02 06:07 AM

    We have a little java utility that takes a time in milleseconds that looks something like this:
    // pipeline
    IDataHashCursor pipelineCursor = pipeline.getHashCursor();
    pipelineCursor.first( “sleepTimeMillis” );
    long sleepTimeMillis = Long.parseLong ((String) pipelineCursor.getValue());
    pipelineCursor.destroy();

    try
    {
    Thread.currentThread ().sleep (sleepTimeMillis);
    }
    catch (InterruptedException ie)
    {}
    Hope this helps.


    #Integration-Server-and-ESB
    #Adapters-and-E-Standards
    #webMethods


  • 3.  RE: Wait

    Posted 10/23/02 02:00 PM