Also, leaveNode is not probably what you want. I think the documentation is not clear on your real options are.
You essentially have two types of nodes: ones that automatically transition (fork,join) and ones that do not (state). It is very important to know what each node does. If you signal a node that doesn't need it, you will get some VERY bizarre behaviour. It is also important to know that if you are dealing with a fork, signalling the process is not your best approach, but instead, you signal the appropriate tokens. I have chosen to customize a node to automatically signal based on the response from a subclass method. If the method on the subclass exits normally, it signals. If the method throws an exception, I leave the node in a wait state (no signal). In other words, use signal, but be aware that if you introduce a fork/join, things will get more complicated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3912706#3912706 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3912706 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user