If you create a new Message you can use the copyFrom(message) to do this job.

Willem

Mark Webb wrote:
I think I figured it out.  I have a processor in which I am creating a
new message to pass along.  I need to set the headers in the new
message with the headers from the old message.  Is that the proper way
to copy over message properties?



On Wed, Aug 25, 2010 at 4:41 PM, Mark Webb <[email protected]> wrote:
I am sending data through ActiveMQ and Camel.  I set a property value
in the TextMessage object prior to sending to ActiveMQ.  The property
value I sent prior to sending to ActiveMQ is gone when I receive the
message on the other side.  How can I prevent this from happening?



Reply via email to