[jboss-dev-forums] [Design of JBoss jBPM] - Re: XORJoinNode

coolfish007 do-not-reply at jboss.com
Sun Dec 24 22:25:29 EST 2006


good idea! but we can refactory this code:

if (!mergeNode.equals(concurrentToken.getNode()))
            {
                cancelTokenTasks( ctx, concurrentToken );
                concurrentToken.end( false );
            }


to
if (!mergeNode.equals(concurrentToken.getNode()))
            {
               concurrentToken.end( false );
                cancelTokenTasks( ctx, concurrentToken );
             }


because in token.end(),jbpm can set the signalling to false. 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996153#3996153

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996153



More information about the jboss-dev-forums mailing list