Closed as not planned
Description
Symfony version(s) affected
4.4.50
Description
After the recent release of AMQP v2.0.0 on the 20th of Aug, 2023 (2 days ago), our app stopped working due to the following error:
Return value of Symfony\Component\Messenger\Transport\AmqpExt\Connection::ack() must be of the type bool, null returned
How to reproduce
Steps to reproduce:
- Install Symfony Messenger 4.4.50.
- Upgrade the AMQP transport to v2.0.0.
- Try to acknowledge a message.
Expected behavior:
The ack()
method of the Symfony\Component\Messenger\Transport\AmqpExt\Connection
class should return a boolean value.
Actual behavior:
The ack()
method is returning null.
Possible Solution
Downgrade to AMQP version 1.11.0
pecl install amqp-1.11.0
Additional Context
No response