camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Castyn <eric.ben...@gmail.com>
Subject Re: Persistent Header
Date Wed, 30 Nov 2011 15:16:22 GMT
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.

Mime
View raw message