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, Apache Camel (201 issues)
T Key Summary
Bug AMQ-1863 org.apache.activemq.transport.InactivityIOException: Channel was inactive for too long
Bug AMQ-1789 queue.send() throws ResourceAllocationException without checking usageManager when sendFailIfNoSpace is set
Bug AMQ-1765 Getting IOException with Kaha storage
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
Bug AMQ-1696 Restore the setConnectionFactory() method on the ActiveMQResourceAdapter
Bug AMQ-1695 activeio-core SNAPSHOT version in 5.0.0 release
Improvement AMQ-1694 Upgrade the bundled service wrapper to version 3.2.3
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-1630 Web Admin "ava.lang.IllegalArgumentException: No JMSDestination parameter specified"
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-1538 EOFException on idling listener
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
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()
Bug AMQ-1487 Bug in ActiveMQSession::send() prevents non-persistent messages from being sent sync
Bug AMQ-1483 unsuccessful NetworkConnector connections leak threads
Bug AMQ-1475 deadlock in Usage & Topic
Bug AMQ-1465 Regression with networkConnector 'name' attribute
Bug AMQ-1456 JMS to JMS Bridge property consumerName on InboundTopicBridge element dont work
Bug AMQ-1451 FailoverTransport bad handling of InterruptedException in wait loop.
Bug AMQ-1448 activemq-4.1.1/activemq-perftest/pom.xml has incorrect plugin configuration
Bug AMQ-1446 org.apache.activemq.store.memory.MemoryPersistenceAdapter - Expected an instance of MemoryMessageStore but was: org.apache.activemq.store.memory.MemoryTransactionStore$2@a0f3d1
Bug AMQ-1445 RecoveryListenerAdapter - Message id ID... could not be recovered from the data store!
Bug AMQ-1442 compatibility issue when integrating/embedding with JBossAS
Bug AMQ-1383 org.apache.activemq.transport.InactivityMonitor$1 cannot be cast to edu.emory.mathcs.backport.java.util.concurrent.Delayed
Bug AMQ-1381 Client Certificates do not work due to incorrectly overriden method in SslTransport.java
Bug AMQ-1373 Spelling Mistake
Bug AMQ-1367 Messages received count is wrong in web console
Bug AMQ-1365 Username and password field got swapped when calling PooledConnection.createConnection
Bug AMQ-1363 activemq/conf/log4j.properties does not seem to get recognized
Improvement AMQ-1361 Logging improvement contribution
Bug AMQ-1360 I saw this test failure on a CI build in org.apache.activemq.broker.region.cursors.CursorDurableTest
Improvement AMQ-1358 Make timestamp legible in web interface
Bug AMQ-1357 fails to unmarshal openwire messages
Bug AMQ-1353 Broken URL
Bug AMQ-1351 Multiple consumers on a single queue, each with a transacted session, fails; only one consumer sees messages; also message loss after a few of receiveNoWait/rollback
Bug AMQ-1345 XBean annotation 'resourceAdapter' is specified twice
Bug AMQ-1342 Multicast Discovery Agent can get into a tight loop reconnecting if the network connection fails to get established
Bug AMQ-1338 It is a occurrent problem
Bug AMQ-1333 Broker stops delivering messages to some consumers
Improvement AMQ-1328 Remove the log.error in VMTransport.asyncOneWay
Bug AMQ-1325 No-Durable topic consumer client receive message got out of heap exception
Bug AMQ-1321 Topic default SubscriptionRecoveryPolicy can waste a huge amount of memory
Improvement AMQ-1317 allow the Camel application context to be reloaded independently of the broker, to allow dynamic rule re-loading without rebooting the broker
Bug AMQ-1315 RSS/Atom Feed does not work in the WebConsole
Improvement AMQ-1311 Expose brokerName via BrokerViewMBean
Bug AMQ-1301 Problems with reconnecting broker to network of brokers after broker shutdown
Bug AMQ-1297 Memory leak creating temporary queues
Bug AMQ-1296 Already delivered (and deleted from persistence store) messages are available through JMX queue operations
Bug AMQ-1290 Config error of kahaPersistenceAdapter example in documentation
Bug AMQ-1283 Messages aren't being delivered in a clustered environment
Bug AMQ-1271 Queue size is 0, after starting with messages in persisent storage
Bug AMQ-1255 Advisory queues don't disappear for TEMPORARY queues/topics
Bug AMQ-1254 Kaha Store puts a non-string into System properties
Bug AMQ-1234 Broker fails to dispatch messages
Improvement AMQ-1231 Performance issues with org/apache/activemq/broker/region/PrefetchSubscription.java and org/apache/activemq/store/kahadaptor/KahaTopicMessageStore.java
Bug AMQ-1230 Problem with prefetchExtension in org/apache/activemq/broker/region/TopicSubscription.java
Bug AMQ-1225 activemq-rar's ra.xml is missing several config-property elements
Bug AMQ-1215 ArrayIndexOutOfBoundsException during ServerSessionPoolImpl.getServerSession()
Bug AMQ-1212 Connections on the Broker side are not being properly disposed of when client closes them.
Bug AMQ-1200 XA fails to start when JCA rar re-establishes connectivity with an external broker (tcp transport).
New Feature AMQ-1199 provide a new simple API so end users can view available destinations and query them to find their statistics (such as queue depth etc)
Bug AMQ-1195 Get duplicate message after restart Topic subscriber.
Improvement AMQ-1186 Notify user when listening on unstarted connection
Bug AMQ-1169 java.lang.ClassCastException: org.apache.activemq.command.BrokerId
Bug AMQ-1158 ExceptionListener not notified of connection loss in single broker environment
New Feature AMQ-1157 startup destinations don't work when using a security policy
Improvement AMQ-1143 Need a way to set tcpNoDelay on peer transport TCP network connections
Bug AMQ-1135 Destroying durable subscription, does not entirely destory the durable subsciber
Bug AMQ-1120 Race Condition can result in hang on remoteBrokerNameKnownLatch
Bug AMQ-1116 deadlock when shutting down client that is configured with failover=true and is presently disconnected from broker
Bug AMQ-1103 Prefetch size < 0 should throw an exception somewhere or be defaulted, as messages are not dispatched anymore
Bug AMQ-1083 Heap overflow when durable consumer closes
Bug AMQ-1076 Message lost in network of brokers
Bug AMQ-1044 Failed to register MBean error.
Bug AMQ-1027 Failover transport incorrectly handles prefetched messages
Improvement AMQ-1013 Web console does not escape message details (/activemq-web-console/message.jsp)
Bug AMQ-1009 incorrect DequeueCount
Bug AMQ-1006 RoundRobinDispatchPolicy divides uneven
Bug AMQ-987 suprious exception message when using message streams...
Bug AMQ-967 setting maximumRedeliveries to -1 is equivalent to maximumRedeliveries=0, but doc says otherwise
Bug AMQ-965 Fix example source code
Bug AMQ-955 Failover connection not working with master slave configuration
Improvement AMQ-943 Pluggable Stomp Message Mapping
Improvement AMQ-921 When recovering messages on startup - execution of Store.getMessage is executed as many times as many subscribers to this destination there are
Bug AMQ-905 A single JMS Listener is way too slow
Bug AMQ-900 Inconsistent queue browsing and message dequeueing behaviour
Bug AMQ-885 setUseAsyncSend default value causes bad performance if the client and the server are not on the same machine
Bug AMQ-867 JMX Management Console Not Working As Documented
Bug AMQ-775 MessageAuthorizationPolicy doesn't work
Bug AMQ-765 ActiveMQ RA serialization issue on Glassfish
Bug AMQ-732 Infinite recovery loop.
Wish AMQ-648 Changing the default JMX URL
Task AMQ-631 verify that HttpsTransportBrokerTest won't hang on other environment
Improvement AMQ-545 Provide a way to configure a ForwardingBridge via XML
Test AMQ-540 TEST org.apache.activemq.usecases.TwoBrokerMessageNotSentToRemoteWhenNoConsumerTest FAILED
Test AMQ-475 TEST org.apache.activemq.usecases.ThreeBrokerQueueNetworkTest FAILED
New Feature AMQ-438 MSMQ <-> ActiveMQ Bridge
Wish AMQ-424 Make -Dactivemq.check_for_dtd_update default to "false", don't try network unless "true"
Bug AMQ-400 DTD File Not Found
Improvement AMQ-307 the synchronous receive(timeout) and receiveNoWait() should try to RPC the server if there are no pending messages
Test AMQ-240 Testcase: testDispatch(org.activemq.service.SimpleQueueBrokerTest): FAILED
New Feature AMQ-200 new API to poll for messages without requiring a session and consumer
New Feature AMQ-132 Remotting logging of clients under flow control
New Feature AMQ-122 add support for priority message ordering
Wish AMQ-20 XmlMessage type support

Also see the previous ActiveMQ 5.0.0 Release

Graphic Design By Hiram