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 » Difference between InputExceptionList from Failure and Catch

Post new topic  Reply to topic
 Difference between InputExceptionList from Failure and Catch « View previous topic :: View next topic » 
Author Message
nelson
PostPosted: Mon Feb 02, 2015 6:02 am    Post subject: Difference between InputExceptionList from Failure and Catch Reply with quote

Partisan

Joined: 02 Oct 2012
Posts: 313

Hi all,

I have noticed that the InputExceptionList is quite different if we reference it from the Failure or from the Catch terminal of an input node. From the catch terminal the InputExceptionList it's complete and we are able to construct a more specific error message, the opposite when the InputExceptionList is propagated from the Failure terminal, usually it only says that 'Dequeued failed message. Propagating a message to the failure terminal'.

In the Knowledge Center is mention something like that, but not clear why the InputExceptionList is not full populated.

Quote:
When a message is propagated to the Failure or Catch terminal, the node creates and populates a new exception list tree with an exception that represents the error that has occurred. The exception list is propagated as part of the message tree. When a message is propagated to the Failure terminal because of a problem that occurred in the Out or Catch flows (for example, repeated parsing errors that caused the backout threshold to be met), the original parsing errors are not in the exception list; the exception list contains the exception that indicates that the backout threshold has been met.


We want the behavior of the Failure terminal, but... need the InputExceptionList of the Catch terminal...

Any idea?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Feb 02, 2015 6:06 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Create a flow attached to the catch terminal that rethrows the exception with the information in the current exception list...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Mon Feb 02, 2015 6:10 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

There's a difference in the exception list between the two terminals because there's a difference between the two terminals.

They are called at different points in time in the lifetime of a flow instance, they are called in response to different events, and they act differently.

Consequently, they have different information available to them when they propagate.
Back to top
View user's profile Send private message
nelson
PostPosted: Mon Feb 02, 2015 6:19 am    Post subject: Reply with quote

Partisan

Joined: 02 Oct 2012
Posts: 313

Thanks for your clarifications!
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Feb 02, 2015 6:26 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

In general, you should spend some time considering why you need to connect anything to the Failure terminal.
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 » Difference between InputExceptionList from Failure and Catch
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.