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 » Beginner - Exception terminal and Fail terminal

Post new topic  Reply to topic
 Beginner - Exception terminal and Fail terminal « View previous topic :: View next topic » 
Author Message
saviobarr
PostPosted: Tue Dec 30, 2014 2:36 am    Post subject: Beginner - Exception terminal and Fail terminal Reply with quote

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
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Tue Dec 30, 2014 4:19 am    Post subject: Re: Beginner - Exception terminal and Fail terminal Reply with quote

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
View user's profile Send private message Send e-mail
saviobarr
PostPosted: Tue Dec 30, 2014 4:29 am    Post subject: Re: Beginner - Exception terminal and Fail terminal Reply with quote

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
View user's profile Send private message Send e-mail
smdavies99
PostPosted: Tue Dec 30, 2014 4:33 am    Post subject: Reply with quote

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
View user's profile Send private message
saviobarr
PostPosted: Tue Dec 30, 2014 4:37 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
saviobarr
PostPosted: Tue Dec 30, 2014 4:50 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Tue Dec 30, 2014 6:06 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
smdavies99
PostPosted: Tue Dec 30, 2014 11:23 am    Post subject: Reply with quote

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
View user's profile Send private message
saviobarr
PostPosted: Tue Dec 30, 2014 3:32 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Beginner - Exception terminal and Fail terminal
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.