Author |
Message
|
MrSmith |
Posted: Wed Mar 28, 2012 6:08 am Post subject: Timer Nodes - how they work under the covers |
|
|
 Master
Joined: 20 Mar 2008 Posts: 215
|
Hi,
Am looking for information on how the timer nodes work in that if i set a timer and its unique identifier it places that notification on the system timeout queue and when i go to cancel it uses the same identifier but i cant believe it reads all the messages on the queue to determine which one it cancels or does it?
Or does use the msgid - how does it work under the covers in easy speak?
Thx _________________ -------- *
“Outside of a dog, a book is man's best friend. Inside of a dog it's too dark to read.” |
|
Back to top |
|
 |
smdavies99 |
Posted: Wed Mar 28, 2012 9:00 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
Have to thought of using amqsbcg on the queue?
It might prove illuminating  _________________ 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 |
|
 |
mqjeff |
Posted: Wed Mar 28, 2012 9:23 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Or open a PMR to get a reliable understanding from a reputable source. |
|
Back to top |
|
 |
MrSmith |
Posted: Thu Mar 29, 2012 1:02 am Post subject: |
|
|
 Master
Joined: 20 Mar 2008 Posts: 215
|
Quote: |
Have to thought of using amqsbcg on the queue? |
Have you thought of reading the original question? It wasnt how to read the timeout queue I am not that stupid! (allegedly)
but how the say Cancel opertaion works: i.e. You set your timeoutcontrol with the unique identifier then you do some processing and you want to cancel the timeout because its worked and now the timeout to send some notification is no longer required;
SO my question was when I send my cancel does it then go to the SYSTEM.BROKER.TIMEOUT.QUEUE and read all the entries (there may be other timeout ids in there) to pick out the one i want to cancel or does it do it via some "save off" of the unique id against a msgid and retrieve it that way - this is the "under the covers" bit I would like to understand
I apologise if my original posting was not clear? _________________ -------- *
“Outside of a dog, a book is man's best friend. Inside of a dog it's too dark to read.” |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Mar 29, 2012 1:56 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
MrSmith wrote: |
Quote: |
Have to thought of using amqsbcg on the queue? |
Have you thought of reading the original question? It wasnt how to read the timeout queue I am not that stupid! (allegedly) |
smdavies99's point was that if you did read the messages on the queue, it might tell you something about how the messages are read when they are deleted.
As a simple example, suppose you did this, and the messages had the timeout uniqueid set as the correlid or msgid on the messages? what would that tell yoU? |
|
Back to top |
|
 |
|