Hi

I assume you get some compilation error message from SpEL that gives
you clue what the problem is.

On Wed, Mar 13, 2013 at 2:04 PM, Gardella juan
<gardellajuanpa...@gmail.com> wrote:
> 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.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cib...@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to