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 » Error Handling

Post new topic  Reply to topic
 Error Handling « View previous topic :: View next topic » 
Author Message
smeunier
PostPosted: Tue Feb 10, 2004 9:52 am    Post subject: Error Handling Reply with quote

Partisan

Joined: 19 Aug 2002
Posts: 305
Location: Green Mountains of Vermont

I 'm using a generic error handler subflow, for all my main message flows. On an exception, I create a message for logging purposes. I then issue a throw, to force roll back of the original message to the InputNode, where the originating messages gets routed to a DLQ.

Problem: The log message I write out gets rolled back and the original message is getting thrown out. How can I rollback the original message while still producing the log message?

Flow: InputNode -> Error Handler Subflow -> ComputeNode

Subflow: InputTerminal -> Filter -> tryCatch -> Compute -> OutputNode -> Throw
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Feb 10, 2004 10:30 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Change the transaction mode on the Output node in the error flow.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
smeunier
PostPosted: Tue Feb 10, 2004 11:47 am    Post subject: Reply with quote

Partisan

Joined: 19 Aug 2002
Posts: 305
Location: Green Mountains of Vermont

I had the Transaction Mode set to "Automatic" and changed to "no" I now get both Log message and a rolled back original message.

Thanks
Back to top
View user's profile Send private message
catwood2
PostPosted: Tue Feb 10, 2004 2:17 pm    Post subject: Re: Error Handling Reply with quote

Centurion

Joined: 17 May 2002
Posts: 108

On the topic of error handling, I have found these two links phenomenal (WMQI 2.1). You may be beyond this information...but perhaps insightful to others.



http://www-106.ibm.com/developerworks/websphere/library/techarticles/0305_ansari/ansari.html

http://www-106.ibm.com/developerworks/websphere/library/techarticles/0301_brown/brown.html
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 » Error Handling
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.