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

Delay function

  • 1.  Delay function

    Posted Tue December 17, 2002 10:01 AM

    Asides from the obvious - which I have already nearly finished- of writing a Java service, is there a bit in function delay which would allow a pause before executing a consecutive step i.e. the input would be milliseconds

    cheers & seasonal hello to the wM Community

    Stallion


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


  • 2.  RE: Delay function

    Posted Wed December 18, 2002 03:58 AM

    I always take the obvious approach, Stallion. Thread.sleep(timeToSleep). If webMethods has a built-in “stall” feature, I haven’t found it.

    You could probably rig the backoff feature of the REPEAT Flow step, depending on your situation, but invoking a Java service to sleep seems to be cleaner.

    Be sure to properly catch your exceptions.


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