|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Backout on exception problem ?? |
« View previous topic :: View next topic » |
Author |
Message
|
Maverik |
Posted: Tue Jun 14, 2005 11:29 pm Post subject: Backout on exception problem ?? |
|
|
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 |
|
 |
kt76 |
Posted: Wed Jun 15, 2005 12:26 am Post subject: |
|
|
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 |
|
 |
Maverik |
Posted: Wed Jun 15, 2005 12:55 am Post subject: |
|
|
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 |
|
 |
jefflowrey |
Posted: Wed Jun 15, 2005 3:39 am Post subject: |
|
|
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 |
|
 |
|
|
 |
|
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
|
|
|
|