8000 [Messenger] Transports in separate packages · symfony/symfony-docs@6a54402 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6a54402

Browse files
Nyholmjaviereguiluz
authored andcommitted
[Messenger] Transports in separate packages
1 parent c0212d4 commit 6a54402

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

messenger.rst

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -730,6 +730,14 @@ options.
730730
AMQP Transport
731731
~~~~~~~~~~~~~~
732732

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+
733741
The ``amqp`` transport configuration looks like this:
734742

735743
.. code-block:: bash
@@ -753,7 +761,7 @@ You can also configure AMQP-specific settings on your message by adding
753761
:class:`Symfony\\Component\\Messenger\\Transport\\AmqpExt\\AmqpStamp` to
754762
your Envelope::
755763

756-
use Symfony\Component\Messenger\Transport\AmqpExt\AmqpStamp;
764+
use Symfony\Component\Messenger\Bridge\Amqp\Transport\AmqpStamp;
757765
// ...
758766

759767
$attributes = [];
@@ -775,6 +783,14 @@ your Envelope::
775783
Doctrine Transport
776784
~~~~~~~~~~~~~~~~~~
777785

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+
778794
The Doctrine transport can be used to store messages in a database table.
779795

780796
.. code-block:: bash
@@ -877,6 +893,14 @@ auto_setup Whether the table should be created
877893
Redis Transport
878894
~~~~~~~~~~~~~~~
879895

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+
880904
The Redis transport uses `streams`_ to queue messages.
881905

882906
.. code-block:: bash

0 commit comments

Comments
 (0)
0