Author |
Message
|
smartdude |
Posted: Thu Jan 11, 2007 9:59 pm Post subject: Adding Delay in ESQL |
|
|
Newbie
Joined: 11 Jan 2007 Posts: 3
|
Any idea how to add a delay or wait in a esql or a message flow? I am processing a message and sending out several messages... however i want to wait for 20 seconds after the first message is sent out so that there is a time delay when the rest of the messages are sent out..
Thanks
Smartdude... |
|
Back to top |
|
 |
AkankshA |
Posted: Thu Jan 11, 2007 10:19 pm Post subject: |
|
|
 Grand Master
Joined: 12 Jan 2006 Posts: 1494 Location: Singapore
|
If you are working on v6
you can use timeoutcontrol and timeOutNotification nodes |
|
Back to top |
|
 |
sarat |
Posted: Thu Jan 11, 2007 10:30 pm Post subject: |
|
|
 Centurion
Joined: 29 Jun 2005 Posts: 136 Location: India
|
I think those nodes or to trigger the flow at particular time interval...but
smartdude wrote :
Quote: |
I am processing a message and sending out several messages.. |
So is it possible with those nodes!!!!
he's constructing several messages in computation...after that he need to wait some duration b/m msg to msg _________________ With Regards,
Sarat. |
|
Back to top |
|
 |
AkankshA |
Posted: Thu Jan 11, 2007 10:48 pm Post subject: |
|
|
 Grand Master
Joined: 12 Jan 2006 Posts: 1494 Location: Singapore
|
As per my knowledge there's no other way to insert delay in a compute node
such kinda discussion has already happened on this forum too |
|
Back to top |
|
 |
AkankshA |
Posted: Thu Jan 11, 2007 10:51 pm Post subject: |
|
|
 Grand Master
Joined: 12 Jan 2006 Posts: 1494 Location: Singapore
|
|
Back to top |
|
 |
sarat |
Posted: Thu Jan 11, 2007 10:52 pm Post subject: |
|
|
 Centurion
Joined: 29 Jun 2005 Posts: 136 Location: India
|
i think he can try with Java code with JCN  _________________ With Regards,
Sarat. |
|
Back to top |
|
 |
AkankshA |
Posted: Thu Jan 11, 2007 11:00 pm Post subject: |
|
|
 Grand Master
Joined: 12 Jan 2006 Posts: 1494 Location: Singapore
|
Of course yes with JCN
Anything and everything can be achieved with tweaking JCN a little  |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Jan 12, 2007 2:37 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
It's a very poor idea to code any kind of delay loop or sleep inside a node.
You can interrupt the thread handling of the execution group - cause the whole thing to be unresponsive for the entirety of the delay. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|