JBoss Community

Re: Parallel execution of jBOSS ESB project when it called by jBPM process instances

created by Arunava Basu in JBoss ESB Development - View the full discussion

The code of calling the ESB

 

 

 

 

#

System.setProperty(

"javax.xml.registry.ConnectionFactoryClass"

,

 

"org.apache.ws.scout.registry.ConnectionFactoryImpl"

);

 

Message message = MessageFactory.getInstance().getMessage();

ServiceInvoker invoker =

new ServiceInvoker("TestCategory","Test"

);

invoker.deliverSync(message, 100);#####

 

 

 

 

If I use,

invoker.deliverAsync(message);





then also the outcome is same.

Reply to this message by going to Community

Start a new discussion in JBoss ESB Development at Community