I found the FAQ with a work around

http://camel.apache.org/how-do-i-use-spring-property-placeholder-with-ca
mel-xml.html 

-----Original Message-----
From: Chris Audley [mailto:[email protected]] 
Sent: Wednesday, September 09, 2009 6:43 PM
To: [email protected]
Subject: Camel Spring DSL and PropertyPlaceholderConfigurer

I'm defining routes in a Spring file and I'm trying to construct routes
with configurable endpoint names, only it doesn't seem to be working.
I'll have something like

 <from uri="jms:queue:${basename}.target"/>

But when I look at my ActiveMQ admin console, I see the camel context
connected to "${basename}.target".  Why isn't the placeholder getting
replaced?  I use the same ${basename} property elsewhere in the Spring
configuration without a problem.

Reply via email to