camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gilday (JIRA)" <>
Subject [jira] Created: (CAMEL-1066) Property replacement has no effect
Date Mon, 10 Nov 2008 10:20:05 GMT
Property replacement has no effect

                 Key: CAMEL-1066
             Project: Apache Camel
          Issue Type: Bug
          Components: camel-spring
    Affects Versions: 1.5.0
            Reporter: Martin Gilday
            Priority: Critical

When using a Spring PropertyPlaceholderConfigurer, properties are not replaced into the Camel
DSL.  A use case for using property substitution is to change the component type used in different
deployments of the same app (such as between SEDA and JMS).  You can then also use the same
config file for testing by replacing JMS endpoints with mock ones.

For example:
<camel:camelContext trace="${traceMode}" useJmx="false">
    <camel:from uri="${queue.incoming}" />
    <camel:to uri="${queue.outgoing}" />

In Camel 1.5 the resulting routes are still named ${queue.incoming} instead of being replaced
 with jms:myQueue etc.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message