Hi Sathwick, The invokes are one-way calls. But they are followed by a receive activity to get the asynchronous response from the partner link. I hope that answers your query.
When I execute the process the events are created in series. Only after the response from partner link 1 called in branch1 of a flow is received, the invoke to partner link 2 in branch2 occurs. Invokes for both partner link 1 and partner link2 does not happen in parallel even though they are present in 2 branches within a flow activity. Only after one is completed the other is called. Hence I concluded the same. Please let me know if I am missing anything. I am using ODE 1.3.5. Regards, Vinay -----Original Message----- From: Sathwik B P [mailto:[email protected]] Sent: Tuesday, April 21, 2015 2:53 PM To: [email protected] Subject: Re: Running asynchronous web service calls in parallel activity in apache ode Hi Vinay, How did you come to the conclusion that the flow branch activities are being executed in series? What kind of MEP is your invoke (One-way or Request-Response)? ODE version? regards, sathwik On Mon, Apr 20, 2015 at 5:24 PM, Vinay Vijay <[email protected]> wrote: > Hi, > > In the flow activity of a process if I have one asynchronous web > service call (with an invoke & a receive) per branch, the branches are > executed in series. > > This I have come to know that bpel runs the process in a single > thread. Is there a way to spawn new threads for these invoke calls so > that they become non-blocking? > > Oracle process manager has a property called nonBlockingInvoke which > can be set to true to make such calls in parallel. Is there something > similar in ODE to achieve parallel invokes for asynchronous web service calls? > > Any insight is very much appreciated. > > Regards, > Vinay >
