Skip to content

Commit 9efdea3

Browse files
cancelledbitjaviereguiluz
authored andcommitted
Note about message bus
1 parent 97b5ef1 commit 9efdea3

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

notifier.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,22 @@ Service Package D
271271

272272
The LINE Notify, Mastodon and Twitter integrations were introduced in Symfony 6.3.
273273

274+
.. caution::
275+
276+
If you have the messenger component installed, the default component
277+
configuration implies sending notifications through the MessageBus.
278+
If you don't have a message consumer running, messages will never be sent.
279+
To send messages directly via the transport, add the following line to the configuration.
280+
281+
.. configuration-block::
282+
283+
.. code-block:: yaml
284+
285+
# config/packages/notifier.yaml
286+
framework:
287+
notifier:
288+
message_bus: false
289+
274290
Chatters are configured using the ``chatter_transports`` setting:
275291

276292
.. code-block:: bash

0 commit comments

Comments
 (0)