-
1. Re: jBPM sendTask and ReceiveTask
kishorejaladi Apr 25, 2012 11:09 AM (in response to pushpak1981)Hi pushpak1981,
Have you got any further with this question? I am looking for something similar. There is not much documentation on send task and receive task .. and how they can be used. Are you able to find any examples on those, exccept for the ones that just does system.out.printlns?
-
2. Re: jBPM sendTask and ReceiveTask
swiderski.maciej Apr 25, 2012 11:47 AM (in response to kishorejaladi)Send and receive tasks are implemented as work items so they must have corresponding work item handler. These handlers that you refer to are just for demonstration purpose as sending and receiving message are transport dependent. Due to that currently there are no out of the box handlers for them yet.
HTH
-
3. Re: jBPM sendTask and ReceiveTask
kishorejaladi Apr 26, 2012 10:02 AM (in response to swiderski.maciej)Thanks.
Does that mean all the BPMN2 Task Activities/elements - Task, Service Task, User Task, Business Rule Task, Manual Task, Send Task, Receive Task etc.- that JBPM5's documentation says it supports technically all equivalent to Task activity/element?...where we have a WorkItemHandler and the implementer have to take care of the core behavior of the task type (like asynchronous message sending, receiving etc.)? I mean, is there a different in using task element versus sendTask or receiveTask element in the BPMN file for sending and receiving messages? Is there any documentation on what each of these tasks mean and how they are different?
-
4. Re: jBPM sendTask and ReceiveTask
swiderski.maciej Apr 27, 2012 1:57 AM (in response to kishorejaladi)Idea is to allow flexible configuration to have a choice of what you would like to use if it comes to various types of activities. Not all of them are work items and abstract task is considered as extension point for domain specific services. jBPM will provide more and more work item handlers that could make your choice easier by just selecting one instead of implementing but that takes time and contribution is always welcome
For documentation about them take a look at jBPM docs and BPMN2 spec.
HTH