Client library for AMQP servers (currently only RabbitMQ)
Changes
Version 0.18.1
new function addConnectionBlockedHandler to be notified when the connection is blocked (due to the server being resource-constrained)
Version 0.18.0
ConnectionClosedException and ChannelClosedException now specify whether the close was normal (user-initiated) or abnormal (caused by an AMQP exception)
channels that are abnormally closed and have no exception handler (set using addChannelExceptionHandler) will now print the error to stderr
new function getServerProperties to get the RabbitMQ server-properties
consumeMsgs' now allows setting a consumer-cancellation-callback
Version 0.17.0
When the server asynchronously closed a channel, this was (erroneously) internally represented as a ConnectionClosedException. It is now represented as a ChannelClosedException. This could affect you if you explicitly match on ConnectionClosedException or ChannelClosedException in your code, for example when using addChannelExceptionHandler.
Version 0.16.0
new coName field in ConnectionOpts to specify a custom name that will be displayed in the RabbitMQ web interface
Version 0.15.1
export the AckType data-type and constructors
Version 0.15.0
The way channels are closed internally was changed. This may affect you if you have installed an exception handler inside the callback passed to consumeMsgs. Specifically, the exceptions used internally to close channels are now wrapped inside ChanThreadKilledException. You should make sure to re-throw this exception if you did catch it.
Version 0.14.1
show all exceptions if no host can be connected to
Version 0.14.0
publishMsg now returns the message sequence-number
new TLSCustom field in TLSSettings
Version 0.13.1
don’t print to stderr when openConnection fails to connect to a broker