[jboss-user] [jBPM] - Re: Continue process Instance
Shiju John
do-not-reply at jboss.com
Mon Jul 16 03:43:14 EDT 2012
Shiju John [https://community.jboss.org/people/shijuj] created the discussion
"Re: Continue process Instance"
To view the discussion, visit: https://community.jboss.org/message/748192#748192
--------------------------------------------------------------
For human task serveice you should start the human task server before you register the handler.
Folowing is the code for starting the Mina Task server.
EntityManagerFactory emfTask = Persistence.+createEntityManagerFactory+("org.jbpm.task");
TaskService taskService = **new** TaskService(emfTask,SystemEventListenerFactory.+getSystemEventListener+());
TaskServiceSession taskSession = taskService.createSession();
MinaTaskServer +minaTaskServer+ = **new**MinaTaskServer(taskService,9123);
Thread thread = n**ew** Thread(+minaTaskServer+ ));
thread.start();
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/748192#748192]
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/20120716/850ca94d/attachment.html
More information about the jboss-user
mailing list