|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Parse Error |
« View previous topic :: View next topic » |
Author |
Message
|
sravan |
Posted: Wed Apr 07, 2010 7:15 am Post subject: Parse Error |
|
|
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 |
|
 |
mqmatt |
Posted: Wed Apr 07, 2010 7:34 am Post subject: |
|
|
 Grand Master
Joined: 04 Aug 2004 Posts: 1213 Location: Hursley, UK
|
|
Back to top |
|
 |
mqjeff |
Posted: Wed Apr 07, 2010 9:26 am Post subject: |
|
|
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 |
|
 |
Gaya3 |
Posted: Wed Apr 07, 2010 11:00 pm Post subject: |
|
|
 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 |
|
 |
smdavies99 |
Posted: Wed Apr 07, 2010 11:49 pm Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
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
|
|
|
|