[jboss-dev-forums] [JBoss ESB Development] - Parallel execution of jBOSS ESB project when it called by jBPM process instances

Arunava Basu do-not-reply at jboss.com
Mon Jun 18 03:06:14 EDT 2012


Arunava Basu [https://community.jboss.org/people/arunava.basu] created the discussion

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

To view the discussion, visit: https://community.jboss.org/message/742247#742247

--------------------------------------------------------------
*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
[https://community.jboss.org/message/742247#742247]

Start a new discussion in JBoss ESB Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2032]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120618/4378c573/attachment.html 


More information about the jboss-dev-forums mailing list