We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05effb7 commit 6ed93b2Copy full SHA for 6ed93b2
messenger.rst
@@ -449,6 +449,12 @@ this:
449
This will generate the ``messenger.bus.commands`` and ``messenger.bus.events`` services
450
that you can inject in your services.
451
452
+.. note::
453
+
454
+ To register a handler for only a specific bus, add a ``bus`` attribute having the
455
+ name of this bus as value to the ``messenger.message_handler`` tag in the handler's
456
+ service definition.
457
458
Type-hints and Auto-wiring
459
~~~~~~~~~~~~~~~~~~~~~~~~~~
460
0 commit comments