New Features in 5.1

In the 5.1.x release of Apache ActiveMQ there are the following new features:

Getting the Binary Distributions

Description Download Link PGP Signature file of download
Windows Distribution apache-activemq-5.1.0-bin.zip (no Safari) apache-activemq-5.1.0-bin.zip.asc
Unix/Linux/Cygwin Distribution apache-activemq-5.1.0-bin.tar.gz (no Safari) apache-activemq-5.1.0-bin.tar.gz.asc
Do not use Safari to download, the above URLs use redirection

The above URLs use the Apache Mirror system to redirect you to a suitable mirror for your download. Some users have experienced issues with some versions of browsers (e.g. some Safari browsers). If the download doesn't seem to work for you from the above URL then try using FireFox

Error When Expanding Tarballs

When expanding the binary tarballs you might wind up experiencing the following:

$ tar zxvf /path/to/apache-activemq-5.1.0-bin.tar.gz
apache-activemq-5.1.0/bin/run.jar
apache-activemq-5.1.0/activemq-all-5.1.0.jar
...
apache-activemq-5.1.0/webapps/fileserver/WEB-INF/web.xml
apache-activemq-5.1.0/webapps/fileserver/WEB-INF/classes/org/apache/activemq/util/FilenameGuardFilter.class
apache-activemq-5.1.0/webapps/fileserver/WEB-INF/classes/org/apache/activemq/util/FilenameGuardFilter$GuardedHttpServletRequest.class
apache-activemq-5.1.0/webapps/fileserver/WEB-INF/classes/org/apache/activemq/util/RestFilter.class
tar: Unexpected EOF in archive
tar: A lone zero block at 61740
tar: Error exit delayed from previous errors

These errors are a product of an open bug in Maven and are innocuous and won't affect anything.

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-core</artifactId>
  <version>5.1.0</version>
</dependency>

Getting the Source Code

Source Distributions

Description Download Link PGP Signature file of download
Source for Windows apache-activemq-5.1.0-src.zip apache-activemq-5.1.0-src.zip.asc
Source for Unix/Linux/Cygwin apache-activemq-5.1.0-src.tar.gz apache-activemq-5.1.0-src.tar.gz.asc

SVN Tag Checkout

svn co http://svn.apache.org/repos/asf/activemq/tags/activemq-5.1.0

Changelog

For a more detailed view of new features and bug fixes, see the release notes

Apache ActiveMQ & Apache ServiceMix (199 issues)
T Key Summary
Improvement AMQ-1707 Make activemq-console jar a osgi bundle so it can be re-used from servicemix 4
Bug AMQ-1697 redelivery policy config failure
Improvement AMQ-1691 Incude linux 64 bit versions of the java sevice wrapper in the ActiveMQ binary distro
Improvement AMQ-1690 QuickJPAStoreRecoveryBrokerTest.testQueueNonPersistentMessagesLostOnRestart sometimes fails, timing issue with broker shutdown
Improvement AMQ-1689 (NIO)DataFileAppender does to many sync or force calls when there is little or no concurrency
Bug AMQ-1686 Small window in wakeup logic for PooledTaskRunner - task can get executed in parallell
Bug AMQ-1685 activemq-admin start does not work on windows.
Bug AMQ-1683 possible dynamic instability in AMQStore indexes
Bug AMQ-1681 Memory leak when creating large numbers of TemporaryQueues (Log4J related)
Improvement AMQ-1677 switch to using the finer grained Spring jars
Bug AMQ-1674 Default Persistence fails / MDBs stop processing in JBoss 4.2.2.GA
Improvement AMQ-1673 Change XML namespace to be based off http://activemq.apache.org/schema
Bug AMQ-1672 Mirror Queues on Temp Queues is causing Memory leak
Bug AMQ-1671 InactivityMonitor issue with regards to exceptions on a connection
Bug AMQ-1670 Element Order in the XSD do not match the order required by ActiveMQ
Bug AMQ-1669 AMQ Journal data files never deleted - exception in consolidateDataFilesNotIn()
Bug AMQ-1667 AMQ message store throws IllegalStateException/IndexOutOfBoundsExceptions (5.1)
Bug AMQ-1666 connection URI options not applied to both sides of VM transport
Test AMQ-1665 SslBrokerTest that verifies the programetic setting of truststore etc and negates the need to use javax.net.ssl. system props
Improvement AMQ-1664 Example illustrating trasactions
Bug AMQ-1663 Problem in Kaha persistence with file name lengths and collisions during persistence
Bug AMQ-1659 SSL Transport configured in wantClientAuth mode never asks for the client certificate during the SSL Handshake
Bug AMQ-1658 Messages are sometimes skipped when using JDBC master/slave
Bug AMQ-1656 Messages are sometimes skipped when using JDBC master/slave
Bug AMQ-1651 Sending message to deleted TemporaryQueue throws JMSException instead of IllegalDestinationException
Bug AMQ-1650 AmqPersistenceAdapter throws java.io.IOException: Failed to read to journal for: offset
Bug AMQ-1647 PooledTaskRunner fails to shutdown after task throws exception
Improvement AMQ-1646 Change dispatchAsync = true for clients by default
Improvement AMQ-1645 Change default client URL to be failover://tcp://localhost:61616
Bug AMQ-1644 Using NON_PERSISTENT delivery mode increases MemoryPercentageUsed to 100% and block sending
Bug AMQ-1641 Broker Network Deadlocking
Test AMQ-1640 variant of DeadLetterTest with message listener
Bug AMQ-1638 XmlBeanDefinitionStoreException : activemq.xsd URL broken in spring.schemas
Improvement AMQ-1636 the ActiveMQ camel component should default to using a SingleConnectionFactory to avoid creating tons of connections when sending messages in Camel - or support PooledConnectionFactory if enabled
Improvement AMQ-1635 Remove unused references to backport-util-concurrent
Bug AMQ-1633 Temporary destinations not being cleaned up upon delete() when using network of brokers
Bug AMQ-1631 Concurrency Issue in MessageConsumer's deliveredMessages within dispose
Bug AMQ-1629 wildcards don't work in networkconnector excludeDestinations
Bug AMQ-1624 Fileserver webapp wont work out of the box
Bug AMQ-1623 KahaMessageStore does not close or delete files for deleted destinations.
Bug AMQ-1620 compositeTopic changing destination field of original message
Bug AMQ-1618 Improper handling of container restrictions in creation of sessions
Bug AMQ-1616 JMS Compliance - Closing a closed connection should not throw an exception
Bug AMQ-1613 Inactivity monitor blocks trying to close out a Failover transport that is in the middle of send.
Improvement AMQ-1607 Static method to register TransportFactory
Bug AMQ-1603 EOFExceptions and Broken Pipe exceptions everywhere in 5.0 (my services seem to run fine under 4.1 and 4.1.1 and somewhat better in 5.1-SNAPSHOT [if you don't count the queue size problem] which is critical)
Bug AMQ-1602 Missing logging-commons.jar contents in activemq-all-5.0.0.jar
Bug AMQ-1598 Extraneous Thread.dumpStack() method in ProducerEventSource.java
Improvement AMQ-1597 Upgrade to Jettison 1.0
Bug AMQ-1595 java.lang.OutOfMemoryError when restarting a broker that had a durable subscirption that had been sent lots of messages.
Bug AMQ-1592 Inactivity Monitor: org.apache.activemq.transport.InactivityIOException: Channel was inactive for too long
Bug AMQ-1591 When using a JDBC based database locker in an Master/Slave configuration, the lock is not updated.
Bug AMQ-1590 Setting advisory support compromises network of brokers
Improvement AMQ-1587 Improvements/Bug Fixes for LDAP Discovery Mechanism (LDAP Network Connector)
Bug AMQ-1586 Topic throughput drops with the number of consumers
Bug AMQ-1584 ClassLoadingAwareObjectInputStream cannot load primary classes
Bug AMQ-1583 Creating a durable subscriber throws ConcurrentModificationException
Bug AMQ-1581 PooledConnections don't initialize correctly when broker not available (causes problems with Failover)
Bug AMQ-1580 ArrayOutOfBoundsException in ActiveMQInputStream
Bug AMQ-1578 No exposure to the 'idleTimeout' property for ConnectionPool class, which makes it difficult to implement keepAlive semantics on PooledConnections
Bug AMQ-1577 FailoverTransport doesn't shut-down cleanly, complains about underlying transport going down
Bug AMQ-1576 ActiveMQMessageTransformation.copyProperties NullPointerException
Bug AMQ-1575 FailoverTransport with MaxReconnectAttempts set does not recover quickly, when used with ConnectionPooling....
Bug AMQ-1574 FailoverTransport logs routine reconnects at INFO/WARN instead of DEBUG
New Feature AMQ-1572 Add the option for a backup channel that is already connected for the Failover transport
Improvement AMQ-1567 Stomp frame translator improvements
Bug AMQ-1566 Out of order messages can be dispatched out of order for durable topic subscriptions under load
Bug AMQ-1565 Exception String from BrokerFactory has a typo - "Could load " should presumably read "Could not load "
Bug AMQ-1564 Deadlock between VMTransport threads accessing AMQStore
Improvement AMQ-1563 upgrade to Camel 1.3.0 and Spring 2.5.1 or later
Bug AMQ-1562 Queue Pending Message Cursor doesn't adequately release cache when no space left
Improvement AMQ-1561 remove activeio snapshot dependency
Bug AMQ-1560 amqPersistence store grows continuously
Bug AMQ-1559 AMQStore cannot resolve message references for Durable Topic Subscribers
Bug AMQ-1558 wrapper.conf issue so Java Service Wrapper doesn't start on windows
Bug AMQ-1556 Concurrency Issue on MessageConsumer deliveredMessages
Bug AMQ-1553 Queue structure pagedInMessages can hold upto 1000 messages for a long time
Improvement AMQ-1552 add a spring factory bean to make it easy to unify the failover policy across every ActiveMQConnectionFactory instance if the connection URL differs across parts of your application
Bug AMQ-1544 ERROR RecoveryListenerAdapter - Message id xxxxxx could not be recovered from the data store! (when using Spring's DefaultMessageListenerContainer with more than 1 concurrentConsumers to dispatch JMS messages)
Bug AMQ-1542 NetworkConnector parameters are not passed back over a duplex connection
Bug AMQ-1536 Dural-subScriber can not receive message!
Bug AMQ-1535 missing lines in wrapper.conf
Bug AMQ-1533 Can not unsubscribe topic
Bug AMQ-1532 Fix service wrapper problems in linux
Bug AMQ-1531 Visualization page needs updating
Bug AMQ-1528 HasPage overflow results in indexOutOfBoundsException in AMQStore
Bug AMQ-1525 InactivityMonitor incorrectly assumes there isn't activity on a Transport
Bug AMQ-1524 Thread name spelling mistake: "AcitveMQ Connection Worker"
Bug AMQ-1523 Consumer Priorities Appear To Be Broken On AMQ 5.0
Bug AMQ-1522 ActiveMQ 5.0.0 release depends on SNAPSHOT version of xbean
Bug AMQ-1521 Acknowledgement of messages across a duplex network does not work correctly
Bug AMQ-1520 release 5.0.0 depends on SNAPSHOT version of activeio
Bug AMQ-1519 Broker Should be started async to avoid a slave broker from blocking the startup of J2EE server (like JBoss)
Bug AMQ-1518 NetworkConnector is leaking a thread if broker disconnects
New Feature AMQ-1517 Support for more graceful handling of timeouts within MessageProducer.send
Improvement AMQ-1515 Removed use of ClassLoading
Bug AMQ-1511 Slave starts connectors before master fails
Bug AMQ-1510 Incorrect value for QueueCount attribute after broker restart
Bug AMQ-1507 Shared Filesystem Master Slave not working
Improvement AMQ-1506 System.out in source code: org.apache.activemq.ra.ServerSessionPoolImpl
Bug AMQ-1498 Broker doens't start anymore!
Improvement AMQ-1493 Upgrade XStream to 1.2.2
Bug AMQ-1490 Deadlocks (with JUnit tests)
Bug AMQ-1488 Bug in FailoverTransport results in messages that have been queued during a network interruption being sent out of order upon call to restoreTransport()