Skip to content

Commit 6548f9c

Browse files
authored
Merge pull request #1255 from snapshotpl/ensure-pass-string
Ensure pass consumer tag as string to bunny amqp
2 parents fb1aacc + 36d201c commit 6548f9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: pkg/amqp-bunny/AmqpSubscriptionConsumer.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public function subscribe(Consumer $consumer, callable $callback): void
8888
$frame = $this->context->getBunnyChannel()->consume(
8989
$bunnyCallback,
9090
$consumer->getQueue()->getQueueName(),
91-
$consumer->getConsumerTag(),
91+
$consumer->getConsumerTag() ?? '',
9292
(bool) ($consumer->getFlags() & InteropAmqpConsumer::FLAG_NOLOCAL),
9393
(bool) ($consumer->getFlags() & InteropAmqpConsumer::FLAG_NOACK),
9494
(bool) ($consumer->getFlags() & InteropAmqpConsumer::FLAG_EXCLUSIVE),

0 commit comments

Comments
 (0)