|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
[XMS] Backout queues |
« View previous topic :: View next topic » |
Author |
Message
|
jackid |
Posted: Thu Mar 04, 2010 2:28 am Post subject: [XMS] Backout queues |
|
|
Newbie
Joined: 04 Mar 2010 Posts: 5
|
Hello everyone,
In the red book (IBM Websphere MQ Fundamentals), i've got following
If the processing of a message fails, consistent action should be taken. One option is to move the message to a different queue for special attention, possibly adding extra information to the message based on the nature of the failure. WebSphere MQ allows queues from which messages are retrieved to identify a backout queue. An application can check the name of this queue and use this as the destination of messages for which processing fails.
So, i'd like to know how i can move a message(which is received by my application and being processed) to a different queue(backout queue), BY XMS.
Anyone has some sample code.... |
|
Back to top |
|
 |
mvic |
Posted: Thu Mar 04, 2010 3:25 am Post subject: Re: [XMS] Backout queues |
|
|
 Jedi
Joined: 09 Mar 2004 Posts: 2080
|
Hi jackid, welcome to the forum.
Search Google and the MQ Information center for the words jms backout queue. Or maybe just backout queue.
In MQ, whatever applies to JMS should apply to XMS too.
After that, you may still have questions - so please ask those.
As for samples, there are some linked from the bar near the top of this page. There are some shipped with MQ. There are some linked from within forum posts. There are some you can find with Google.
People here are always happy to help, but what you need is probably already out there (or in here on old forum posts) and findable with a few searches. |
|
Back to top |
|
 |
jackid |
Posted: Mon Mar 15, 2010 7:32 am Post subject: |
|
|
Newbie
Joined: 04 Mar 2010 Posts: 5
|
In the MQ API, we have a attribute of Queue MQCA_BACKOUT_REQ_Q_NAME, which determines the backout queue name, but what i want to know is, in XMS, it seems that we don't have a corresponding attribute of Queue or of Message.
How can I do assignment the backout queue, that's my issue! |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Mar 15, 2010 12:21 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
jackid wrote: |
In the MQ API, we have a attribute of Queue MQCA_BACKOUT_REQ_Q_NAME, which determines the backout queue name, but what i want to know is, in XMS, it seems that we don't have a corresponding attribute of Queue or of Message.
How can I do assignment the backout queue, that's my issue! |
I expect XMS to work the same way as JMS there. After threshold +1 exception during processing the message is put to the BACKOUT queue or if none specified to the DLQ.
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Mar 16, 2010 4:45 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
fjb_saper wrote: |
jackid wrote: |
In the MQ API, we have a attribute of Queue MQCA_BACKOUT_REQ_Q_NAME, which determines the backout queue name, but what i want to know is, in XMS, it seems that we don't have a corresponding attribute of Queue or of Message.
How can I do assignment the backout queue, that's my issue! |
I expect XMS to work the same way as JMS there. After threshold +1 exception during processing the message is put to the BACKOUT queue or if none specified to the DLQ.
Have fun  |
To clarify fj's point... XMS should handle the backout processing for you, with no need to code it explicitly in your app. |
|
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
|
|
|
|