Apache ActiveMQ Artemis
High Performance
Flexible Clustering & HA
Multi Protocols Support
7
High Performance
Evaluating persistent, replicated message queues - SoftwareMill
8
High Performance
Journal Implementations: Message Persistence
Java NIO
Linux Asynchronous IO
Memory mapped
Apache ActiveMQ Artemis File Journal (Default) - Apache ActiveMQ Artemis User Manual
9
Flexible Clustering & HA
Clustering
TCP / UDP /
Server-Side Message Load Balancing
Client-Side Load balancing
Message Redistribution
High Availability
Replication
Shared Store
JGroups
10
Clustering
Clusters - Apache ActiveMQ Artemis User Manual
11
High Availability
Replication
High Availability and Failover - Apache ActiveMQ Artemis User Manual
12
High Availability
Shared Store
High Availability and Failover - Apache ActiveMQ Artemis User Manual
13
Multi Protocols Support
AMQP
OpenWire
MQTT
STOMP
HornetQ
HTTP(Tunnel / REST Interface)
14
Getting Started
1. Create a Broker
2. Run the Broker
3. Run Clients(Publisher / Consumer)
15
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