Skip to content

Releases: CopernicaMarketingSoftware/AMQP-CPP

AMQP-CPP 2.1.0

01 Aug 10:40
Compare
Choose a tag to compare

_Changes in this release_

  1. Fixed issue with the Deferred::onFailure() method, it was called even when no failure had occured
  2. 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.
  3. Channel::get() method has been added to retrieve one message at a time.
  4. Empty messages (messages without a body) were not correctly consumed.

AMQP-CPP 2.0.1

07 Jul 14:18
Compare
Choose a tag to compare

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

05 May 08:13
Compare
Choose a tag to compare

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

14 Apr 12:28
Compare
Choose a tag to compare

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

24 Feb 10:07
Compare
Choose a tag to compare

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

21 Jan 12:16
Compare
Choose a tag to compare

Initial release