@@ -2,18 +2,16 @@ |
||
2 | 2 | |
3 | 3 | namespace ETNA\Silex\Provider\RabbitMQ; |
4 | 4 | |
5 | -use Pimple\ServiceProviderInterface; |
|
6 | -use Pimple\Container; |
|
7 | -use Symfony\Component\Routing\Generator\UrlGenerator; |
|
8 | -use OldSound\RabbitMqBundle\RabbitMq\Producer; |
|
9 | -use OldSound\RabbitMqBundle\RabbitMq\Consumer; |
|
10 | 5 | use OldSound\RabbitMqBundle\RabbitMq\AnonConsumer; |
6 | +use OldSound\RabbitMqBundle\RabbitMq\Consumer; |
|
11 | 7 | use OldSound\RabbitMqBundle\RabbitMq\MultipleConsumer; |
8 | +use OldSound\RabbitMqBundle\RabbitMq\Producer; |
|
12 | 9 | use OldSound\RabbitMqBundle\RabbitMq\RpcClient; |
13 | 10 | use OldSound\RabbitMqBundle\RabbitMq\RpcServer; |
14 | 11 | use PhpAmqpLib\Connection\AMQPConnection; |
15 | -use PhpAmqpLib\Connection\AMQPLazyConnection; |
|
16 | 12 | use PhpAmqpLib\Connection\AMQPSSLConnection; |
13 | +use Pimple\Container; |
|
14 | +use Pimple\ServiceProviderInterface; |
|
17 | 15 | |
18 | 16 | /** |
19 | 17 | * Code repris de fiunchinho/rabbitmq-service-provider en attendant la compatibilité |
@@ -2,9 +2,9 @@ |
||
2 | 2 | |
3 | 3 | namespace TestRabbitMq; |
4 | 4 | |
5 | -use Silex\Application; |
|
6 | 5 | use Pimple\Container; |
7 | 6 | use Pimple\ServiceProviderInterface; |
7 | +use Silex\Application; |
|
8 | 8 | |
9 | 9 | /** |
10 | 10 | * Configuration principale de l'application |
@@ -2,8 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace ETNA\Silex\Provider\RabbitMQ; |
4 | 4 | |
5 | -use PhpAmqpLib\Message\AMQPMessage; |
|
6 | 5 | use PhpAmqpLib\Channel\AMQPChannel; |
6 | +use PhpAmqpLib\Message\AMQPMessage; |
|
7 | 7 | |
8 | 8 | /** |
9 | 9 | * |