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

Post new topic  Reply to topic
 Parse Error « View previous topic :: View next topic » 
Author Message
sravan
PostPosted: Wed Apr 07, 2010 7:15 am    Post subject: Parse Error Reply with quote

Centurion

Joined: 02 Apr 2010
Posts: 104
Location: Charlotte

Is it valid to connect the Catch and Failure terminals from MQInput node to a Compute Node to parse the exceptionlist to generate an error XML?

Thank in advance.
_________________
skr_wmb
Back to top
View user's profile Send private message
mqmatt
PostPosted: Wed Apr 07, 2010 7:34 am    Post subject: Reply with quote

Grand Master

Joined: 04 Aug 2004
Posts: 1213
Location: Hursley, UK

Sure!
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Apr 07, 2010 9:26 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

It's even valid to connect the failure terminal to a Throw node.

It's a bad idea to do that, however.

your own case may also have it's drawbacks.
Back to top
View user's profile Send private message
Gaya3
PostPosted: Wed Apr 07, 2010 11:00 pm    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

mqjeff wrote:
It's even valid to connect the failure terminal to a Throw node.
.


its a good idea , so we can keep and route to only one error handling part.
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
smdavies99
PostPosted: Wed Apr 07, 2010 11:49 pm    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

IMHO,
Anything connected to a failure terminal should be reserved for bad things that happen during exception handling.

Generally, for flows, that start with an MQInput, this is unconnected so I let it go into the backout queue.

For other stuff, I connect up a compute node that will package everything and pass it onto an MQOutput Node for depositing into an Q of last resort.

Sorta like one of the comments I seem to remember seeing inside an Ultrix Kernel Source Code.
Code:

/*If you get here, you are in deep trouble*/
Halt;

_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
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 » Parse Error
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.