[jboss-user] [jBPM] - Re: Using TaskService directly vs Task Server/TaskClient architecture

Mauricio Salatino do-not-reply at jboss.com
Wed Aug 29 03:47:48 EDT 2012


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

"Re: Using TaskService directly vs Task Server/TaskClient architecture"

To view the discussion, visit: https://community.jboss.org/message/756659#756659

--------------------------------------------------------------
Hi,
In master you already have a class called LocalHTWorkItemHandler ->  https://github.com/droolsjbpm/jbpm/blob/master/jbpm-human-task/jbpm-human-task-core/src/main/java/org/jbpm/process/workitem/wsht/LocalHTWorkItemHandler.java https://github.com/droolsjbpm/jbpm/blob/master/jbpm-human-task/jbpm-human-task-core/src/main/java/org/jbpm/process/workitem/wsht/LocalHTWorkItemHandler.java

If you are using 5.3 you don't have this class, but you can copy the one that I've pointed out and use that. Notice that it extends GenericHTWorkItemHandler
Which is the one now used by all the transports.
As a general practice from now on you should use a workitem which inherits from AbstractWorkItemHandler.



Cheers
--------------------------------------------------------------

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

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/20120829/d58f6b19/attachment.html 


More information about the jboss-user mailing list