|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Timer Nodes |
« View previous topic :: View next topic » |
Author |
Message
|
Learning_MQ_IIB |
Posted: Wed Jul 18, 2018 6:54 pm Post subject: Timer Nodes |
|
|
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 |
|
 |
abhi_thri |
Posted: Wed Jul 18, 2018 11:44 pm Post subject: |
|
|
 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 |
|
 |
Learning_MQ_IIB |
Posted: Thu Jul 19, 2018 1:20 am Post subject: |
|
|
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 |
|
 |
Vitor |
Posted: Thu Jul 19, 2018 5:09 am Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
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
|
|
|
|