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 » question about propagation and exceptions

Post new topic  Reply to topic
 question about propagation and exceptions « View previous topic :: View next topic » 
Author Message
special_agent_Queue
PostPosted: Thu Dec 21, 2006 1:19 pm    Post subject: question about propagation and exceptions Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Thu Dec 21, 2006 1:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
special_agent_Queue
PostPosted: Fri Dec 22, 2006 5:44 am    Post subject: Reply with quote

Centurion

Joined: 27 Jul 2006
Posts: 102

Thanks. Sometimes I have a tendency to miss the obvious.
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 » question about propagation and exceptions
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.