Skip to content

Commit

Permalink
Added ACK to rabbitmq driver
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaj committed Sep 2, 2016
1 parent b145e1e commit 9cf3bda
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ Updates should follow the [Keep a CHANGELOG](http://keepachangelog.com/) princip

## [Unreleased][unreleased]

## 1.0.0 - 2016-09-02

### Added

* First stable version
* Added ACK to rabbitmq driver

## 0.4.0 - 2016-04-26

Expand Down
1 change: 1 addition & 0 deletions src/Driver/RabbitMqDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ public function wait(Closure $callback)
function ($rabbitMessage) use ($callback) {
$message = $this->serializer->unserialize($rabbitMessage->body);
$callback($message);
$rabbitMessage->delivery_info['channel']->basic_ack($rabbitMessage->delivery_info['delivery_tag']);
}
);

Expand Down

0 comments on commit 9cf3bda

Please sign in to comment.