From bdbe5426f5a6962b817c7f4acf189e48e3ad41c0 Mon Sep 17 00:00:00 2001 From: Marko Kunic Date: Wed, 18 Jul 2018 21:33:35 +0200 Subject: [PATCH 1/3] Transport not mandatory --- messenger.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/messenger.rst b/messenger.rst index d2d8a4b8b0c..f64cc55c352 100644 --- a/messenger.rst +++ b/messenger.rst @@ -160,6 +160,10 @@ the messenger component, the following configuration should have been created: MESSENGER_DSN=amqp://guest:guest@localhost:5672/%2f/messages ###< symfony/messenger ### +.. note:: + + Transport doesn't have to be set if you don't need asynchronous messaging. + This is enough to allow you to route your message to the ``amqp`` transport. This will also configure the following services for you: From f0942d25aebce79f1e230422991075e6104e8947 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Thu, 19 Jul 2018 10:09:59 +0200 Subject: [PATCH 2/3] Reword --- messenger.rst | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/messenger.rst b/messenger.rst index f64cc55c352..9555205cfe0 100644 --- a/messenger.rst +++ b/messenger.rst @@ -100,9 +100,11 @@ Once you've created your handler, you need to register it: Transports ---------- -The communication with queuing systems or third parties is delegated to -libraries for now. The built-in AMQP transport allows you to communicate with -most of the AMQP brokers such as RabbitMQ. +By default, messages are processed as soon as they are dispatched. If you prefer +to process messages asynchronously, you must configure a transport. These +transports communicate your application with queuing systems or third parties. +The built-in AMQP transport allows you to communicate with most of the AMQP +brokers such as RabbitMQ. .. note:: @@ -160,10 +162,6 @@ the messenger component, the following configuration should have been created: MESSENGER_DSN=amqp://guest:guest@localhost:5672/%2f/messages ###< symfony/messenger ### -.. note:: - - Transport doesn't have to be set if you don't need asynchronous messaging. - This is enough to allow you to route your message to the ``amqp`` transport. This will also configure the following services for you: From 47e275be60eab8e41679446c6efa28424985b595 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Thu, 19 Jul 2018 10:22:09 +0200 Subject: [PATCH 3/3] Reword --- messenger.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/messenger.rst b/messenger.rst index 9555205cfe0..3f8d84473ee 100644 --- a/messenger.rst +++ b/messenger.rst @@ -102,7 +102,7 @@ Transports By default, messages are processed as soon as they are dispatched. If you prefer to process messages asynchronously, you must configure a transport. These -transports communicate your application with queuing systems or third parties. +transports communicate with your application via queuing systems or third parties. The built-in AMQP transport allows you to communicate with most of the AMQP brokers such as RabbitMQ.