camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From contactreji <>
Subject Camel CBR using OGNL
Date Thu, 04 Dec 2014 08:58:17 GMT

I am receiving data into CXF endpoint using dataFormat=POJO.

I want to do some routing based on the value of object member. Suppose i get
the object of class Order which as a member called currency, how can i write
CBR to route this based on the currency.

I am wondering if something like following can be written. If so whats the
syntax. On internet, the CBR documentation contains examples with Xpath

					<simple>${body.currency}</simple> = 'bar'
					<to uri="direct:b" />
					<to uri="direct:d" />


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

View raw message