Andy Yeung [http://community.jboss.org/people/andy.yeung] created the discussion

"Resources Handling on TaskClient in JBPM5"

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

--------------------------------------------------------------
We are currently using the MinaTaskClientConnector within the TaskClient based 
on the example given. I noticed that CommandBasedWSHumanTaskHandler indeed need 
to create  TaskClient by itself. Since TaskClient involves making connection to 
server, I want to ask the following in order to decide how to manage the 
TaskClient instances.

1. Does every TaskClient take up large amount of resources?
2. Is TaskClient thread safe which I can shared among multiple knowledgeSession?
3. I notice that clientConnnector within the TaskClient owned the BaseHandler 
and I notice that everytime CommandBasedWSHumanTaskHandler execute an workitem, 
it register an event handler in the BaseHandler. But it seems won't unregister 
it after use. Does it mean TaskClient is not meant to be shared?
4. I notice that there is a isRemove interface in EventResponseHandler but I 
find that TaskCompletedHandler isRemove always return false. Don't know if 
there is reason behind that.

Anyone has idea on this?
--------------------------------------------------------------

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

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

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to