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 » Message Flow Start/Stop Automation

Post new topic  Reply to topic
 Message Flow Start/Stop Automation « View previous topic :: View next topic » 
Author Message
raghav_138
PostPosted: Fri Oct 16, 2009 1:43 am    Post subject: Message Flow Start/Stop Automation Reply with quote

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
View user's profile Send private message
zpat
PostPosted: Fri Oct 16, 2009 2:21 am    Post subject: Reply with quote

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
View user's profile Send private message
PeterPotkay
PostPosted: Fri Oct 16, 2009 4:39 am    Post subject: Re: Message Flow Start/Stop Automation Reply with quote

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
View user's profile Send private message
mqwmbfteuser
PostPosted: Mon Oct 19, 2009 11:36 am    Post subject: Reply with quote

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
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 » Message Flow Start/Stop Automation
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.