|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Back out queue question. |
« View previous topic :: View next topic » |
Author |
Message
|
velocity |
Posted: Thu Sep 09, 2010 5:03 am Post subject: Back out queue question. |
|
|
Centurion
Joined: 30 Nov 2007 Posts: 126
|
Hi guys.
How will application know that messages are on the back out queue? Does monitoring / triggering help in this case?
Thanks a lot. |
|
Back to top |
|
 |
Vitor |
Posted: Thu Sep 09, 2010 5:11 am Post subject: Re: Back out queue question. |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
velocity wrote: |
How will application know that messages are on the back out queue? |
Because the application put them there.
The backout queue is provided for the convience of the reading application when it encounters a poison message. It's not used by WMQ (though some applcation containers like WAS work it on behalf of the application). If, as I suspect, your question would be better worded as "how does the application that processes the backout queue know there are messages on it", then the answer is the same way any application knows about messages on a queue. All the normal rules apply, and all the normal methods work. So....
velocity wrote: |
Does monitoring / triggering help in this case? |
Yes they can, if these are the design patterns you choose. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Sep 09, 2010 5:32 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9472 Location: US: west coast, almost. Otherwise, enroute.
|
A backout queue is just another queue used by the application to separate "good" messages from "poison" messages.
Your application must get/browse the message, look at the backout-count field in the MQMD for this particular message. If it is greater than 0, then the message has been backed out.
What you do with poison messages is application specific. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
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
|
|
|
|