[jboss-user] [jBPM] - Re: How to set UserGroupCallback for Human Task Service client
Maciej Swiderski
do-not-reply at jboss.com
Mon Jul 9 07:33:47 EDT 2012
Maciej Swiderski [https://community.jboss.org/people/swiderski.maciej] created the discussion
"Re: How to set UserGroupCallback for Human Task Service client"
To view the discussion, visit: https://community.jboss.org/message/746911#746911
--------------------------------------------------------------
there is no need to inform task client about the callback implementation. It is only relevant to the task service side. Not sure how do you use task service but there are several ways of doing that:
* using web application - from 5.3 there is a human task web application that exposes ht features of hornetq by default, it is configurable via web.xml and its init parameters
* programatically - UserGroupCallbackManager is responsible for callback registration
* using system properties - use -Djbpm.usergroup.callback=[your custom callback class name] - note that your class must have default constructor
* using property file - use simple property file that will hold a single line (or more depending on callback implementation) to bootstrap it when callback manager is initiated * file name: jbpm.usergroup.callback.properties
* property name: jbpm.usergroup.callback=your custom class name
* location: org/jbpm/task/identity/ on your classpath
HTH
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/746911#746911]
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/20120709/2d5937b1/attachment-0001.html
More information about the jboss-user
mailing list