I think all you are wanting to do is save the file record (body) to your own header called, say, filebody, then you can restore filebody header to the exchange body at the end for the out. In the meantime you can do the enrich with the setBody to some data from header.filebody
In summary, your own headers are very useful to save intermediary values during routes. You should be aware that the propagate through to other routes that take the exchange as an input (e.g. a wire tap) so you might want to delete them before you send on the exchange. O. -- View this message in context: http://camel.465427.n5.nabble.com/Enrich-headers-of-message-tp5789717p5789721.html Sent from the Camel - Users mailing list archive at Nabble.com.