Install Motech-compatible ActiveMQ configuration

This commit is contained in:
Disassembler 2018-01-23 18:18:02 +01:00
parent daa2948e21
commit 2013f05a1f
No known key found for this signature in database
GPG Key ID: 524BD33A0EE29499
2 changed files with 27 additions and 0 deletions

View File

@ -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

View 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>