Hi guys,
I 'd like to pass an header in between two NMR endpoints.
Here is my config:
<route>
<from ref="restURL" />
<!--
<setOutHeader headerName="routeId">
<constant>myroute</constant>
</setOutHeader>
-->
<setProperty propertyName="routeId">
<constant>myroute</constant>
</setProperty>
<to uri="nmr:router1"/>
</route>
and here is my router config
<route>
<from uri="nmr:router1"/>
<setHeader headerName="routeId">
<property>routeId</property>
</setHeader>
<bean ref="router1ProcessorRecipientList" method="route"/>
</route>
I read somewhere you cannot propagate headers across endpoints, except
through properties, but the snippet above did not work.
I'd appreciate any insight into how can be properly done.
kr.
--
View this message in context:
http://old.nabble.com/Passing-Headers-Properties-between-%28NMR%29-endpoints-tp27741184p27741184.html
Sent from the Camel - Users mailing list archive at Nabble.com.