JBoss Community

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

Dear All,

 

Problem: The process of calling an ESB from jBPM process instances of a jBPM process is synchronous. If many requests call that particular jBPM process then the rest process requests will be in RUNNING state. That means they will be in queue until the older request has been executed.

What I did:

  1. Make the ESB node asynchronous.

Outcome: Execute as a Synchronous process as before.

  1. Call a webservice from an ESB action. It calls a function which doesn’t return anything (i.e. return type is void). The method calls an ESB.

Outcome: Execute as a Synchronous process as before.

  1. Instead of ESB node, I used simple NODE. In that node I define an action handler which calls an ESB.

Outcome: Execute as a Synchronous process as before.

 

I want the ESB project should execute in parallel. I call an ESB project from a JBPM process. when I call that jBPM many times, the process instances is waiting in the queue till the older request has been executed. i want that all the process instances should execute in parallel. For that,the ESB project should be executed in parallel.

 

Thanx in advance.

Reply to this message by going to Community

Start a new discussion in JBoss ESB Development at Community