AMQ Clients 2.4 Release Notes
Release Notes for Red Hat AMQ Clients
Abstract
Chapter 1. Features
- AMQ Clients 2.4 adds support for RHEL 8 and OpenJDK 11.
- AMQ JMS can now expand environment variables and Java system properties in JNDI configuration properties.
- For improved SSL/TLS performance, AMQ Clients 2.4 now includes an optional library for using native OpenSSL-based SSL/TLS with AMQ JMS.
Chapter 2. Resolved issues
2.1. AMQ .NET
ENTMQCL-794 - Transactions do not work with .NET Core
In earlier releases of the product, rolling back transactions when using AMQ .NET on .NET Core did not work as expected.
In this release, transactions on .NET Core function correctly.
2.2. AMQ Python
ENTMQCL-483 - Selectors fail with non-Unicode strings
In earlier releases of the product, using a non-Unicode string for the
Selector
option onContainer.create_receiver()
could result in a corrupt selector value.In this release, the library internally converts non-Unicode strings to Unicode.
ENTMQCL-498 - Unsigned types can hold negative values
In earlier releases of the product, the client allowed setting some unsigned numeric types to negative values, resulting in illegal AMQP data on the wire.
In this release, the unsigned type constructors throw an error if they are given an illegal value.
Chapter 3. Known issues
ENTMQCL-546 - Transactions introduce unexpected link events
Starting a transaction internally opens a sending link for controlling the transaction. This special link can trigger extra application events.
Workaround: Code using transactions should ensure link handler functions are processing the link they expect.
Chapter 4. Important notes
4.1. AMQ C++
Unsettled interfaces
The AMQ C++ messaging API includes classes and methods that are not yet proven and can change in future releases. Be aware that use of these interfaces might require changes to your application code in the future.
These interfaces are marked Unsettled API in the API reference. They include the interfaces in the
proton::codec
andproton::io
namespaces and the following interfaces in theproton
namespace.-
listen_handler
-
The
on_sender_drain_start
andon_sender_drain_finish
methods onmessaging_handler
-
The
draining
andreturn_credit
methods onsender
-
The
draining
anddrain
methods onreceiver
API elements present in header files but not yet documented are considered unsettled and are subject to change.
-
Deprecated interfaces
Interfaces marked Deprecated in the API reference are scheduled for removal in a future release.
This release deprecates the following interfaces in the
proton
namespace.-
void_function0
- Use thework
class or C++11 lambdas instead. -
default_container
- Use thecontainer
class instead. -
url
andurl_error
- Use a third-party URL library instead.
-
4.2. Preferred clients
In general, AMQ clients that support the AMQP 1.0 standard are preferred for new application development. However, the following exceptions apply:
- If your implementation requires distributed transactions, use the AMQ Core Protocol JMS client.
- If you require MQTT or STOMP in your domain (for IoT applications, for instance), use community-supported MQTT or STOMP clients.
The considerations above do not necessarily apply if you are already using:
- The AMQ OpenWire JMS client (the JMS implementation previously provided in A-MQ 6)
- The AMQ Core Protocol JMS client (the JMS implementation previously provided with HornetQ)
4.3. Legacy clients
Deprecation of the CMS and NMS APIs
The ActiveMQ CMS and NMS messaging APIs are deprecated in AMQ 7. It is recommended that users of the CMS API migrate to AMQ C++, and users of the NMS API migrate to AMQ .NET. The CMS and NMS APIs might have reduced functionality in AMQ 7.
Deprecation of the legacy AMQ C++ client
The legacy AMQ C[]+ client (the C+ client previously provided in MRG Messaging) is deprecated in AMQ 7. It is recommended that users of this API migrate to AMQ C++.
The Core API is unsupported
The Artemis Core API client is not supported. This client is distinct from the AMQ Core Protocol JMS client, which is supported.
4.4. Upstream versions
- AMQ C++, AMQ Python, and AMQ Ruby are now based on Qpid Proton 0.28.0
- AMQ JavaScript is now based on Rhea 1.0.7
- AMQ JMS is now based on Qpid JMS 0.42.0
- AMQ .NET is now based on AMQP.Net Lite 2.1.7
Chapter 5. Important links
Revised on 2019-06-18 17:56:43 UTC