[jboss-user] [jBPM] - Re: CommandBasedWSHumanTaskHandler session, client ???

Mauricio Salatino do-not-reply at jboss.com
Mon Aug 15 09:22:36 EDT 2011

Mauricio Salatino [http://community.jboss.org/people/salaboy21] created the discussion

"Re: CommandBasedWSHumanTaskHandler session, client ???"

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

Hi Gary,
I think that you find the reason why you need to create the handlers and register them each time that. Runtime Handlers are not persisted with the session information, that means that each time that you load the session you need to re-register them in order to be sure that they will work for that runtime session. If you create a new Handler, the session is persisted and another thread or JVM loads the session persistend in the database the handler cannot be shared. 

I'm right now changing the code inside the TaskHandlers to improve it, but as you can see, the handler contains a task client that as soon as its created it tryies to reach a Human Task server. Mina was the first transport supported and now that we support a couple of them + the local implementation this code needs to be changed a little bit. As I mention, I'm working on that now and I hope to get it done for tomorrow.


Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110815/7ea15fa7/attachment.html 

More information about the jboss-user mailing list