|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
question about propagation and exceptions |
« View previous topic :: View next topic » |
Author |
Message
|
special_agent_Queue |
Posted: Thu Dec 21, 2006 1:19 pm Post subject: question about propagation and exceptions |
|
|
 Centurion
Joined: 27 Jul 2006 Posts: 102
|
Just wondering:
Is there any way to make sure a message gets put to the queue and stays there if after the PROPAGATE statement we manually throw an error?
ie
SET OutputRoot = InputRoot;
PROPAGATE TO Label 'Reply';
(some if statement)
THROW USER EXCEPTION ....
My understanding was that the propagate statement would cause everything down the line to complete, and then it would return to complete the rest of the esql code in the compute node.
However, this THROW USER EXCEPTION must cause it to get rolled back?
If so, is there any way around this?
(We're trying to send a failure reply, suspend the message, and create a suspense reason and we already have an exception handling subflow, so we were trying to use this, rather than rewriting it/copying & pasting.)
Thanks for the help. |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Dec 21, 2006 1:24 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
In the same way that one sends an error message down a normal error handler flow off the Catch terminal of the *input node...
By changing the transactionality of the MQOutput node so that the message always commits... _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
special_agent_Queue |
Posted: Fri Dec 22, 2006 5:44 am Post subject: |
|
|
 Centurion
Joined: 27 Jul 2006 Posts: 102
|
Thanks. Sometimes I have a tendency to miss the obvious. |
|
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
|
|
|
|