ode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tammo van Lessen <tvanles...@gmail.com>
Subject Re: MEX - Message exchange interceptor
Date Mon, 01 Sep 2008 11:15:38 GMT
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
>>>
> 


Mime
View raw message