AMPQ -> AMQP

This commit is contained in:
Jeremy Benoist
2016-09-14 10:17:22 +02:00
parent a622fbc444
commit ac87e0db2a
4 changed files with 18 additions and 18 deletions

View File

@ -0,0 +1,17 @@
<?php
namespace Wallabag\ImportBundle\Consumer;
use OldSound\RabbitMqBundle\RabbitMq\ConsumerInterface;
use PhpAmqpLib\Message\AMQPMessage;
class AMQPEntryConsumer extends AbstractConsumer implements ConsumerInterface
{
/**
* {@inheritdoc}
*/
public function execute(AMQPMessage $msg)
{
return $this->handleMessage($msg->body);
}
}