Hi  

When the message send to the queue, it will marshaled as a stream.
And you will get a copy of it from the queue, so when you change the original 
message headers, it will effect the message which you already send to queue.

--  
Willem Jiang

Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) 
(English)
          http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem




On Wednesday, December 5, 2012 at 11:39 AM, Mike Stroming wrote:

> Hi all,
>  
> I'm fairly new to Camel, so please forgive the ignorance. I'm not sure if
> this is a good way to design the logic, but let's say I have:
>  
> - set a bunch of header variables
> - route message to queue A
> - set the same header variables to new values
> - route message to queue B
>  
> Will those original values of the header variables get overridden if queue
> B's message gets processed first? Or does each message in each queue have
> it's own set of the header variables?
>  
> Thanks,
> Mike



Reply via email to