camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mta38 <mtaraud....@orange-ftgroup.com>
Subject Write routing condition in xml config file
Date Wed, 04 Feb 2009 10:39:03 GMT

Hi all,
Is someone can say me how to test a header exchange value in a xml config
file.
For example, if the header TEST exists in my " IN "message and its value is
10, I want to do the following:

<route>
	<from uri="…"
	<choice>
		<when>
			In.header.TEST==10
			<to uri="…"/>
		</when>

		…
	</choice>

</route>
Any help are welcome,

Best regards

Mta38

-- 
View this message in context: http://www.nabble.com/Write-routing-condition-in-xml-config-file-tp21828008s22882p21828008.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message