You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by davidrobert <da...@gmail.com> on 2014/01/10 13:22:39 UTC

Support for Spring SPEL

Does Camel support SPEL in it's configuration? For instance, could you
resolve a reference a Spring bean, or to a specific Topic or Queue, using
SPEL?
Thanks



--
View this message in context: http://camel.465427.n5.nabble.com/Support-for-Spring-SPEL-tp5745829.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Support for Spring SPEL

Posted by Henryk Konsek <he...@gmail.com>.
Hi Dave,

> Does Camel support SPEL in it's configuration?

Can you show us an example of such configuration? I'm not sure how
could it look like :) .

BTW Keep in mind that Camel supports SPEL expressions and predicates [1].

Cheers.

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

-- 
Henryk Konsek
http://henryk-konsek.blogspot.com

Re: Support for Spring SPEL

Posted by Claus Ibsen <cl...@gmail.com>.
On Fri, Jan 10, 2014 at 1:22 PM, davidrobert <da...@gmail.com> wrote:
> Does Camel support SPEL in it's configuration? For instance, could you
> resolve a reference a Spring bean, or to a specific Topic or Queue, using
> SPEL?
> Thanks

What do you mean by "its configuration"?

Do you mean configuring endpoint uris and <bean> stuff in xml files?
If so, then no you cannot.

You can use property placeholders for that.
http://camel.apache.org/using-propertyplaceholder.html

And depending on you use spring or blueprint, then you can use their
placeholder support as well.
Though for spring xml, it may have some spel support in its property
placeholder stuff. But you need to check the spring docs for that.




>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Support-for-Spring-SPEL-tp5745829.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
Make your Camel applications look hawt, try: http://hawt.io