File tree 1 file changed +8
-2
lines changed
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -753,8 +753,8 @@ reset the service container between two messages:
753
753
https://symfony.com/schema/dic/symfony/symfony-1.0.xsd" >
754
754
755
755
<framework : config >
756
- <framework : messenger >
757
- <framework : transport name =" async" dsn =" %env(MESSENGER_TRANSPORT_DSN)%" reset-on-message = " true " >
756
+ <framework : messenger reset-on-message = " true " >
757
+ <framework : transport name =" async" dsn =" %env(MESSENGER_TRANSPORT_DSN)%" >
758
758
</framework : transport >
759
759
</framework : messenger >
760
760
</framework : config >
@@ -775,6 +775,12 @@ reset the service container between two messages:
775
775
776
776
The ``reset_on_message `` option was introduced in Symfony 5.4.
777
777
778
+ .. note ::
779
+
780
+ ``reset_on_message `` will default to true (with no other allowed value) in
781
+ Symfony 6. To disable this behavior, execute the ``messenger:consume ``
782
+ command with the ``--no-reset `` option.
783
+
778
784
.. _messenger-retries-failures :
779
785
780
786
Retries & Failures
You can’t perform that action at this time.
0 commit comments