|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Message Flow Start/Stop Automation |
« View previous topic :: View next topic » |
Author |
Message
|
raghav_138 |
Posted: Fri Oct 16, 2009 1:43 am Post subject: Message Flow Start/Stop Automation |
|
|
Newbie
Joined: 04 Aug 2009 Posts: 9
|
I have a message flow which reads messages from an input queue,Is there any way we can design the flow where the flow stops automatically when all the input messages have been read and again it should start when a message drops into the input queue? |
|
Back to top |
|
 |
zpat |
Posted: Fri Oct 16, 2009 2:21 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Strange request.
A message flow with a MQinput node issues MQGET WAIT against the queue, it is therefore waiting for the next message automatically.
Normally you process one message in the flow, allow the flow to end and it will then pick up the next message automatically.
You don't need to use the MQGET node to empty the queue but if you decide to do this, then when the queue is empty just let the flow end.
By "ending" the flow - it simply returns to the MQinput node to await the next message. When it arrives the flow will process it. |
|
Back to top |
|
 |
PeterPotkay |
Posted: Fri Oct 16, 2009 4:39 am Post subject: Re: Message Flow Start/Stop Automation |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
raghav_138 wrote: |
I have a message flow which reads messages from an input queue,Is there any way we can design the flow where the flow stops automatically when all the input messages have been read and again it should start when a message drops into the input queue? |
Why would you want to do this? _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
mqwmbfteuser |
Posted: Mon Oct 19, 2009 11:36 am Post subject: |
|
|
Newbie
Joined: 19 Oct 2009 Posts: 1
|
Hi raghav,
You can use Omegamon for the same by writing a situation for the queue depth. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|