I had a quick look at the source code and apparently it is already stored on
the exchange, and you can get it from the UnitOfWork.

from("direct:/start")
        .process(new Processor() {
                @Override
                public void process(Exchange exchange) throws Exception {
                        Exchange originalMessage = (Exchange)
exchange.getUnitOfWork().getOriginalInMessage();

                }
        });

I haven't tested this, but you can give it a try.



--
View this message in context: 
http://camel.465427.n5.nabble.com/Need-original-message-at-the-end-of-the-route-tp5734290p5734302.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to