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 » END FLOW

Post new topic  Reply to topic
 END FLOW « View previous topic :: View next topic » 
Author Message
SOLOHERO
PostPosted: Wed Jun 27, 2007 11:07 pm    Post subject: END FLOW Reply with quote

Centurion

Joined: 01 Feb 2007
Posts: 107

Hi Guys,

Is there any statement for comming out of the flow.

RETURN TRUE; is used to come out of the loop, but how can i come out of the flow.(to end the flow)


Thanks for your Help.
_________________
Thanks
Back to top
View user's profile Send private message Send e-mail
jsware
PostPosted: Wed Jun 27, 2007 11:47 pm    Post subject: Re: END FLOW Reply with quote

Chevalier

Joined: 17 May 2001
Posts: 455

SOLOHERO wrote:
Hi Guys,

Is there any statement for comming out of the flow.

RETURN TRUE; is used to come out of the loop, but how can i come out of the flow.(to end the flow)
There are probably a number of ways. Onces that come to mind are:

Don't wire any "downstream nodes".
Throw a user exception and catch and absorb it off the catch terminal of your input node.

Question: When you say "come out of the flow" do you want any messaging performed committed or rolled back?
_________________
Regards
John
The pain of low quaility far outlasts the joy of low price.
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Thu Jun 28, 2007 12:02 am    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi SOLOHERO,

Put a RETURN FALSE, nothing will come out, flow will end there itself

Regards.
Back to top
View user's profile Send private message Send e-mail
jbanoop
PostPosted: Thu Jun 28, 2007 7:27 am    Post subject: Reply with quote

Chevalier

Joined: 17 Sep 2005
Posts: 401
Location: SC

...and all operations performed by the flow till then would be committed.
Back to top
View user's profile Send private message Yahoo Messenger
SOLOHERO
PostPosted: Thu Jun 28, 2007 9:44 pm    Post subject: Thanks Reply with quote

Centurion

Joined: 01 Feb 2007
Posts: 107

Thanks guys,

i got the solution. i end up doing

PROPAGATE TO TERMINAL 'out1';
_________________
Thanks
Back to top
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Fri Jun 29, 2007 2:53 am    Post subject: Re: Thanks Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

SOLOHERO wrote:
Thanks guys,

i got the solution. i end up doing

PROPAGATE TO TERMINAL 'out1';

That only works if out1 is not wired to anything...
If you want to end the flow regardless of the wiring of the node, just a return false from inside the node should do it...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
jsware
PostPosted: Fri Jun 29, 2007 4:23 am    Post subject: Re: Thanks Reply with quote

Chevalier

Joined: 17 May 2001
Posts: 455

fjb_saper wrote:
That only works if out1 is not wired to anything...
If you want to end the flow regardless of the wiring of the node, just a return false from inside the node should do it...
I knew that and missed the obvious.
_________________
Regards
John
The pain of low quaility far outlasts the joy of low price.
Back to top
View user's profile Send private message
WBI_user
PostPosted: Fri Jun 29, 2007 5:38 am    Post subject: Reply with quote

Partisan

Joined: 07 Aug 2001
Posts: 386

Will "return false" result in a commit or roll back of the flow ? ( for example if you have updated the DB in a compute node inside the flow)
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Fri Jun 29, 2007 7:30 am    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi WBI_user,

Yes it is committed.

Regards.
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 » END FLOW
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.