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 » WebSphere Message Broker (ACE) Support » Backout on exception problem ??

Post new topic  Reply to topic
 Backout on exception problem ?? « View previous topic :: View next topic » 
Author Message
Maverik
PostPosted: Tue Jun 14, 2005 11:29 pm    Post subject: Backout on exception problem ?? Reply with quote

Apprentice

Joined: 14 Jun 2005
Posts: 27

Hi,
I am sending an input which I validate using ESQL whether it is to be sent to output based on certain fields.
I have done an IF ELSE and thrown a user exception as below:
THROW USER EXCEPTION MESSAGE 2962 VALUES ('Message not valid');

The ESQL is working and the message is being rolled back.

The problem now is that I am not able to send the next message, it remains in the Input queue.

NOTE: I have created a backout queue and am setting that as the backout queue, in the properties of my input queue in MQExplorer.

Where am i going wrong ??

I did some searching on this site but cant find the solution i'm looking for..

Please help ??
Back to top
View user's profile Send private message
kt76
PostPosted: Wed Jun 15, 2005 12:26 am    Post subject: Reply with quote

Acolyte

Joined: 18 Jan 2004
Posts: 52

When you throw a user exception, you are forcing the message to come out of the FAILURE terminal of the compute node.

You need to handle the message appropriately at this terminal, like maybe put it on a error Q and decide what you want to do with it.

Since you have not handled it, the broker retraces the message back to the input node.
Back to top
View user's profile Send private message
Maverik
PostPosted: Wed Jun 15, 2005 12:55 am    Post subject: Reply with quote

Apprentice

Joined: 14 Jun 2005
Posts: 27

What do u suggest by handling it ??

I am using a Throw node at the FAILURE terminal of the compute node.

I cannot use a queue as the requirement is not to create another queue for Exceptions.

Is there any way i can throw it and then stop the message rolling back?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Jun 15, 2005 3:39 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Did you set the backout retry count on the queue as well as the backout queue?
_________________
I am *not* the model of the modern major general.
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 » WebSphere Message Broker (ACE) Support » Backout on exception problem ??
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.