Skip to content

Commit 6e46ab6

Browse files
committed
minor #13006 [Messenger] Transports in separate packages (Nyholm)
This PR was squashed before being merged into the master branch (closes #13006). Discussion ---------- [Messenger] Transports in separate packages I added a note that transports will be in separate packages from 5.1. Im not sure this is the best way to present it. Soon, new transports will be added. They should also start with a: ``` .. code-block:: terminal $ composer require symfony/sqs-messenger ``` Anyhow, this is good for these 3, that is why I submitting the PR and hope for feedback. This will fix #12998 Commits ------- 6a54402 [Messenger] Transports in separate packages
2 parents 5399cd6 + 6a54402 commit 6e46ab6

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
@@ -732,6 +732,14 @@ options.
732732
AMQP Transport
733733
~~~~~~~~~~~~~~
734734

735+
.. versionadded:: 5.1
736+
737+
The AMQP transport has moved to a separate package. Install it by running
738+
739+
.. code-block:: terminal
740+
741+
$ composer require symfony/amqp-messenger
742+
735743
The ``amqp`` transport configuration looks like this:
736744

737745
.. code-block:: bash
@@ -755,7 +763,7 @@ You can also configure AMQP-specific settings on your message by adding
755763
:class:`Symfony\\Component\\Messenger\\Transport\\AmqpExt\\AmqpStamp` to
756764
your Envelope::
757765

758-
use Symfony\Component\Messenger\Transport\AmqpExt\AmqpStamp;
766+
use Symfony\Component\Messenger\Bridge\Amqp\Transport\AmqpStamp;
759767
// ...
760768

761769
$attributes = [];
@@ -777,6 +785,14 @@ your Envelope::
777785
Doctrine Transport
778786
~~~~~~~~~~~~~~~~~~
779787

788+
.. versionadded:: 5.1
789+
790+
The Doctrine transport has moved to a separate package. Install it by running
791+
792+
.. code-block:: terminal
793+
794+
$ composer require symfony/doctrine-messenger
795+
780796
The Doctrine transport can be used to store messages in a database table.
781797

782798
.. code-block:: bash
@@ -879,6 +895,14 @@ auto_setup Whether the table should be created
879895
Redis Transport
880896
~~~~~~~~~~~~~~~
881897

898+
.. versionadded:: 5.1
899+
900+
The Redis transport has moved to a separate package. Install it by running
901+
902+
.. code-block:: terminal
903+
904+
$ composer require symfony/redis-messenger
905+
882906
The Redis transport uses `streams`_ to queue messages.
883907

884908
.. code-block:: bash

0 commit comments

Comments
 (0)