camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cmoulliard <cmoulli...@gmail.com>
Subject How to avoid to lost Headers add from messages go/from activemq ?
Date Thu, 10 Jul 2008 12:29:33 GMT

Hi,

How can we avoid to lost headers when messages go to/from a ActiveMq ?

e.g.

from("")
.setHeader("God", myGodIs)
.to("direct:A")

from("direct:A")
.to("bean:doWhatYouWant") --> the key "God" is there
.to("activeMq:queue:myqueue")

from("activeMq:queue:myqueue")
.to("bean:dontDoWhatYouWant") --> the key "God" is lost

Is there a trick to define a header as a global header and can be found from
any endpoint ?

Regards,

Charles
-- 
View this message in context: http://www.nabble.com/How-to-avoid-to-lost-Headers-add-from-messages-go-from-activemq---tp18381854s22882p18381854.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message