ActiveMQ Setup

ActiveMQ version 5.7.0 was used for the initial development and testing of the ActiveMqRemoteSender and ActiveMqRemoteReceiver classes, and for testing of the sample applications. Version 5.7.0 requires almost no reconfiguration out of the box, however you should ensure that the connection URI used by the sample applications matches the host and TCP port which the broker listens on (port 61616 by default). This can be configured through the broker's 'activemq.xml' configuration file, in the 'transportConnector' tag...

<transportConnector name="openwire" uri="tcp://0.0.0.0:61616?maximumConnections=1000&amp;wireformat.maxFrameSize=104857600"/>

Additionally you may want to disable persistence in the broker, by modifying the 'broker' tag...

<broker xmlns="http://activemq.apache.org/schema/core" brokerName="localhost" dataDirectory="${activemq.data}" persistent="false">

Persistence causes deleted queues to be re-created when the broker is restarted, which can be a hindrance during development and testing.