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&...]