[jboss-user] [jBPM] - How to recognize when async-node is finished?

Johannes Krämer do-not-reply at jboss.com
Tue Jun 22 05:35:27 EDT 2010


Johannes Krämer [http://community.jboss.org/people/johannesk] replied to the discussion

"How to recognize when async-node is finished?"

To view the discussion, visit: http://community.jboss.org/message/549074#549074

--------------------------------------------------------------
The solution with a Synchronization object works like a charme. The async node now takes the JbpmContext from the ExecutionContext, then the Session and finally the hibernate Transaction to register a new Synchronization which performs a monitor.notifyAll() in afterCompletion(int).
I've attached the modified version of the original test project in case someone wants to have a look at it.

Thanks a lot for your answer!

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/549074#549074]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100622/2ee357fb/attachment.html 


More information about the jboss-user mailing list