Apache ActiveMQ

from Wikipedia, the free encyclopedia
Apache ActiveMQ

Apache ActiveMQ logo
Basic data

developer Apache Software Foundation
Publishing year March 27, 2006
Current  version 5.15.11
( November 20, 2019 )
operating system Platform independent
programming language Java
category Java Message Service Message Oriented Middleware
License Apache license 2.0
activemq.apache.org

Apache ActiveMQ is a free message broker that fully implements the Java Message Service 1.1 (JMS). Apache ActiveMQ changes the connections of a network between existing applications by converting the synchronous communication between applications to be integrated into asynchronous communication .

Apache ActiveMQ is used by Enterprise Service Bus implementations such as Apache ServiceMix and Mule . Apache ActiveMQ itself in turn includes Apache Camel 2.0 and KahaDb Persistent Storage.

Functionalities

Apart from JMS, it supports protocols such as AMQP 1.0, STOMP and OpenWire and, in addition to Java, also the programming languages ​​of the .NET family , as well as C , Ruby , Perl , Python or PHP .

It includes other features such as B. Clustering and the management of messages and client implementations.

ActiveMQ can be executed directly on a conventional Java Virtual Machine (JVM), the use of an application server is not necessary.

definition

ActiveMQ is known as either a JMS provider or a broker and thus takes on the role of a server . All other applications in the JMS network, however, are referred to as JMS clients.

A broker knows two types of destinations (travel destination, destination) - queue and topic. As soon as the broker has received the first message for this travel destination, the destination and its type are automatically determined in both cases.

Queues have two types of clients - producers and consumers. If a consumer has received a message from a producer, this message is deleted from the queue and is no longer available to the other consumers. A message can therefore only be received (consumed) by a single consumer.

Topics also recognize two types of clients - publisher and subscriber . In this case, however, it is possible for several subscribers to receive the same message.

literature

  • Bruce Snyder, Dejan Bosanac, Rob Davies: ActiveMQ in Action . Ed .: Manning Publications. 1st edition. 2010, ISBN 978-1-933988-94-8 .

Web links

Individual evidence

  1. projects.apache.org . (accessed on April 8, 2020).
  2. github.com . (accessed on February 1, 2020).
  3. Apache NMS project, the .NET Messaging API
  4. Apache ActiveMQ - C Integration
  5. Apache ActiveMQ --Index - Activemq.Apache.org