Try:
.when(simple("${header[CamelFileName]} contains ${header[CamelLoopIndex]}"))

You can find more about the simple language at [1].

[1] http://camel.apache.org/simple.html

Best,
Christian



--
View this message in context: 
http://camel.465427.n5.nabble.com/Accessing-CamelLoopIndex-in-route-tp5730719p5730731.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to