New Features in 5.0

In the 5.0 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.0.0.zip (no Safari) apache-activemq-5.0.0.zip.asc
Unix/Linux/Cygwin Distribution apache-activemq-5.0.0.tar.gz (no Safari) apache-activemq-5.0.0.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

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.0.0</version>
</dependency>

Getting the Source Code

Source Distributions

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

SVN Tag Checkout

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

Changelog

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

Apache ActiveMQ, Apache ServiceMix, Apache Camel (238 issues)
T Key Summary
Bug AMQ-2012 Error While starting AMQ
Task AMQ-1649 Update Software Box graphic to 5.0 on main web-page
Bug AMQ-1512 InactivityMonitor hangs raising an exception
Test AMQ-1504 Bug in MapContainerImpl and DiskIndexLinkedList
Bug AMQ-1503 OutOfMemoryError in ActiveMQ message broker when attempting to publish 2 Million messages - one publisher and four durable subscribes
Bug AMQ-1502 DiskIndexLinkedList incorrectly updates references when IndexItems are removed
Bug AMQ-1501 Persitent Topic Messages will not be deletet if more then one durable subscriber is active on topic
Bug AMQ-1500 Recoverying the Kaha ReferenceStore can delete subscriber state
Bug AMQ-1496 jms.prefetchPolicy in Resource-Adapter!
Bug AMQ-1491 bug in TcpTransport.run() and stop() holds dead connections and prevents reconnects
New Feature AMQ-1486 Allow message logs for AMQStore to ve archived instead of deleted when they are discarded
New Feature AMQ-1485 Enable setting properties for sizing indexes used by the default reference store for AMQStore
Bug AMQ-1479 AMQ Store deletes data files which are in use
Improvement AMQ-1477 Simplify the DiscoveryAgent interface
Bug AMQ-1472 Unable to deliver messages through a mixed version broker network
Bug AMQ-1468 Deadlock between ActiveMQTransport and ActiveMQScheduler
Bug AMQ-1467 Deadlock between FilePendingMessageCursor and MemoryUsage
Bug AMQ-1452 Duplicate messages dispatched when using AMQ Store
Bug AMQ-1449 Producer hangs on durable subscribe as Usage memory runs over
Improvement AMQ-1444 Methods to support dynamic add/remove for connectors through JMX
Improvement AMQ-1440 Allow minAckCount to have std set/get methods
Bug AMQ-1439 FanoutTransport minimum ack connection logic bug
New Feature AMQ-1435 support mirrored queues to make it easier to monitor message flows via a topic (or queue via virtual topics) for things like BAM or monitoring etc
Improvement AMQ-1434 allow the TransportListener to be configured on an ActiveMQConnectionFactory for easier working with Spring JmsTemplate / MessageListenerContainer
New Feature AMQ-1429 Package ActiveMQ as OSGi bundles instead of plain jars
Bug AMQ-1389 Duplicate messages with durable subscribers and perstitent messages
Improvement AMQ-1388 Make NetworkConnectors two-sided
Improvement AMQ-1370 allow a MesageListener to be passed into the createConsumer() method so that the consumer can be created with the correct MessageListener while the connection is started
Bug AMQ-1356 Durable Subscriptions do not work with Wildcards after broker is restarted.
Bug AMQ-1354 Exceptions are dropped by TransactionTemplate
Test AMQ-1349 ReliableReconnectTest is failing due to a NullPointerException
Bug AMQ-1348 StoreTest.testLock() fails due to java.io.IOException: The process cannot access the file because another process has locked a portion of the file on Windows
Bug AMQ-1346 Unexpected IllegalStateException when using the VMPendingQueueMessageStoragePolicy
Bug AMQ-1344 Deadlock can occur when cerating and deleting many destinations concurrently
Bug AMQ-1343 Network conntions not shutdown propertly when a InvalidClientIDException occurs
Improvement AMQ-1341 Improve the InvalidClientIDException message so that we know where the previous connection was established from.
Bug AMQ-1340 Thread gets stuck in a WAIT and never returns
Improvement AMQ-1339 Give the connection dispatcher threads names that are easy to associate with the peer.
Improvement AMQ-1337 Broker should finish accepting connection in an async thread.
Improvement AMQ-1335 Exclusive consumers are now selected up front when the consumer gets registered.
Bug AMQ-1332 CLONE -Broker stops delivering messages to some consumers
Bug AMQ-1323 StompSubscriptionRemoveTest hangs
Improvement AMQ-1318 the apache-activemq.jar currently has millions of dependencies (as the assembly pom.xml has loads of dependencies to make the distribution). We need to split up making the uber-jar into another project
Improvement AMQ-1314 Invalid Command Line Option Handling
New Feature AMQ-1307 add Camel support in the activemq.xml file to show folks how to easily enable camel routes...
Bug AMQ-1306 Remove reference to LogicBlaze from ActiveMQ --version command
Bug AMQ-1305 spelling error
New Feature AMQ-1299 Display the establised Neteowork Connector Bridges via JMX
Bug AMQ-1294 Kaha can't be completely disabled in activemq-5.0
Bug AMQ-1293 Fix FindBugs issues
Bug AMQ-1292 MessageServletSupport does not compile
Bug AMQ-1291 got an exception when running AMQStackOverFlowTest which causes the test suite to hang!
Bug AMQ-1289 Spelling error in examples directory
Bug AMQ-1284 RemoveSubscriptionInfo has incorrect openwire annotation in its header
Bug AMQ-1279 Unused import sun.security.x509.IssuerAlternativeNameExtension prevents using IBM JDK for building ActiveMQ
Bug AMQ-1278 createTemporaryQueue hangs
Bug AMQ-1275 ActiveMQ is not JMS 1.1 compliant regarding supporting foreign messages
Bug AMQ-1274 Service Wrapper Installer does not work when ActiveMQ is installed on path that contains a spaces
Improvement AMQ-1270 Specify destination in responses from MessageListenerServlet
Test AMQ-1269 MessageExpirationTest..testMessagesInLongTransactionExpire() Persistent Message to Queue Regressoin.
Test AMQ-1268 MarshallingBrokerTest.testQueueBrowserWith2Consumers() regression
Bug AMQ-1267 Deadlock on ServerSessionImpl that hangs all connection consumers
Bug AMQ-1266 Topics allways created from the activemq-web module
Bug AMQ-1264 Kaha crashes after database recovery looking for "data--2"
Bug AMQ-1263 JDBC Master/Slave: After database failure, stale db connections are reused in DefaultdatabaseLocker
Bug AMQ-1262 Missing pom.xml
Bug AMQ-1261 IllegalStateException thrown from QueueBrowserServlet
Improvement AMQ-1260 web-console cannot connect to basic-auth JMX
Bug AMQ-1259 Upgrade to xbean 3.0 breaks build
Bug AMQ-1258 Bad quotes on web page
Bug AMQ-1257 Pure Master/Slave configuration doesn't work
Bug AMQ-1256 Publishing to temporary Queues and advisorySupport="false"
Improvement AMQ-1253 AMQ Should Print a Warning (Or Throw an Exception) If Messages Are Received to a Non-Started Connection
Bug AMQ-1251 Broker stops delivering messages to some consumers
Bug AMQ-1250 4.2 Broker memory leak wrt rejected incoming connections
Bug AMQ-1246 Sporatic ArrayOutOfBoundsException with Kaha persistence (in org.apache.activemq.kaha.impl.index.hash.HashPage.addHashEntry)
Bug AMQ-1245 Admin code has a minor bug - blank page in IE
Improvement AMQ-1241 Make WebConsole run as a standalone WAR
Improvement AMQ-1238 start script fails on Debian sarge
Bug AMQ-1236 Failing to acquire exclusive lock - MySQL and other strange errors
Bug AMQ-1235 Scheduler.cancel uses incorrect argument to shutdown threads
Wish AMQ-1232 ActiveMQ bridging - and how to set JMSDestination on a message when sending
Bug AMQ-1229 Thread.currentThread().getContextClassLoader() null in FactoryFinder.newInstance
Improvement AMQ-1227 ActiveMQ web component - proper handling of priority, timeToLive and delivery mode
Bug AMQ-1224 Maven build doesn't fail even when maven plugin fails to start broker
Improvement AMQ-1223 Maven plugin could locate activemq-data directory in target dir
Improvement AMQ-1222 Add option to fork broker from maven plugin
Bug AMQ-1218 activemq-ra pom.xml's xbean plugin missing version
Bug AMQ-1216 oracle jdbc adapter has issues storing messages greater than 64k
New Feature AMQ-1208 XStream message transformer that works in both directions
Sub-task AMQ-1207 Expired Message Listener
New Feature AMQ-1206 allow a broker to be configured using a properties file
Bug AMQ-1205 Memory leak in Scheduler
Improvement AMQ-1204 JDBC Master Slave does not work on Sybase version 12.x
Bug AMQ-1202 4.2 Broker memory leak wrt network connectors
Bug AMQ-1201 Durable topic message delivery to restarted consumer results in messages out of order.
Improvement AMQ-1197 delete message not supported for web console
New Feature AMQ-1194 host the Web Console in the broker when running the 'activemq' script
Improvement AMQ-1193 JDBC master slave support for DB2
Bug AMQ-1189 java.lang.ClassCastException: org.apache.activemq.ActiveMQConnectionConsumer, when trying to publish to a topic
Bug AMQ-1188 Illegal character in hostname error on hosts with underscores in their host names
Improvement AMQ-1181 Avoid Network Deadlocks if possible
Improvement AMQ-1180 RegionBroker synchronization can deadlock when registering destinations
Bug AMQ-1179 Broker Connection Shutdown is prone to lockup/deadlock
Bug AMQ-1178 Connection leak in the PooledConnectionFactory
Bug AMQ-1177 ActiveMQConnection memory leaks
New Feature AMQ-1176 Using temporary destination across a nework of broker not reliable.
New Feature AMQ-1175 Expose connection id of a connection via JMX
Bug AMQ-1173 MulticastDiscoveryAgent heart beast may stop of machine clock jumps around.
Bug AMQ-1172 UsageManager leak when topic consumers are disconnected.
Bug AMQ-1165 RegionBroker resets JMS Timestamp
Bug AMQ-1163 bug in reading temp queue using the tempDestinationAuthorizationEntry feature
Bug AMQ-1162 Non-persistent messages on a Queue expire prior to TimeToLive for small values
Bug AMQ-1161 PooledConnectionFactory / PooledSession generates UnsupportedOperationException when publishing to a topic
Improvement AMQ-1160 provide a way of setting the timeToLive from the point in time the message is received by the broker to avoid clock sync issues
Bug AMQ-1156 option "wireFormat.tcpNoDelayEnabled=true" is ignored
Improvement AMQ-1151 include the activemq-xmpp jar in the binary distro
Bug AMQ-1148 Fast producer, slow consumer hangs after a few messages when using VMPendingSubscriberMessageStoragePolicy
Bug AMQ-1147 Spring AspectJ autoproxying breaks ActiveMQManagedConnectionFactory injection
Bug AMQ-1146 InactivityMonitor: Transport connection disconnected "Channel was inactive for too long."
Bug AMQ-1142 TemporaryQueue communication not working
Bug AMQ-1140 Compression not working
Bug AMQ-1136 Slow consumer causes producer to block on UsageManager.waitForSpace indefinately
Bug AMQ-1134 stomp connections in the broker don't get cleared up if the socket dies
Bug AMQ-1128 create=false for vm://localhost causes Exception
Bug AMQ-1124 activemq-rar-4.1.0-incubator.rar contains spring twice: spring-1.2.4.jar and spring-2.0.jar
Bug AMQ-1122 activem.conf: Use ${activemq.base} instead of ..
Bug AMQ-1121 Kaha DB hangs on restart
Bug AMQ-1119 Deadlock in MutexTransport on shutdown with high volume of messages
Wish AMQ-1117 It would be helpful if some of the log messages that are logged at higher severity levels than they are presently
Bug AMQ-1113 ActiveMQConsumer can catch an error in dispatch but logs it as a warning
Bug AMQ-1110 JMS to JMS Bridge fails with Number format exception on physical name
Bug AMQ-1109 Start Broker SQL Exception
Bug AMQ-1108 Deadlock in PrefetchSubscription
Bug AMQ-1107 Upgrade to xbean 2.8 to fix invalid generated schemas
Bug AMQ-1106 PooledBrokerFactoryBean incorrectly compares broker config resources
Improvement AMQ-1099 HttpClientTransport does not allow configuring http proxy host/port
Bug AMQ-1097 Using a selector provides invalid output
Bug AMQ-1095 Invalid messages selected from durable topic
Bug AMQ-1093 Client deadlock during failover
Bug AMQ-1092 Deadlock when ActiveMQ 4.X is run as an embedded broker inside JBoss 4.X with "<config-property-value>vm://localhost</config-property-value>" configured in the ra.xml file.
Improvement AMQ-1091 add a source distro to the maven2 build
Bug AMQ-1089 Warning when using multicast discoveryUri
Bug AMQ-1088 TransactionContext class cast exception
Improvement AMQ-1084 Allow org.apache.activemq.pool to support XA transactions
Improvement AMQ-1082 Improve Kaha freeList
Bug AMQ-1081 Ack range checking, etc.
Bug AMQ-1080 hasSpace call looks like it may cause messages to be skipped
Bug AMQ-1078 Messages consumed with the Resource Adapter are intermittently not delivered
Bug AMQ-1077 Bug in STOMP transport unsubscribe
New Feature AMQ-1075 support for BlobMessage interface to support in-band and out-of-band file transfer
Improvement AMQ-1074 support JDBC master slave on MySQL
Improvement AMQ-1073 support selectors in virtual destinations to allow a message to be dispatched to multiple phyiscal queues if it matches the selector
Bug AMQ-1072 "TimeToLive" doesn't work on MessageListener
Bug AMQ-1071 Activemq connection factory silently ignores the erroneous arguments in broker url
Bug AMQ-1070 Deadlock in Queue.java
Bug AMQ-1068 DestinationMap seems to use up lots of RAM if using deep hierarchies
Bug AMQ-1067 Stomp consumer not removed if client does not send disconnect message.
Wish AMQ-1064 Transactional Kaha Store
Bug AMQ-1062 Closing consumer does not free server memory, server heap overflows
Bug AMQ-1061 Memory usage jumps > 100% with durable subscription and stays there
Bug AMQ-1057 consumer queue is empty when running requester
Improvement AMQ-1056 Expire messages at the Broker
New Feature AMQ-1055 support for BlobMessage to allow easy transfer of attachments
Bug AMQ-1054 XA recover fails for 4.0.1
New Feature AMQ-1053 allow a MessageTransformer to be registered with a producer or consumer to help transform a message going onto the bus or coming off the bus
New Feature AMQ-1051 be able to interact with the broker via messaging
Bug AMQ-1050 browse -QTopic=* does not seem to return anything...
Bug AMQ-1048 Some tools from Command line not works properly
Improvement AMQ-1046 Consolidate the ActiveMQ admin scripts to a single command line script
Bug AMQ-1039 activemq-web module fails in maven-build with test enabled
Bug AMQ-1038 Incorrect redelivery behavior and counters
Bug AMQ-1036 web-console broken (queue browsing).
Bug AMQ-1029 TransportConnector get duplicated when used with JMX
Bug AMQ-1020 Slow consumer terminally blocks both client and broker
Bug AMQ-1016 4.1 RC1: META-INF/spring.schemas refers to building user "file:/Users/chirino/"
Bug AMQ-1014 Invalid Schema URL for example config file
Improvement AMQ-1010 Simplify SimpleAuthenticationPlugin Configuration
Test AMQ-1002 org.apache.activemq.spring.SpringTest.testSenderWithSpringXmlUsingSpring2NamespacesWithEmbeddedBrokerConfiguredViaXml
New Feature AMQ-979 Allow NetworkConnections to bi-directional
Bug AMQ-977 Topic destination created for channel:// destination name
Bug AMQ-962 Messages are read from queue but not removed
Bug AMQ-961 Problem with subscription passing with network of brokers in AMQ 4.0.2
Bug AMQ-959 Wrong message removed from store when using composite destinations
Bug AMQ-944 transportConnector using multicast
Bug AMQ-936 Expired Messages being delivered
Bug AMQ-929 Invalid XSD (according to XML Spy)
Improvement AMQ-920 Two TCP connection requirement for bidirectional message flow ...
Bug AMQ-914 OutOfMemoryError
Improvement AMQ-908 Authorization plugin should have configurable principal classes
Improvement AMQ-907 Make the ActiveIO dependency and optional dependency.
Bug AMQ-897 Deadlock in ActiveMQ Failover Worker
Improvement AMQ-894 Provide option to turn on//off AMQ statistics gathering
New Feature AMQ-880 Expired messages should trigger an advisory message
Bug AMQ-879 Destination statistics message count is not decremented after message expired
Bug AMQ-875 TCP connector (server) will stop accepting connection if an invalid connection is made to him.
Bug AMQ-870 Broker fails to deliver messages after restart
Bug AMQ-845 Sending messages to a topic with an inactive durable subscription will hang producers
Bug AMQ-841 NullPointerException when using MasterConnector and specifying the broker name with space in it.
Improvement AMQ-805 Restart network bridges if they ever get stopped
Bug AMQ-804 Use of Temporary Destinations over broker networks can cause the network bridges to die.
Bug AMQ-796 Client may shtudown when failover connection is reconnecting. We need to maintain at least 1 non-daemon thread alive.
Improvement AMQ-795 security plugin to deal with temporary queue and topics better
New Feature AMQ-791 support spool to disk for non-persistent topic consumers
Bug AMQ-777 maxReconnectAttempts has no effect
Bug AMQ-776 ConduitBridge can malfunction when first of a set of consumers goes away
Bug AMQ-771 org.apache.activemq.broker.TransportConnection::stop should not attempt to send a message over the connection.
Bug AMQ-767 avoid use of XHTML in activemq-web-console so things work great in IE 6
Bug AMQ-750 multi-threaded issues with failover transport
Bug AMQ-734 Network connections do not reconnect when using static: with failover=true
Test AMQ-729 Using a very simple producer and consumer messages are received in wrong order.
Bug AMQ-728 Active MQ is creating great number of Oracle processes
Bug AMQ-704 ActiveIO compromises java.lang.System.properties
Bug AMQ-680 JMX Registration Issue
Bug AMQ-670 STOMP not setting content-length on byte messages.
Bug AMQ-652 Potential infinite loop in ActiveMQ shutdown processing when in Geronimo
New Feature AMQ-644 create Java Service Wrapper for ActiveMQ
Improvement AMQ-637 Enhance ActiveMQInput/Outputstream to use a real TCP connection.
Test AMQ-626 fix test cases MultipleTestsWithSpring*Test which seem to fail due to another test keeping a broker/journal open
Test AMQ-616 SpringTest hangs
Test AMQ-610 fix the test case FanoutTransportBrokerTest which is failing now due to the fix for AMQ-607 by making the open of the socket occur in the start() method
Bug AMQ-594 SimpleNetworkTest hangs
New Feature AMQ-567 Time in queue statistics handy
Bug AMQ-528 4.0 M4 NullPointerException while shutting down
Bug AMQ-527 4.0 M4 Persistent Issue with network brokers
New Feature AMQ-499 Support for delayed/scheduled delivery of messages.
Improvement AMQ-493 Improve queue and durable subscription recovery performance.
Test AMQ-477 TEST org.apache.activemq.usecases.ThreeBrokerTopicNetworkUsingTcpTest FAILED
New Feature AMQ-451 allow scheduled delivery of messages
Improvement AMQ-450 expired messages should be sent to some kind of dead letter queue
Bug AMQ-361 duplicate delivery, already consumed messages are reconsumed after server restart
New Feature AMQ-358 JNDI / LDAP discovery mechanism
Bug AMQ-349 Misbehaving consumer can affect message delivery to other consumers for a given topic.
Bug AMQ-327 Orphanded/lost queue messages in various failover tests in two broker configuration
New Feature AMQ-321 'reliable' does not work for http
Test AMQ-295 ActiveIOTransportChannelTest hangs on dual opterons with Java 5
Improvement AMQ-186 Allow for use of a connect timeout property when creating socket
Improvement AMQ-137 Network of brokers does not work via http

Also see the previous ActiveMQ 4.1.1 Release

Graphic Design By Hiram