From c150197d314e45c6f97cb9d53bca8218f18be021 Mon Sep 17 00:00:00 2001 From: Kevin Bond Date: Fri, 29 Apr 2022 13:35:51 -0400 Subject: [PATCH] [Messenger] fix xml block --- messenger.rst | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/messenger.rst b/messenger.rst index 605561e39d5..56ef5af1382 100644 --- a/messenger.rst +++ b/messenger.rst @@ -753,8 +753,8 @@ reset the service container between two messages: https://symfony.com/schema/dic/symfony/symfony-1.0.xsd"> - - + + @@ -775,6 +775,12 @@ reset the service container between two messages: The ``reset_on_message`` option was introduced in Symfony 5.4. +.. note:: + + ``reset_on_message`` will default to true (with no other allowed value) in + Symfony 6. To disable this behavior, execute the ``messenger:consume`` + command with the ``--no-reset`` option. + .. _messenger-retries-failures: Retries & Failures