I tried

                        <setProperty propertyName="theCode">
                                <constant>ABCDE</constant>
                        </setProperty>
                        <to uri="activemq:EXT.REQ"/>

then in the other part of the route in the same context:

                        <from uri="activemq:EXT.REQ"/>
                        <to uri="myProcessor"/>
                        <to 
uri="file:data/hcm?fileName=hotelUpdateRequest.xml"/>

Within the custom processor I have
String theCode = exchange.getProperty("theCode", String.class);
But it is not returning a value.


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

Reply via email to