Skip to content

Commit b8e8449

Browse files
committed
Minor reword
1 parent b7a7b49 commit b8e8449

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

messenger.rst

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -844,12 +844,6 @@ options.
844844
AMQP Transport
845845
~~~~~~~~~~~~~~
846846

847-
.. versionadded:: 5.2
848-
849-
Starting from Symfony 5.2, the AMQP transport can handle AMQPS DSN.
850-
Be aware that using it without using CA certificate can throw an exception.
851-
An alternative is to use AMQP DSN and specify the port to use.
852-
853847
.. versionadded:: 5.1
854848

855849
Starting from Symfony 5.1, the AMQP transport has moved to a separate package.
@@ -869,10 +863,18 @@ The ``amqp`` transport configuration looks like this:
869863
# or use the AMQPS protocol
870864
MESSENGER_TRANSPORT_DSN=amqps://guest:guest@localhost/%2f/messages
871865
866+
.. versionadded:: 5.2
867+
868+
The AMQPS protocol support was introduced in Symfony 5.2.
872869

873870
To use Symfony's built-in AMQP transport, you need the AMQP PHP extension.
874-
If you want to use TLS/SSL encrypted AMQP you must provide a CA certificate. You need to set it using ``amqp.cacert = /etc/ssl/certs`` (path depends on your system) in your ``php.ini`` file or by setting the ``cacert`` parameter (e.g ``amqps://localhost?cacert=/etc/ssl/certs/``)
875-
By default TLS/SSL encrypted AMQP uses port 5671. You can overwrite this behavior by setting the ``port`` parameter (e.g. ``amqps://localhost?cacert=/etc/ssl/certs/&port=12345``).
871+
If you want to use TLS/SSL encrypted AMQP, you must also provide a CA certificate.
872+
Define the certificate path in the ``amqp.cacert`` PHP.ini setting
873+
(e.g. ``amqp.cacert = /etc/ssl/certs``) or in the ``cacert`` parameter of the
874+
DSN (e.g ``amqps://localhost?cacert=/etc/ssl/certs/``).
875+
876+
The default port used by TLS/SSL encrypted AMQP is 5671, but you can overwrite
877+
it in the ``port`` parameter of the DSN (e.g. ``amqps://localhost?cacert=/etc/ssl/certs/&port=12345``).
876878

877879
.. note::
878880

0 commit comments

Comments
 (0)