Hi, I'm using camel 2.10.4 and spring 3.2.1.RELEASE versions. If I add this two expressions to my route:
DOESN'T COMPILE: from("direct:example").setBody(spel("Hello #{request.body}! What a beautiful #{request.headers['dayOrNight']}")).to("mock:result"); COMPILE: from("direct:foo").filter().spel("#{request.headers['foo'] == 'bar'}").to("direct:bar"); I have camel-spring in my classpath. The expression that doesn't compile is in the documentation (http://camel.apache.org/spel.html) section Samples -> Expression templating. Why it doesn't compile? Is it a bug? Thanks, Juan -- View this message in context: http://camel.465427.n5.nabble.com/Spel-expressions-don-t-compile-as-says-in-the-documentation-Is-it-a-bug-tp5729097.html Sent from the Camel - Users mailing list archive at Nabble.com.