Thanks for the reply, Alex. I have one more question wrt the EventContext object available thru the BpelEvent object. When I intercept a "ProcessCompletionEvent"/"ProcessTerminationEvent" event, I want to get the value of a particular "variable" (declared in the ROOT SCOPE of the bpel process) from the process instance, but at this point the eventContext is returned null. How can I fetch the variable's value in the onEvent() method now?
Thanks, -Kodeninja Alex Boisvert-3 wrote: > > No, BpelEventListeners get all the events. However, all ProcessEvents and > ProcessInstanceEvents provide you with the process identifier and the > instance identifier, respectively, so you can do your own filtering. > > alex > > > On Wed, Jul 15, 2009 at 2:20 AM, kodeninja <[email protected]> > wrote: > >> >> Hi, >> >> Suppose I have 3 BPEL processes (P1, P2 & P3) deployed in ODE. Now, using >> the ODE event listener API, is it possible to receive events only for >> say, >> P1? Or is it possible inside the event listener to somehow check which >> process instance it is that has caused the onEvent() to be fired and then >> act accordingly? >> >> Thanks, >> -Kodeninja >> -- >> View this message in context: >> http://www.nabble.com/How-to-filter-events-only-for-a-particular-BPEL-process--tp24494505p24494505.html >> Sent from the Apache Ode User mailing list archive at Nabble.com. >> >> > > -- View this message in context: http://www.nabble.com/How-to-filter-events-only-for-a-particular-BPEL-process--tp24494505p24512475.html Sent from the Apache Ode User mailing list archive at Nabble.com.
