Hi Karthick, How can I get the id of a new instance using InterceptorEvent object?. I tried ic.getMessageExchangeDAO().getInstance().getInstanceId(). But it didn't work.
Regards, Denis On Thu, Jul 30, 2009 at 10:37 PM, Karthick Sankarachary < [email protected]> wrote: > Hi Denis, > > That's correct. FWIW, that piece of code is not commented out in the > APACHE_ODE_1.X branch. In fact, we rely on that interceptor to monitor and > manage the memory footprint of BPEL processes (see > ODE-561<https://issues.apache.org/jira/browse/ODE-561>). > I'm guessing that fix has not yet been ported to the trunk in its entirety > for some reason. > > Regards, > Karthick Sankarachary > > On 7/30/09, Denis Weerasiri <[email protected]> wrote: > > Hi all, > > In the following class the code related to adding an interception point > to > > an new instance invocation is commented. Is there any reason for that?. > > > > In org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl line-222 > > > > // if (!_process.processInterceptors(mex, > > InterceptorInvoker.__onNewInstanceInvoked)) { > > // __log.debug("Not creating a new instance for mex " + mex + "; > > interceptor prevented!"); > > // return; > > // } > > > > Without this code snippet, I felt it is not possible to invoke a MEX > > interceptor when a new instance invocation. Is it true? > > > > Regards, > > > > Denis Weerasiri. > > >
