From a6bd4fba119124e2a523a1d68681d4c4592ed601 Mon Sep 17 00:00:00 2001 From: Anton Shabouta Date: Fri, 23 Aug 2024 14:36:34 +0200 Subject: [PATCH] Fix AMQP consumer mode option name (#32) --- src/Remote/AMQP/Consumer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Remote/AMQP/Consumer.php b/src/Remote/AMQP/Consumer.php index 397b8c3..a1287bf 100644 --- a/src/Remote/AMQP/Consumer.php +++ b/src/Remote/AMQP/Consumer.php @@ -28,7 +28,7 @@ final class Consumer implements ConsumerContract OPTION_PREFETCH = 'prefetch', OPTION_REQUEUE = 'requeue', OPTION_MULTIPLE = 'multiple', - OPTION_MODE = self::MODE_REJECT + OPTION_MODE = 'mode' ; private const