Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 36d201c

Browse files
Ensure pass consumer tag as string to bunny amqp (fixes 8.1 compatibility)
1 parent fb1aacc commit 36d201c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎pkg/amqp-bunny/AmqpSubscriptionConsumer.php

Lines changed: 1 addition & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /