Install Motech-compatible ActiveMQ configuration
This commit is contained in:
parent
daa2948e21
commit
2013f05a1f
@ -26,6 +26,8 @@ RUN \
|
||||
# Make start/stop script visible globally
|
||||
&& ln -s /srv/activemq/bin/activemq /usr/local/bin/activemq
|
||||
|
||||
COPY docker/ /
|
||||
|
||||
VOLUME ["/srv/activemq/data"]
|
||||
EXPOSE 61616
|
||||
|
||||
|
25
activemq/docker/srv/activemq/conf/activemq.xml
Normal file
25
activemq/docker/srv/activemq/conf/activemq.xml
Normal file
@ -0,0 +1,25 @@
|
||||
<beans
|
||||
xmlns="http://www.springframework.org/schema/beans"
|
||||
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.xsd
|
||||
http://activemq.apache.org/schema/core http://activemq.apache.org/schema/core/activemq-core.xsd">
|
||||
|
||||
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
|
||||
|
||||
<broker xmlns="http://activemq.apache.org/schema/core"
|
||||
schedulerSupport="true"
|
||||
useJmx="true"
|
||||
brokerName="localhost"
|
||||
dataDirectory="${activemq.data}">
|
||||
|
||||
<persistenceAdapter>
|
||||
<kahaDB directory="${activemq.data}/kahadb"/>
|
||||
</persistenceAdapter>
|
||||
|
||||
<transportConnectors>
|
||||
<transportConnector name="openwire" uri="tcp://0.0.0.0:61616"/>
|
||||
</transportConnectors>
|
||||
|
||||
</broker>
|
||||
|
||||
</beans>
|
Loading…
Reference in New Issue
Block a user