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
  • 1.  Java sleep/wait equivalents in WM

    Posted Wed May 17, 2006 10:56 AM

    Hi,

    Can someone pls tell me whether there are any services equivalent to the sleep and wait commands we have in Java?

    Thanks and Regards,
    Anupama Ashok


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


  • 2.  RE: Java sleep/wait equivalents in WM

    Posted Wed May 17, 2006 02:26 PM

    You can Write you own java service for that.


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


  • 3.  RE: Java sleep/wait equivalents in WM

    Posted Wed May 17, 2006 02:44 PM

    The WmSamples packages contains a simple java service to do this in the “threads” folder. I think it is called “stall”, but I agree that you can write your own thread.sleep() service in just a few lines of code.

    Mark


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


  • 4.  RE: Java sleep/wait equivalents in WM

    Posted Wed May 17, 2006 03:42 PM

    In case you have the PSUtilities package, you can write a service on the lines of this ‘PSUtilities.misc:sleep’.

    Thanks
    Shantanu


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