You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by lekkie <le...@gmail.com> on 2010/02/15 09:18:34 UTC

passing variables to camel

I was just wondering if its possible to pass a variable to a camel route?

e.g.
<route>
	<from uri="${myjmsqueue}"/>
</route>

where ${myjmsqueue} is a variable defined may be in a properties file.

Is this possible?


-- 
View this message in context: http://old.nabble.com/passing-variables-to-camel-tp27590613p27590613.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: passing variables to camel

Posted by Claus Ibsen <cl...@gmail.com>.
On Mon, Feb 15, 2010 at 9:18 AM, lekkie <le...@gmail.com> wrote:
>
> I was just wondering if its possible to pass a variable to a camel route?
>
> e.g.
> <route>
>        <from uri="${myjmsqueue}"/>
> </route>
>
> where ${myjmsqueue} is a variable defined may be in a properties file.
>
> Is this possible?
>

See this blog entry
http://davsclaus.blogspot.com/2010/02/property-placeholder-galore-in-apache.html


>
> --
> View this message in context: http://old.nabble.com/passing-variables-to-camel-tp27590613p27590613.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>



-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus