Try:

from(a).wiretap(cxf:bean)*.to(b)*

fwik, the wiretap is a middle point before sending to another endpoint.

---
Thank You…

Mick Knutson, President

BASE Logic, Inc.
Enterprise Architecture, Design, Mentoring & Agile Consulting
p. (866) BLiNC-411: (254-6241-1)
f. (415) 685-4233

Website: http://baselogic.com
Linked IN: http://linkedin.com/in/mickknutson
Vacation Rental: http://tahoe.baselogic.com
---



On Thu, Sep 10, 2009 at 1:04 PM, HariKrishnan <harikrishna...@gmail.com>wrote:

>
> Hey,
>
> We are using CXF bean to act as a RESTful endpoint.
> It seems to work fine when we configure the route as shown below. We post
> an
> xml to the url and that gets unmarshalled and sent to the CXF bean.
>
> from(url).to(cxf:bean)
>
> But when we use a wiretap component, there is a "Premature end of file
> exception".
>
> from(a).to(b).wiretap(cxf:bean)
>
> We tried setting the setStreamingCache to true, but that was of no avail.
>
> Please let us know if we are missing something here.
>
> Thanks,
> HariKrishnan
>
>
> --
> View this message in context:
> http://www.nabble.com/Premature-End-of-File-Exception-in-Camel-wiretap-tp25387224p25387224.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>

Reply via email to