Petals Starting Guide - day 5 (EIP)

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Petals Starting Guide - day 5 (EIP)

Mathieu Le Breton
Administrator
This post was updated on .
Any question about the day-5 tutorial?
Post it here!

This thread might be empty for some time. But if you are here, it's because we can help.
Please start writing now. We will be more than happy to help.

I want to receive the Petals Starting Guide (for free)
Petals Link
Reply | Threaded
Open this post in threaded view
|

Re: Petals Starting Guide - day 5 (EIP)

Herve
Hello all,

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.

Cheers

Hervé

------------------------
Herv�




-------------------- m2f --------------------

Subscribe/Unsubscribe emails notifications :
http://forum.petalslink.com/m2f_usercp.php

Response to this email will be posted on the Petals forum.
Please delete the existing text before responding :)

Read the topic online:
http://forum.petalslink.com/viewtopic.php?p=31640#31640

-------------------- m2f --------------------





_______________________________________________
Users mailing list
[hidden email]
http://forum-list.petalslink.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Petals Starting Guide - day 5 (EIP)

Vincent Zurczak
In reply to this post by Mathieu Le Breton
Hi,


hgerard wrote:
> 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




-------------------- m2f --------------------

Subscribe/Unsubscribe emails notifications :
http://forum.petalslink.com/m2f_usercp.php

Response to this email will be posted on the Petals forum.
Please delete the existing text before responding :)

Read the topic online:
http://forum.petalslink.com/viewtopic.php?p=31641#31641

-------------------- m2f --------------------




_______________________________________________
Users mailing list
[hidden email]
http://forum-list.petalslink.org/cgi-bin/mailman/listinfo/users
« Petals M.D. »