-
1. Re: Syncrhonous BPM exposed via Web Service through ESB
kconner Nov 24, 2008 4:53 AM (in response to kw_richards)You could take a look at http://www.jboss.org/community/docs/DOC-9105
-
2. Re: Syncrhonous BPM exposed via Web Service through ESB
kw_richards Nov 24, 2008 2:41 PM (in response to kw_richards)Thanks, that helped quite a bit.
Unfortunately it didn't cover jBPM integration.
So my next question is how can I invoke jBPM synchronously.
Or rather if I have the following actions in my service<actions> <action class="org.jboss.soa.esb.services.jbpm.actions.BpmProcessor" name="startOrchestration"> ... </action> <action name="More" class="do.more.Stuff"/> </actions>
I only want the "More" action to execute once the process is finished.
Currently as soon as the jBPM is invoked (and before it finishes) the next action (More) is invoked -
3. Re: Syncrhonous BPM exposed via Web Service through ESB
kconner Nov 25, 2008 6:46 AM (in response to kw_richards)That article covers the concepts of handling synchronous behaviour through asynchronous mechanisms, and jBPM is a simple extension of this.
Our test cases show an example of this behaviour, the jboss-esb.xml and process definition being located at the following URLs.
http://anonsvn.jboss.org/repos/labs/labs/jbossesb/trunk/qa/junit/resources/server/jbpmReply/META-INF/jboss-esb.xml
http://anonsvn.jboss.org/repos/labs/labs/jbossesb/trunk/qa/junit/resources/server/jbpmReply/jbpmReplyTest.xml
This should also be covered in the current docs but please let us know if you cannot find anything. -
4. Re: Syncrhonous BPM exposed via Web Service through ESB
kconner Nov 25, 2008 6:48 AM (in response to kw_richards)"kw_richards" wrote:
I only want the "More" action to execute once the process is finished.
Currently as soon as the jBPM is invoked (and before it finishes) the next action (More) is invoked
You need to combine the techniques shown in the previous article with the configuration I have just posted. Break your service into two and specify the second part as the continuation of the first.