ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » [XMS] Backout queues

Post new topic  Reply to topic
 [XMS] Backout queues « View previous topic :: View next topic » 
Author Message
jackid
PostPosted: Thu Mar 04, 2010 2:28 am    Post subject: [XMS] Backout queues Reply with quote

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
View user's profile Send private message
mvic
PostPosted: Thu Mar 04, 2010 3:25 am    Post subject: Re: [XMS] Backout queues Reply with quote

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
View user's profile Send private message
jackid
PostPosted: Mon Mar 15, 2010 7:32 am    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Mon Mar 15, 2010 12:21 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Tue Mar 16, 2010 4:45 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » [XMS] Backout queues
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.