-
1. Re: Parallel execution of jBOSS ESB project when it called by jBPM process instances
arunava.basu Jun 18, 2012 3:07 AM (in response to arunava.basu)The code of calling the ESB
System.setProperty(
"javax.xml.registry.ConnectionFactoryClass",
"org.apache.ws.scout.registry.ConnectionFactoryImpl");
new ServiceInvoker("TestCategory","Test"Message message = MessageFactory.getInstance().getMessage();
ServiceInvoker invoker =
);
invoker.deliverSync(message, 100);
If I use,
invoker.deliverAsync(message);
then also the outcome is same.
-
2. Re: Parallel execution of jBOSS ESB project when it called by jBPM process instances
arunava.basu Jun 18, 2012 3:14 AM (in response to arunava.basu)the jBPM code (when I used NODE instead of ESB node);
<?xml version="1.0" encoding="UTF-8"?>
<process-definition xmlns="urn:jbpm.org:jpdl-3.2"
name="cloudX_AsyncTest_jBPM">
<start-state name="start">
<transition to="node1"></transition>
</start-state>
<node name="node1" async="true">
<action class="com.cloudx.stdlayer.jbpm.common.AsyncTestActionHandler" async="true"></action>
<transition to="end"></transition>
</node>
<end-state name="end">
</end-state>
</process-definition>this code does not call the ESB also. And the process instances were in RUNNING state. When I gave signal to a particular process instance, it executed but nothing happened in ESB. No sysout came.