Harry,
Committing a transaction inside an action handler like you do is not always bad. The only
thing that you should be aware of is that from a client perspective, you have now really
two transactions. The first transaction will do the business behaviour of your node, the
second will move the token out of the node and continue the graph execution. So you should
take care of the situation where the first transaction succeeds and the second transaction
fails yourself.
Regards,
Koen
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3970625#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...