|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Stop Timer? |
« View previous topic :: View next topic » |
Author |
Message
|
shashivarungupta |
Posted: Thu Jan 05, 2017 6:56 pm Post subject: Stop Timer? |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
Hi,
As per IBM Manual...
"When a TimeoutNotification node is started as a result of the broker starting, or by the message flow that contains the node starting, it scans its internal timeout store and purges any non-persistent timeout requests."
When the Broker starts or the Message Flow that has TimeoutNotifciation Node, Timer kicks in (scanning default broker system timeout queue). How can I stop the Timer?
Is that just stop the message flow or EG or Broker?
(This has got adverse affect on the other independant deployed applications.)
On the other hand, what if I am using Broker Configurable Service for Timer Node (i.e. its own Broker Timeout Queue to store the timer events). In that case, without affecting other deployed applications (with in same EG and Broker), how can I stop the Timer? Is that again, stop the Message flow that has Timer node?
WMB v8.
MQ v7.
Kindly suggest.
Thanks.
 _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
smdavies99 |
Posted: Thu Jan 05, 2017 11:12 pm Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
If the flow that has the timer node in it is stopped then the timer can't fire and do anything now can it?
Do you want to stop any more timer events from happening?
If so then you have to CANCEL the timer using specific code in your flow.
I've used an MQ Input Node that processes a "trigger the cancel" operation in the past. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
shashivarungupta |
Posted: Sun Jan 08, 2017 7:04 pm Post subject: |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
smdavies99 wrote: |
If the flow that has the timer node in it is stopped then the timer can't fire and do anything now can it? |
Nope, it cannot fire the timer events, if the flow is stopped have timer node in it.
smdavies99 wrote: |
Do you want to stop any more timer events from happening?
If so then you have to CANCEL the timer using specific code in your flow.
I've used an MQ Input Node that processes a "trigger the cancel" operation in the past. |
Ahh.. at the moment I dont forsee the requirement but will explore more.
Apart from these, how can someone make sure that timer events (Timeout Notification Node) are getting generated and there isn't any issue with it?
I know that's not a great question, but it is that administrator who would want to know and make sure about timer activities.
One answer comes to my mind is log the event and trust Broker internal processing.
Do you have more options?
Thanks.
 _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
nelson |
Posted: Sun Jan 08, 2017 7:22 pm Post subject: |
|
|
 Partisan
Joined: 02 Oct 2012 Posts: 313
|
shashivarungupta wrote: |
smdavies99 wrote: |
If the flow that has the timer node in it is stopped then the timer can't fire and do anything now can it? |
Nope, it cannot fire the timer events, if the flow is stopped have timer node in it.
smdavies99 wrote: |
Do you want to stop any more timer events from happening?
If so then you have to CANCEL the timer using specific code in your flow.
I've used an MQ Input Node that processes a "trigger the cancel" operation in the past. |
Ahh.. at the moment I dont forsee the requirement but will explore more.
Apart from these, how can someone make sure that timer events (Timeout Notification Node) are getting generated and there isn't any issue with it?
I know that's not a great question, but it is that administrator who would want to know and make sure about timer activities.
One answer comes to my mind is log the event and trust Broker internal processing.
Do you have more options?
Thanks.
 |
Please take a look at @Vitor comments, very valuable:
http://www.mqseries.net/phpBB2/viewtopic.php?p=384247&sid=1d8755340ca374d626ee968726634f8c |
|
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
|
|
|
|