Update README.md

This commit is contained in:
Emiel Bruijntjes 2016-04-25 09:08:30 +02:00
parent e2c7ffdcc1
commit 06afda3606
1 changed files with 2 additions and 2 deletions

View File

@ -860,9 +860,9 @@ auto messageCb = [&channel](const AMQP::Message &message, uint64_t deliveryTag,
// start consuming from the queue, and install the callbacks
channel.consume("my-queue")
.onReceived(messageCb)
.onSuccess(startCb)
.onError(errorCb)
.onReceived(messageCb);
.onError(errorCb);
````