Author |
Message
|
saviobarr |
Posted: Tue Dec 30, 2014 2:36 am Post subject: Beginner - Exception terminal and Fail terminal |
|
|
Centurion
Joined: 21 Oct 2014 Posts: 100 Location: Sao Paulo, Brazil
|
Hi all,
A beginner's question: in MQInput terminal, what's difference between Fail Terminal and Exception Terminal? When is one fired over other?
Many thanks
Savio Barros |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Dec 30, 2014 4:19 am Post subject: Re: Beginner - Exception terminal and Fail terminal |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
saviobarr wrote: |
Hi all,
A beginner's question: in MQInput terminal, what's difference between Fail Terminal and Exception Terminal? When is one fired over other?
Many thanks
Savio Barros |
Don't know what you mean. I remember 3 terminals
- fail terminal
- out terminal
- catch terminal
Can you please determine what you mean with Exception terminal??  _________________ MQ & Broker admin |
|
Back to top |
|
 |
saviobarr |
Posted: Tue Dec 30, 2014 4:29 am Post subject: Re: Beginner - Exception terminal and Fail terminal |
|
|
Centurion
Joined: 21 Oct 2014 Posts: 100 Location: Sao Paulo, Brazil
|
fjb_saper wrote: |
saviobarr wrote: |
Hi all,
A beginner's question: in MQInput terminal, what's difference between Fail Terminal and Exception Terminal? When is one fired over other?
Many thanks
Savio Barros |
Don't know what you mean. I remember 3 terminals
- fail terminal
- out terminal
- catch terminal
Can you please determine what you mean with Exception terminal??  |
My apologies. I meant "Fail Terminal" . I'd like to understand the diffs between Fail and Catch terminals  |
|
Back to top |
|
 |
smdavies99 |
Posted: Tue Dec 30, 2014 4:33 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
What does the IBM supplied documentation say on the matter?
Or is it a case of 'goodness gracious me, IBM have forgotten to document this most important bit of Information'? _________________ 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 |
|
 |
saviobarr |
Posted: Tue Dec 30, 2014 4:37 am Post subject: |
|
|
Centurion
Joined: 21 Oct 2014 Posts: 100 Location: Sao Paulo, Brazil
|
smdavies99 wrote: |
What does the IBM supplied documentation say on the matter?
Or is it a case of 'goodness gracious me, IBM have forgotten to document this most important bit of Information'? |
Thanks for your important contribution. It's really changed my life. |
|
Back to top |
|
 |
saviobarr |
Posted: Tue Dec 30, 2014 4:50 am Post subject: |
|
|
Centurion
Joined: 21 Oct 2014 Posts: 100 Location: Sao Paulo, Brazil
|
smdavies99 wrote: |
What does the IBM supplied documentation say on the matter?
Or is it a case of 'goodness gracious me, IBM have forgotten to document this most important bit of Information'? |
Btw, I really read the Knowledge Center before posting here. It says: "If an error occurs, the flow goes to Fail terminal. If an exception occurs, the flow goes to Catch terminal." Maybe I should understand the difference between Error and Exception. Let me see the KC again... |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Dec 30, 2014 6:06 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
The biggest difference between fail and catch terminal is in the transaction handling.
When the catch terminal is called you are still within the same transaction and all actions up to this point can still be committed.
When the fail terminal of the input node is called the transaction has been rolled back.
This is the reason most of the catch branches end with a throw node. _________________ MQ & Broker admin |
|
Back to top |
|
 |
smdavies99 |
Posted: Tue Dec 30, 2014 11:23 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
saviobarr wrote: |
Thanks for your important contribution. It's really changed my life. |
I'll accept the sarcasm. However
If you had explained your current understanding of the differences then if they were wrong then you might have had the correct information passed to you.
For example
Quote: |
I think it works like this and then this
|
Help us to help you. _________________ 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 |
|
 |
saviobarr |
Posted: Tue Dec 30, 2014 3:32 pm Post subject: |
|
|
Centurion
Joined: 21 Oct 2014 Posts: 100 Location: Sao Paulo, Brazil
|
fjb_saper wrote: |
The biggest difference between fail and catch terminal is in the transaction handling.
When the catch terminal is called you are still within the same transaction and all actions up to this point can still be committed.
When the fail terminal of the input node is called the transaction has been rolled back.
This is the reason most of the catch branches end with a throw node. |
I got it. Thanks for replying.  |
|
Back to top |
|
 |
|