Skip to content

AMQP-CPP 2.2.0

Compare
Choose a tag to compare
released this 19 May 12:19
· 817 commits to master since this release

This release contains a number of bugfixes as well as some performance improvements

Fixed double call to Channel::onReady callback
In certain cases, the callback installed with onReady was called directly when being installed, as well as when the server acknowledged the channel now being open.

Messages are now moved into consumer callbacks
When consuming, received messages are now provided as an r-value reference instead of a const-reference, making it cheaper to move them somewhere for later use.

Message bodies can now be moved when publishing
The Channel::publish method now accepts an r-value std::string for the message body, avoiding an often unnecessary copy.

Workarounds for Windows compilers
Compilers under Windows (particularly Visual Studio) have trouble with some recent additions done in C++11. This release provides some workarounds so it can still be compiled there.