ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Adding Delay in ESQL

Post new topic  Reply to topic
 Adding Delay in ESQL « View previous topic :: View next topic » 
Author Message
smartdude
PostPosted: Thu Jan 11, 2007 9:59 pm    Post subject: Adding Delay in ESQL Reply with quote

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
View user's profile Send private message
AkankshA
PostPosted: Thu Jan 11, 2007 10:19 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
sarat
PostPosted: Thu Jan 11, 2007 10:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
AkankshA
PostPosted: Thu Jan 11, 2007 10:48 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
AkankshA
PostPosted: Thu Jan 11, 2007 10:51 pm    Post subject: Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

chk it out

http://www-128.ibm.com/developerworks/websphere/library/techarticles/0603_schutz/0603_schutz.html
Back to top
View user's profile Send private message Visit poster's website
sarat
PostPosted: Thu Jan 11, 2007 10:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
AkankshA
PostPosted: Thu Jan 11, 2007 11:00 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
jefflowrey
PostPosted: Fri Jan 12, 2007 2:37 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Adding Delay in ESQL
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.