Releases: CopernicaMarketingSoftware/AMQP-CPP
AMQP-CPP 2.1.0
_Changes in this release_
- Fixed issue with the Deferred::onFailure() method, it was called even when no failure had occured
- The Channel::setQos() method now supports a 'global' parameter, to indicate that the prefetch-count should be used as a total counter for all consumer on the same channel (when set to true), or that it is a counter that applies to each consumer individually.
- Channel::get() method has been added to retrieve one message at a time.
- Empty messages (messages without a body) were not correctly consumed.
AMQP-CPP 2.0.1
This is a bugfix release only. The previous 2.0.0 release had a memory leak, and rejecting messages sometimes caused the consumer to stop consuming messages. Both issues have been fixed.
AMQP-CPP 2.0.0
Version 2.0 of the AMQP-CPP has a fundamental different API compared to the 1.0.* branche. Unlike the 1.0.* versions, AMQP-CPP no longer offers an abstract ChannelHandler class. Most channel methods now return a "Amqp::Deferred" object instead. This is an object that represents a AMQP operation-in-progress, and on which callback methods can be set using methods like onSuccess() and onError(). This allows one to use C++11 type lambda functions to handle success and errors:
channel.declareExchange("my-exchange").onSuccess([]() {
// @todo handle the creation of the exchange
}).onError([](const char *message) {
// @todo handle failure
});
Also a number of bugs have been solved, and for synchronous AMQP instructions the AMQP-CPP client now first waits for the answer to come in, before subsequent instructions are sent to the RabbitMQ broker.
AMQP-CPP 1.0.2
Changelog:
- Fields can be used with iostreams
- Compatibility with g++ 4.7.3
- Additional functions for the Array type to make it behave more like a vector
- Some small bugfixes
AMQP-CPP 1.0.1
Changelog:
- If connection.close() was called before the connection was set up.
- Use generic g++ version, and not 4.8 explicitly in makefile.
- Initialized a number of unused and deprecated variables to zero.
- Login object now has methods to retrieve user name and password.
- Keep a local copy of the string in the envelope.
- Copy constructor added to Login class.
AMPQ-CPP 1.0
Initial release