Hi,

I've been looking into the new wiretap in Camel 2.x and I have some
questions about it. (Actually using camel in servicemix 4)
I want to use it to tap the response of a request/reply web service so I'm
not at all interested in the request.
1) Will the wiretap "catch" both the request and response and send it to the
tap destination?
2) Is there any way to filter out the responses only? If so, how

E.g. will this work:
      <route>
         <from uri="some_cxf_consumer"/>
         <filter>
            <xpath>/foo:root</xpath>
            <wireTap uri="file:///data/esb/taps"/>
         </filter>        
         <to uri="some_cxf_producer"/>
      </route>
where the XPath resolver to the root of the soap body of my response.

If not how can I accomplish a "wiretap" on the responses of a request/reply
web service.

Thanks,

Danny
-- 
View this message in context: 
http://old.nabble.com/Wiretap-filter-tp27527108p27527108.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to