Author |
Message
|
peo |
Posted: Tue Sep 21, 2004 1:24 am Post subject: Stopping a Java input node |
|
|
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 |
|
 |
SixBlade |
Posted: Tue Oct 19, 2004 5:33 am Post subject: |
|
|
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 |
|
 |
andyho |
Posted: Tue Oct 19, 2004 9:48 pm Post subject: |
|
|
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 |
|
 |
SixBlade |
Posted: Wed Feb 23, 2005 11:35 pm Post subject: CSD04? |
|
|
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 |
|
 |
shra_k |
Posted: Thu Feb 24, 2005 2:50 am Post subject: |
|
|
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 |
|
 |
peo |
Posted: Thu Mar 03, 2005 7:01 am Post subject: |
|
|
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 |
|
 |
|