mirror of https://github.com/apache/activemq.git
https://issues.apache.org/activemq/browse/AMQ-3054 - add property placeholder to activemq-jdbc.xml
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1038976 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9d4f30c018
commit
00daefc58e
|
@ -33,7 +33,14 @@
|
|||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
|
||||
http://activemq.apache.org/schema/core http://activemq.apache.org/schema/core/activemq-core.xsd">
|
||||
|
||||
|
||||
<!-- Allows us to use system properties as variables in this configuration file -->
|
||||
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
|
||||
<property name="locations">
|
||||
<value>file:${activemq.base}/conf/credentials.properties</value>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<broker useJmx="false" brokerName="jdbcBroker" xmlns="http://activemq.apache.org/schema/core">
|
||||
<persistenceAdapter>
|
||||
<jdbcPersistenceAdapter dataDirectory="${activemq.base}/data" dataSource="#derby-ds"/>
|
||||
|
|
Loading…
Reference in New Issue