JBoss Community

Re: (HumanTask) Persistent knowledge session that connects to JMSTaskServer

created by Mauricio Salatino in jBPM - View the full discussion

I'm not sure to fully understand you. Downloading the java file that you attached it contains the following line:

processSession.getWorkItemManager().registerWorkItemHandler("Human Task", new LocalHumanTaskHandler(taskService));

 

If you do that you don't need the JMS Task server becuase you are using the local implementation.

If you start a JMS Task Server you should use the appropriate handler that will be connected with that server.

Please take a look at the jbpm-human-task module that contains several test that shows you which handler to use depending the underlaying transport implementation.

 

Cheers

Reply to this message by going to Community

Start a new discussion in jBPM at Community