I'm using Camel 2.12.3 in Karaf 2.3.4.

I have a route that processes XML message. Each incoming XML message will
create three outgoing messages. I use a split() to accomplish this.

I have an error handler for this route that need to access the original XML
message and store that in a "failed" directory. I do this as follows:

          Message originalMessage =
theExchange.getUnitOfWork().getOriginalInMessage();

However, if the error occurs after the split then the above does not return
the "most original" message but the message that was sent into the split
part. How can I access the "most original" message?

/Bengt

Reply via email to