File tree Expand file tree Collapse file tree 1 file changed +25
-1
lines changed Expand file tree Collapse file tree 1 file changed +25
-1
lines changed Original file line number Diff line number Diff line change @@ -730,6 +730,14 @@ options.
730
730
AMQP Transport
731
731
~~~~~~~~~~~~~~
732
732
733
+ .. versionadded :: 5.1
734
+
735
+ The AMQP transport has moved to a separate package. Install it by running
736
+
737
+ .. code-block :: terminal
738
+
739
+ $ composer require symfony/amqp-messenger
740
+
733
741
The ``amqp `` transport configuration looks like this:
734
742
735
743
.. code-block :: bash
@@ -753,7 +761,7 @@ You can also configure AMQP-specific settings on your message by adding
753
761
:class: `Symfony\\ Component\\ Messenger\\ Transport\\ AmqpExt\\ AmqpStamp ` to
754
762
your Envelope::
755
763
756
- use Symfony\Component\Messenger\Transport\AmqpExt \AmqpStamp;
764
+ use Symfony\Component\Messenger\Bridge\Amqp\Transport \AmqpStamp;
757
765
// ...
758
766
759
767
$attributes = [];
@@ -775,6 +783,14 @@ your Envelope::
775
783
Doctrine Transport
776
784
~~~~~~~~~~~~~~~~~~
777
785
786
+ .. versionadded :: 5.1
787
+
788
+ The Doctrine transport has moved to a separate package. Install it by running
789
+
790
+ .. code-block :: terminal
791
+
792
+ $ composer require symfony/doctrine-messenger
793
+
778
794
The Doctrine transport can be used to store messages in a database table.
779
795
780
796
.. code-block :: bash
@@ -877,6 +893,14 @@ auto_setup Whether the table should be created
877
893
Redis Transport
878
894
~~~~~~~~~~~~~~~
879
895
896
+ .. versionadded :: 5.1
897
+
898
+ The Redis transport has moved to a separate package. Install it by running
899
+
900
+ .. code-block :: terminal
901
+
902
+ $ composer require symfony/redis-messenger
903
+
880
904
The Redis transport uses `streams `_ to queue messages.
881
905
882
906
.. code-block :: bash
You can’t perform that action at this time.
0 commit comments