ode-dev mailing list archives

Perfect, so this method is invoked when new service inside bpel is
invoked..right?
Last question, once i've implemented the class that override the method
onPartnerInvoke(..), i have a couple of questionables:
- where i put this class? i have to produce the jar file of the
package?maybe inside lib folder of servicemix or wherever?
- i have also to modify the deploy.xml and add mex-interceptor link.
That's all?now should it work?
thanks very much for your patience,
best regards
Il giorno lun, 01/09/2008 alle 13.15 +0200, Tammo van Lessen ha scritto:
> Giorgio,
>
> I assume that
>
> MessageExchangeInterceptor.onPartnerInvoked(InterceptorEvent ic) throws
> FailMessageExchangeException, FaultMessageExchangeException;
>
> is most likely your friend (from what I see in ODEProcess.java)
>
> Best regards,
> Tammo
>
>
>
> Giorgio M. wrote:
> > Ok i will try to be more clear:
> >
> > figure that i have a BPEL process with two tasks that invokes two
> > external web services: WebService1 and WebService2. I this situation, i
> > want to intercept the WebService1 and WebService2 message invocation!!in
> > practise, i want to do some controls before the WebService1 and
> > WebService2 are invocated and in case that these controls fails raise
> > and exception and stop process execution!!!
> >
> > Could you help me please?
> >
> > thanks very much
> >
> > Il giorno lun, 01/09/2008 alle 10.57 +0200, Tammo van Lessen ha scritto:
> >> Giorgio,
> >>
> >> do you mean the message that instantiates a process instance? Please
> >> have a look at [1] for the interception points and [2] for a example
> >> that intercepts the onNewInstance situation.
> >>
> >> HTH,
> >> Tammo
> >>
> >> [1]http://svn.apache.org/viewvc/ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/intercept/MessageExchangeInterceptor.java?view=markup
> >> [2]http://svn.apache.org/viewvc/ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/intercept/ThrottlingInterceptor.java?view=markup
> >>
> >> Giorgio M. wrote:
> >>> Hi all,
> >>>
> >>> could i use MEX to intercept service invocation messages? i mean, could
> >>> i intercept messages that give start to single services that compose the
> >>> BPEL process??if yes, which messages (that represent the invocation of a
> >>> service) i have to intercept?
> >>>
> >>> thanks a lot
> >>>
> >
>