camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lekkie <>
Subject Passing Headers/Properties between (NMR) endpoints
Date Mon, 01 Mar 2010 08:55:56 GMT

Hi guys,

I 'd like to pass an header in between two NMR endpoints.

Here is my config:

    	<from ref="restURL" />
    	<setOutHeader headerName="routeId">
		<setProperty propertyName="routeId">
    	<to uri="nmr:router1"/>  

and here is my router config

		<from uri="nmr:router1"/>		
		<setHeader headerName="routeId">
		<bean ref="router1ProcessorRecipientList" method="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.

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message