[jboss-user] [jBPM] - Re: Problem with multiple ksessions | event is not getting dispatched to the StatefulKnowledgeSession

Maciej Swiderski do-not-reply at jboss.com
Mon Apr 15 01:59:58 EDT 2013


Maciej Swiderski [https://community.jboss.org/people/swiderski.maciej] created the discussion

"Re: Problem with multiple ksessions | event is not getting dispatched to the StatefulKnowledgeSession"

To view the discussion, visit: https://community.jboss.org/message/808234#808234

--------------------------------------------------------------
Make sure that:
- when registering HT handler you call on it connect, so it will register listeners to receive events from TaskService
- when disposing ksession call dispose on the HT handler to de-register listeners from TaskService

whenever you consider to reload the ksession make sure you dispose the previously active one to avoid duplicated ksession (with same id) being active at the same time.

HTH
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[https://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/20130415/5f45db88/attachment.html 


More information about the jboss-user mailing list