On Fri, Sep 23, 2011 at 12:51 AM, samslara <samsl...@yahoo.com> wrote: > Ah you're right. But when I do the following at some point after invoking a > service with HttpComponent: > > exchange.getIn().getBody(String.class); > > it returns a String ok, which is the response of the service. But if I > instead do: > > exchange.getIn().copy().getBody(String.class); > > this returns null. Why is that? >
The source stream seems not being able to be copied. > -- > View this message in context: > http://camel.465427.n5.nabble.com/Message-copy-not-exactly-a-copy-tp4828478p4831804.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Claus Ibsen ----------------- FuseSource Email: cib...@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/