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