Hi,

https://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/Message.html#getBody(java.lang.Class)
gives the impression that
when called a conversion will be performed on the body.  When I use this
method on a getUnitOfWork().getOriginalInMessage() though it doesn't do
a conversion as there is no exchange set on the message.

Perhaps in the DefaultUnitOfWork constructor the exchange should be set
on originalInMessage for this to work?

Someone else experienced the same issue here -
http://camel.465427.n5.nabble.com/getOriginalMessage-td5748702.html#a5748723

Thanks
Tristan

Reply via email to