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 » Stopping a Java input node

Post new topic  Reply to topic
 Stopping a Java input node « View previous topic :: View next topic » 
Author Message
peo
PostPosted: Tue Sep 21, 2004 1:24 am    Post subject: Stopping a Java input node Reply with quote

Newbie

Joined: 20 Sep 2004
Posts: 2

Hi folks

I’ve developed a timer node for WBIMB 5.0. It’s implemented as a java input node. It’ designed to use the broker thread to propagate a timer message i.e. it doesn’t create any threads of its own. Every message is executed via the MbInputNode.run method.

The node works fine in all aspects but one, it doesn’t stop when the I stop the broker flow(!) The MbInputnode keeps getting calls to the run method after the flow has been stopped, this seems very strange to me. Does any one know why this is? How do I stop my timer node? Is there a way to read the flow status from a java node?

Cheers

/Peter Bromander.
Back to top
View user's profile Send private message
SixBlade
PostPosted: Tue Oct 19, 2004 5:33 am    Post subject: Reply with quote

Apprentice

Joined: 03 Dec 2003
Posts: 26
Location: UK

Hi,

I'm facing the same problem now, just checking first: have you found a solution yet? I would also appreciate if my run() method was stopped being called when the message flow is stopped(otherwise it's not exactly stopped).
Back to top
View user's profile Send private message
andyho
PostPosted: Tue Oct 19, 2004 9:48 pm    Post subject: Reply with quote

Newbie

Joined: 19 Oct 2004
Posts: 2

From MQExplorer, you can see that even for a stopped msg flow,
the input queue is still open by the msg flow, even if you
are using the standard MQInput Node.

On the other hand, using other Java Input Node, e.g. IA97,
stopping a flow does not stop acquiring msg.
The run method is always being called.

To completely stop your run method,
the only method is to stop the flow, then remove the flow.
Back to top
View user's profile Send private message
SixBlade
PostPosted: Wed Feb 23, 2005 11:35 pm    Post subject: CSD04? Reply with quote

Apprentice

Joined: 03 Dec 2003
Posts: 26
Location: UK

I installed CSD04 for to fix another problem, now it seems like I can stop my javapluginnode-flows as well. I couldn't not find information about this being fixed though, but it seems to work this way. Just a hint.
Back to top
View user's profile Send private message
shra_k
PostPosted: Thu Feb 24, 2005 2:50 am    Post subject: Reply with quote

Apprentice

Joined: 30 Dec 2002
Posts: 37

IA97 does stop acquiring messages when a stop flow is issued from toolkit in FP04
Back to top
View user's profile Send private message
peo
PostPosted: Thu Mar 03, 2005 7:01 am    Post subject: Reply with quote

Newbie

Joined: 20 Sep 2004
Posts: 2

This is a confirmed defect in FP02. The problem is fixed in FP04 and there exsist a supported retrofited iFix for FP02.

/peter
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 » Stopping a Java input 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.