Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ae24df commit 1be34ceCopy full SHA for 1be34ce
src/Symfony/Component/Messenger/Bridge/Amqp/Transport/Connection.php
@@ -13,6 +13,7 @@
13
14
use Symfony\Component\Messenger\Exception\InvalidArgumentException;
15
use Symfony\Component\Messenger\Exception\LogicException;
16
+use Symfony\Component\Messenger\Exception\TransportException;
17
18
/**
19
* An AMQP connection.
@@ -516,8 +517,8 @@ public function channel(): \AMQPChannel
516
517
static function (): bool {
518
return false;
519
},
- static function (): bool {
520
- return false;
+ static function () {
521
+ throw new TransportException('Confirm calls back with nack.');
522
}
523
);
524
0 commit comments