-
1. Re: (HumanTask) Persistent knowledge session that connects to JMSTaskServer
salaboy21 Aug 26, 2011 8:46 PM (in response to a.d.jbpm)Hi Sam,
Are you having troubles with them? what exactly do you want to achieve, what is the problem exactly?
We are working on the emergency services stuff.. and we will be adding persistence soon.
Cheers
-
2. Re: (HumanTask) Persistent knowledge session that connects to JMSTaskServer
a.d.jbpm Aug 26, 2011 10:12 PM (in response to salaboy21)Hi Mauricio,
As the jvm-local human task service is not available, I try to use the JMS task service.
So, I would like to create persistent knowledge session that connect to JMS task server (instead of a Mina server). The creation of JMS Task Server and JMS Task Client works pefectly.
Attached, I put my simple test.
I hope that you have time to have a look on this.
-
3. Re: (HumanTask) Persistent knowledge session that connects to JMSTaskServer
salaboy21 Aug 27, 2011 7:47 AM (in response to a.d.jbpm)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
-
4. Re: (HumanTask) Persistent knowledge session that connects to JMSTaskServer
a.d.jbpm Aug 28, 2011 10:46 AM (in response to salaboy21)Sorry for that, here the right one.
Thanks,
-
JMSTaskServerTest.java.zip 2.1 KB
-
-
5. Re: (HumanTask) Persistent knowledge session that connects to JMSTaskServer
a.d.jbpm Sep 8, 2011 8:06 AM (in response to salaboy21)Hi Mauricio,
Have you found time to look into my example above about JMS Task server?
Thanks
-
6. Re: (HumanTask) Persistent knowledge session that connects to JMSTaskServer
calca Sep 8, 2011 2:58 PM (in response to a.d.jbpm)Hi Sam,
I have made some tests with the JMS task server, you can check this one:
I also put it into tomcat, but I don't have the code right now. This link helped me:
http://wash-inside-out.blogspot.com/2010/08/hornetq-jms-integration-with-tomcat.html
Regards,
Demian
-
7. Re: (HumanTask) Persistent knowledge session that connects to JMSTaskServer
a.d.jbpm Sep 12, 2011 11:55 AM (in response to calca)Hi Demian,
Thanks a lot it helps really.
I am trying to integrate that within my application server. It is really a gap not having a local Task Service without JMS/Mina (I hope having that in next release).
Regards,
Sam