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 » if alt terminal not connected in java compute node

Post new topic  Reply to topic
 if alt terminal not connected in java compute node « View previous topic :: View next topic » 
Author Message
adars1
PostPosted: Fri May 06, 2011 7:42 am    Post subject: if alt terminal not connected in java compute node Reply with quote

Apprentice

Joined: 13 Jun 2010
Posts: 39

Hi,

In Java compute node, Iam using condition to out put .
if(outAssembly!=null) {
out.propagate(outAssembly);
}
else {
alt.propagate(assembly);
}

what happens if I donot connect alt terminal ?. is the flow ends at that terminal for alt condition ?
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri May 06, 2011 8:26 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

The same thing that happens if you RETURN TRUE from a Compute node that has nothing connected to it's out terminal.

Or propagate to an out1 terminal in a compute node if you PROPAGATE to that from ESQL.

Or have an MQInput node that has nothing connect to it's out terminal.
Back to top
View user's profile Send private message
adars1
PostPosted: Fri May 06, 2011 12:35 pm    Post subject: Reply with quote

Apprentice

Joined: 13 Jun 2010
Posts: 39

it does not throw any exception right, if the alt terminal not connected.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Fri May 06, 2011 10:43 pm    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Your message thread drops off a cliff into the deepest darkest back hole you can ever imagine.
_________________
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
mqjeff
PostPosted: Sat May 07, 2011 3:57 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

smdavies99 wrote:
Your message thread drops off a cliff into the deepest darkest back hole you can ever imagine.




The message thread completes processing the current message flow instance and is available to be reallocated to another message flow instance.


That is, the flow instance ends. full stop. successfully.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Sat May 07, 2011 5:48 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.

mqjeff wrote:
smdavies99 wrote:
Your message thread drops off a cliff into the deepest darkest back hole you can ever imagine.




The message thread completes processing the current message flow instance and is available to be reallocated to another message flow instance.


That is, the flow instance ends. full stop. successfully.


Indeed but as far as the user is concerned when you propagate to a unconnected terminal, that is the end. Full stop. Hence my use of the 'black hole' analogy. Then in the background Broker does a whole load of cleanup before the thread can be reused. But all of that should be of no concern to the user.
_________________
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
mqjeff
PostPosted: Sat May 07, 2011 12:49 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

I did not view "black hole" as "completes successfully".

Perhaps it's just because I'm not British.
Back to top
View user's profile Send private message
kimbert
PostPosted: Sat May 07, 2011 2:16 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Non-Britishness is an unfortunate condition, but I don't think it can be blamed for this lapse
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » if alt terminal not connected in java compute node
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.