Create a Broker
$ ${ARTEMIS_HOME}/bin/artemis create mybroker
[... some interactions e.g. username, password ...]
done! Your system can make 0.5 writes per millisecond, your journ
You can now start the broker by executing:
"/path/to/artemis/mybroker/bin/artemis" run
Or you can run the broker in the background using:
"/path/to/artemis/mybroker/bin/artemis-service" start
16
Setup the Broker
Edit mybroker/etc/broker.xml.
Apache ActiveMQ Artemis User Manual
<acceptors>
<acceptor name="artemis">
tcp://0.0.0.0:61616?protocols=CORE,AMQP,STOMP,...
</acceptor>
</acceptors>
<addresses>
<address name="exampleQueue">
<anycast>
<queue name="exampleQueue"/>
</anycast>
</address>
</addresses>
Configuring the Transport
Apache ActiveMQ Artemis Addressing and Queues
17