Skip to content

Commit 237e88a

Browse files
committed
Merge branch '7.0' into 7.1
* 7.0: Minor reword Note about message bus
2 parents 82bd417 + ba3f9f1 commit 237e88a

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
@@ -260,6 +260,22 @@ Service Package D
260260
The ``Bluesky``, ``Unifonic`` and ``Smsbox`` integrations
261261
were introduced in Symfony 7.1.
262262

263+
.. caution::
264+
265+
By default, if you have the :doc:`Messenger component </messenger>` installed,
266+
the notifications will be sent through the MessageBus. If you don't have a
267+
message consumer running, messages will never be sent.
268+
269+
To change this behavior, add the following configuration to send messages
270+
directly via the transport:
271+
272+
.. code-block:: yaml
273+
274+
# config/packages/notifier.yaml
275+
framework:
276+
notifier:
277+
message_bus: false
278+
263279
Chatters are configured using the ``chatter_transports`` setting:
264280

265281
.. code-block:: bash

0 commit comments

Comments
 (0)