4.1.0
Changes between 4.0.2 and 4.1.0
This is a maintenance release with a few improvements, focused mainly on usability. It's backward compatible with 4.0.x.
Make continuation timeouts configurable
It is now possible to set a timeout for synchronous AMQP calls (e.g. queueDeclare
). The default timeout is 10 minutes (there was no timeout at all before that).
GitHub issue: #219
Emit a warning in NullTrustManager
NullTrustManager
trusts every server certificate, it is not considered safe to use it in production. A message now warns against its usage and suggests some solutions.
GitHub issue: #230
Deprecate NullTrustManager
NullTrustManager
is deprecated in favor of a implementation with a more explicit name: TrustEverythingTrustManager
. This new implementation has the same behavior as NullTrustManager
(including the warning mesage introduced in this release).
GitHub issue: #234
Create abstract class for metrics collection
Metrics collector implementations can now subclass AbstractMetricsCollector
, which contains the tricky metrics collection logic. This makes the metrics collection easier to extend with new metrics library (e.g. Dropwizard Metrics in the Java client or Spring Boot Metrics).
GitHub issue: #222