[jboss-user] [jBPM] - Re: Create Custom Implementation for Human Task WorkItemHandler, Which class I should extend?
Timothy Charman
do-not-reply at jboss.com
Mon Dec 3 05:08:12 EST 2012
Timothy Charman [https://community.jboss.org/people/tcharman] created the discussion
"Re: Create Custom Implementation for Human Task WorkItemHandler, Which class I should extend?"
To view the discussion, visit: https://community.jboss.org/message/779569#779569
--------------------------------------------------------------
Human tasks are added through the default.session.template property file that is baked into console server. You can override this using your own session.template file, which you need to put in an appropriate location (JBoss conf directory I think?).
Human tasks need the knowledge session injected, so they added this functionality. You can add your own human task implementations this way too.
The latest implementation to look at is
AsyncHornetQHTWorkItemHandler or AsyncMinaHTWorkItemHandler. They keep deprecating classes so it is hard to keep up. These use the AsyncGenericHTWorkItemHandler and AbstractHTWorkItemHandler in its type hierarchy. Once you get what they are doing, you can write a similar one that suits your needs.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/779569#779569]
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/20121203/fc708b6e/attachment-0001.html
More information about the jboss-user
mailing list