> Do you know if XPath test is possible with the SE EIP using the wire-tap pattern ?
> The need is simply to log the call of a method of a service and only this method.
No, this pattern does not support this use case alone.
To achieve it, you would need to:
Either use an interceptor.
Combine the wire-tap with a router EIP.
Petals interceptors imply Java coding and follow the JBI specification.
That's not convenient at all. IMO, Petals should define a second interception mechanism, in addition to the standard one, and that would be easier to use.
The use of two EIPs (with the router) is the most coherent approach (EIPs are intended to be used in chains).
With the EIP component 2.5, it is possible to route according to the invoked operation.
So, your chain would look like:
1. : Router EIP ( test = operation, described by WSDL 1 )
2.a : ( invoked operation = right one ) => Wire-Tap EIP
2.b : Invoke the target service ( described by WSDL 1 )
3.a : Invoke the target service ( described by WSDL 1 ) and the monitoring service