Hi Read the JMS wiki page, how Camel maps to/from JMS. And especially about JMS limitations for headers.
On Wed, Nov 30, 2011 at 4:16 PM, Castyn <[email protected]> wrote: > 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: > only body + headers is part of what data JMS send over. > <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. -- Claus Ibsen ----------------- FuseSource Email: [email protected] Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/
