Integrate ActiveMQ in jboss
This http://activemq.apache.org/integrating-apache-activemq-with-jboss.html shows how that is done.
The quickstart build process copies the 3 configuration files out of the bedework configuration directory into the deployed activemq module.
The 3 files are
Contents at broker-config.xml
Some specific points about the file:
Without the section
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> </bean>
JVM system properties do not get replaced.
There was still a problem in that something was getting created in the bin directory.
It turns out that activeMQ builds paths with a name "activemq-data" in them and prefixes that with the value of the system property
If that is not set data will end up in the current directory. It may be possible to set this from the configuration of active mq.
It can be set in the startup script for jboss or do this
./run.sh -c default -Djboss.server.log.threshold=DEBUG -Dorg.apache.activemq.default.directory.prefix=/home/douglm/bedeworkqs/quickstart/jboss-5.1.0.GA/server/default/data/
In addition, deleted log4j* stuff from the rar. Probable we can prune even further. Also removed