You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Chris Audley <ch...@beacon-cs.com> on 2009/09/10 00:42:57 UTC
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.
RE: Camel Spring DSL and PropertyPlaceholderConfigurer
Posted by Chris Audley <ch...@beacon-cs.com>.
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:chris.audley@beacon-cs.com]
Sent: Wednesday, September 09, 2009 6:43 PM
To: users@camel.apache.org
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.