camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Castyn <eric.ben...@gmail.com>
Subject Persistent Header
Date Tue, 29 Nov 2011 22:25:09 GMT
I have a route which hits an active MQ point external to my system and
outside of my control.  I've tried creating a header before the queue, and
then capturing it afterwards but the queue I am hitting (actually another
instance of Servicemix with activeMQ) does not persist it along with the
message and eventually the response.  Is there a way for me to persist a
piece of data quickly and easily that I can set before the external queue
component and then retrieve afterwards?

Example of what I am doing:


<setHeader headerName="theCode">
        <constant>ABCDE</constant>
</setHeader>
<inOut uri="activemqhcm:queue:JMS/EXT.ESB.REQ"/>  
<setBody>
       <simple>${headers.theCode}</simple>
</setBody>
<to uri="file:data?fileName=test.xml"/>



--
View this message in context: http://camel.465427.n5.nabble.com/Persistent-Header-tp5033912p5033912.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message