Skip to content

Commit 7ac2fea

Browse files
committed
amqp ext interop
1 parent 25c511f commit 7ac2fea

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎pkg/amqp-ext/AmqpContext.php‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22

33
namespace Enqueue\AmqpExt;
44

5-
use Enqueue\Psr\Exception;
5+
use Interop\Amqp\AmqpBind as InteropAmqpBind;
66
use Interop\Amqp\AmqpContext as InteropAmqpContext;
7-
use Interop\Amqp\AmqpTopic as InteropAmqpTopic;
87
use Interop\Amqp\AmqpQueue as InteropAmqpQueue;
9-
use Interop\Amqp\AmqpBind as InteropAmqpBind;
8+
use Interop\Amqp\AmqpTopic as InteropAmqpTopic;
109
use Interop\Amqp\Impl\AmqpBind;
1110
use Interop\Amqp\Impl\AmqpMessage;
1211
use Interop\Amqp\Impl\AmqpQueue;
1312
use Interop\Amqp\Impl\AmqpTopic;
13+
use Interop\Queue\Exception;
1414
use Interop\Queue\InvalidDestinationException;
1515
use Interop\Queue\PsrDestination;
1616
use Interop\Queue\PsrTopic;

‎pkg/amqp-ext/Client/RabbitMqDriver.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ public function setupBroker(LoggerInterface $logger = null)
179179
$this->context->declareTopic($delayTopic);
180180

181181
$log('Bind processor queue to delay exchange: %s -> %s', $queue->getQueueName(), $delayTopic->getTopicName());
182-
$this->context->bind(new AmqpBind($delayTopic, $queue , $queue->getQueueName()));
182+
$this->context->bind(new AmqpBind($delayTopic, $queue, $queue->getQueueName()));
183183
}
184184
}
185185
}

‎pkg/amqp-ext/examples/produce.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
}
1717

1818
use Enqueue\AmqpExt\AmqpConnectionFactory;
19-
use Interop\Amqp\AmqpTopic;
2019
use Interop\Amqp\AmqpQueue;
20+
use Interop\Amqp\AmqpTopic;
2121
use Interop\Amqp\Impl\AmqpBind;
2222

2323
$config = [

0 commit comments

Comments
 (0)