Hello,
Any feedback on this ? Sorin. On Mon, Mar 21, 2011 at 1:20 PM, Sorin Silaghi <sorin7...@gmail.com> wrote: > Hello, > > I'm working with a custom camel component that doesn't forward > the headers and this breaks my route. I noticed most camel components > do this but I looked at the file component and couldn't tell exactly > where it happens. > > So my question is what's the default behaviour ? If I just > copy all the headers from "in" to "out" is that ok? For the moment I > added the folowing line to the custom processor but I'm not sure if > this is the right way to do it: > > exchange.getOut().setHeaders(exchange.getIn().getHeaders()); > > > thanks, > Sorin. >