camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From samslara <>
Subject Message.copy() not exactly a copy
Date Thu, 22 Sep 2011 00:51:27 GMT
  I currently have a camel route that makes use of HttpComponent.  After
calling a service and getting a String back in the body I tried to do a
Message.copy(), with the Message being from exchange.getIn().  The original
Message body is of type String but the new Message body isn't of type
String, rather it's of type$WrappedInputStream. 
Why doesn't it keep the body a String?

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message