Here is a join with beanshell that I just created and it looks like it worked.
Please let me know if you see any problems with this script.
count = 0;
if(executionContext.getContextInstance().hasVariable("count",
token))
{
count =
executionContext.getContextInstance().getVariable("count", token);
}
count = count + 1;
if(count == 2)
{
executionContext.leaveNode();
}
else if(count > 2)
{
token.end();
}
executionContext.getContextInstance().setVariable("count",count,token);
Regards,
Barry
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001103#4001103
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4001103
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user