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 » Timer Nodes

Post new topic  Reply to topic
 Timer Nodes « View previous topic :: View next topic » 
Author Message
Learning_MQ_IIB
PostPosted: Wed Jul 18, 2018 6:54 pm    Post subject: Timer Nodes Reply with quote

Novice

Joined: 13 Mar 2018
Posts: 14

Hi,

I have a requirement in which, I need to run a message flow at a particular time everyday. The flow needs to read from Queue and do processing. The issue with the timer node that I am facing is that the message flow executes just once. I want the message flow to read all the messages from the Queue at that time and then restarts again the next day.

Is there any way to do this out of box?

Thanks
Back to top
View user's profile Send private message
abhi_thri
PostPosted: Wed Jul 18, 2018 11:44 pm    Post subject: Reply with quote

Knight

Joined: 17 Jul 2017
Posts: 516
Location: UK

hi...It is possible to trigger a flow at a specific time using TimeoutControl and TimeoutNotification flows, see topic

...but I guess you would be better off keeping the design simple if possible, what is the real reason for having to process the messages at a specific time? can't the business problem be solved by a standard flow listening on the Queue continuously?
Back to top
View user's profile Send private message
Learning_MQ_IIB
PostPosted: Thu Jul 19, 2018 1:20 am    Post subject: Reply with quote

Novice

Joined: 13 Mar 2018
Posts: 14

This needs to be done since they the client needs to reprocess rejected messages everyday at a particular time. If done regularly, it would interfere with normal processing.

With Timeout Notification and Timeout Control node, I can play with number of times message flow is invoked by defining Count and Interval. Something like this:

<Count>-1</Count>
<Interval>45</Interval>

However, the issue with above is that the MF will be invoked indefinite number of times every 45 seconds. But thats the not result that I want.

Thanks
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Jul 19, 2018 5:09 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Learning_MQ_IIB wrote:
However, the issue with above is that the MF will be invoked indefinite number of times every 45 seconds. But thats the not result that I want.


If you want it to run once, and at a specific time, I'd use the MF external scheduler (CA7 or equivalent) to pick it off rather than a Timer node.
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » Timer Nodes
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.