String str =
exchange.getUnitOfWork().getOriginalInMessage().getBody(String.class);

I have a simple route from().to() route and I try putting a processor in the
middle to read the original in message but I always just get null from it,
what could be wrong?

Can't find a lot of info on the Unit Of Work concept.
-- 
View this message in context: 
http://old.nabble.com/getUnitOfWork-not-working--tp28082473p28082473.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to