On Sun, Jan 6, 2013 at 4:04 PM, fab <m...@instilled.org> wrote:
> Hi Clause,
>
> Thanks, that makes sense indeed. I was hoping there was another solution.
>

You could possible use a dynamic to as here
http://camel.apache.org/how-do-i-use-dynamic-uri-in-to.html

And then use SpEL as the expression language to refer to a the constant.

An alternative would be to add support to Camel properties component
to be able to resolve
constant from java classes. As you can do with the spring:util namespace.





> Cheers,
> Fabio
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Referencing-constants-in-a-spring-route-definition-tp5724830p5725008.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