Apache ActiveMQ 5.8.0 resolves 160 issues, mostly bug fixes and improvements. It has the following new features:
There are some changes in 5.8 that may require some code change
- New modules may effect your maven pom dependencies
activemq-core
has been replaced with activemq-client
and activemq-broker
. The various message stores have their own activemq-xx-store module. The uber module activemq-all
remains. - Changed JMX Mbean ObjectNames will effect scripts or tools that directly reference Mbean names
All mbeans now share the type=Broker attribute, which gives them containment. In this way, consumers hang off of destinations, which hang off the broker.
The different Mbean types are identified by the presence of specific identifiers in their ObjectNames. The mapping from old to new ObjectName is as follows:
Type | Old Name | New Name |
---|
Broker | Type=Broker | type=Broker |
Destination | Type=Queue|Topic,Destination=<destination identifier> | type=Broker,destinationType=Queue|Topic,destinationName=<destination identifier> |
Connector | Type=Connector | type=Broker,connector=clientConnectors |
NetworkConnector | Type=NetworkConnector | type=Broker,connector=networkConnectors |
Connection | Type=Connection | type=Broker,connector=*,connectionViewType=remoteAddress|clientId |
- OSGi integration has changed. The full details are at OSGi Integration. In summary:
- There is a single uber OSGI bundle
- The broker and webconsole are now configured via config admin pid files through an OSGi managed service factory.
- The ActiveMQ binary file
bin/run.jar
has been renamed to bin/activemq.jar
.
Getting the Binary Distributions
Verify the Integrity of Downloads
It is essential that you verify the integrity of the downloaded files using the PGP or MD5 signatures. The PGP signatures can be verified using PGP or GPG. Begin by following these steps:
- Download the KEYS
- Download the asc signature file for the relevant distribution
Verify the signatures using the following commands, depending on your use of PGP or GPG:
$ pgpk -a KEYS
$ pgpv apache-activemq-<version>-bin.tar.gz.asc
or
$ pgp -ka KEYS
$ pgp apache-activemq-<version>-bin.tar.gz.asc
or
$ gpg --import KEYS
$ gpg --verify apache-activemq-<version>-bin.tar.gz.asc
(Where <version> is replaced with the actual version, e.g., 5.1.0, 5.2.0, etc.).
Alternatively, you can verify the MD5 signature on the files. A Unix program called md5
or md5sum
is included in most Linux and Unix distributions. It is also available as part of GNU Textutils. Windows users can utilize any of the following md5 programs:
Getting the Binaries using Maven 2
To use this release in your maven project, the proper dependency configuration that you should use in your Maven POM is:
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-all</artifactId>
<version>5.8.0</version>
</dependency>
Getting the Source Code
Source Distributions
SVN Tag Checkout
svn co http://svn.apache.org/repos/asf/activemq/tags/activemq-5.8.0
Changelog
For a more detailed view of new features and bug fixes, see the release notes
Also see the previous ActiveMQ 5.7.0 Release