Author |
Message
|
WMB101 |
Posted: Wed Feb 18, 2015 9:24 am Post subject: Difference between exception and exception list |
|
|
Newbie
Joined: 18 Feb 2015 Posts: 2
|
Inside the properties for an MQ input node, inside validation tab, we can select "exception" or "exception List" as Failure Action.
Can anyone explain me the difference between "exception" and "exception List" and what happens when we select either of these.
Thanks in advance.
[/b] |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Feb 18, 2015 9:25 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Isn't it easier to just try the two options and see what happens? |
|
Back to top |
|
 |
Vitor |
Posted: Wed Feb 18, 2015 9:36 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Moved to more relevant section _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
WMB101 |
Posted: Wed Feb 18, 2015 10:29 am Post subject: |
|
|
Newbie
Joined: 18 Feb 2015 Posts: 2
|
@mqjef : don't you think i have tried that? but i cant see any differences in the exception tree for both. There may be some different approach that i may try , so that i can see the difference.
Don't hinder, if you can't help . |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Feb 18, 2015 11:04 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
WMB101 wrote: |
@mqjef : don't you think i have tried that? |
The only things I know are what you have said.
You didn't say whether you tried it or not.
You didn't say whether you looked in the documentation or not.
You didn't say where you were looking at the exception list. |
|
Back to top |
|
 |
shanson |
Posted: Mon Feb 23, 2015 2:28 am Post subject: |
|
|
 Partisan
Joined: 17 Oct 2003 Posts: 344 Location: IBM Hursley
|
The difference is explained in the IIB infocenter in this topic ac18870_ (just search that string).
You don't say what domain you were using. There was a bug with DFDL domain whereby exceptionList behaved like exception, but it has been fixed in the latest IIB v9 stream. |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Feb 23, 2015 5:36 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
to make it clearer it all depends on parse timing:
from http://www-01.ibm.com/support/knowledgecenter/SSMKHH_9.0.0/com.ibm.etools.mft.doc/ac18870_.htm?lang=en
The biggest difference is seen with parse timing immediate or full
Quote: |
Exception
The default value. An exception is thrown on the first validation failure encountered. The resulting exception list is shown below. The failure is also logged in the user trace if you have asked for user tracing of the message flow, and validation stops. Use this setting if you want processing of the message to halt as soon as a failure is encountered. |
Quote: |
Exception List
Throws an exception if validation failures are encountered, but only when the current parsing or writing operation has completed. The resulting exception list is shown below. Each failure is also logged in the user trace if you have asked for user tracing of the message flow, and validation stops. Use this setting if you want processing of the message to halt if a validation failure occurs, but you want to see the full list of failures encountered. This property is affected by the Parse Timing property; when partial parsing is selected the current parsing operation parses only a portion of an input message, so only the validation failures in that portion of the message are reported. |
_________________ MQ & Broker admin |
|
Back to top |
|
 |
|