[jboss-user] [jBPM] - Re: When does a session closes once a process with human task completes in program?

Kris Verlaenen do-not-reply at jboss.com
Mon Jan 17 21:16:48 EST 2011


Kris Verlaenen [http://community.jboss.org/people/KrisVerlaenen] created the discussion

"Re: When does a session closes once a process with human task completes in program?"

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

--------------------------------------------------------------
Sessions do not terminate automatically as there could be new process instances being started etc.  To terminate a session, call ksession.dispose().  If you want to terminate a session after the process instance has been completed, you could for example register a process event listener that disposes a specific session if the process instance has been completed.

Kris
--------------------------------------------------------------

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

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/20110117/b259bf8d/attachment.html 


More information about the jboss-user mailing list