I have been struggling trying to get this to work using various syntax.

        <bean id="jms" class="org.apache.camel.component.jms.JmsComponent">
                <property name="connectionFactory">
                        <bean 
class="org.apache.activemq.ActiveMQConnectionFactory"> 
                                <property name="brokerURL" 
value="vm://apiServiceBroker" />
                        </bean>
                </property>
        </bean> 

        <amq:broker brokerName="apiServiceBroker"
dataDirectory="${env:AMQ_DATA_DIR}">
                <amq:transportConnectors>
                        <amq:transportConnector uri="tcp://localhost:61616"/>
                </amq:transportConnectors>
         </amq:broker>  

Is using a replacement property going to work for the broker dataDirectory
in Camel Spring DSL?  It is getting interpreted as a literal


16:11:29,945 INFO  [KahaStore] Kaha Store using data directory
${env:AMQ_DATA_DIR}/apiServiceBroker/tmp_storage

Thanks for any help that can be supplied.

MJ


--
View this message in context: 
http://camel.465427.n5.nabble.com/using-property-for-broker-dataDirectory-tp5616593p5616593.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to