@@ -2181,11 +2181,16 @@ You can configure your handler by passing options to the attribute::
2181
2181
2182
2182
Possible options to configure with the attribute are:
2183
2183
2184
- * ``bus ``
2185
- * ``fromTransport ``
2186
- * ``handles ``
2187
- * ``method ``
2188
- * ``priority ``
2184
+ ============================ ====================================================================================================
2185
+ Option Description
2186
+ ============================ ====================================================================================================
2187
+ ``bus `` Name of the bus from which the handler can receive messages, by default all buses.
2188
+ ``fromTransport `` Name of the transport from which the handler can receive messages, by default all transports.
2189
+ ``handles `` Type of messages (FQCN) that can be processed by the handler, only needed if can't be guessed by
2190
+ type-hint.
2191
+ ``method `` Name of the method that will process the message, only if the target is a class.
2192
+ ``priority `` Priority of the handler when multiple handlers can process the same message.
2193
+ ============================ ====================================================================================================
2189
2194
2190
2195
.. _messenger-handler-config :
2191
2196
@@ -2244,11 +2249,16 @@ by tagging the handler service with ``messenger.message_handler``
2244
2249
2245
2250
Possible options to configure with tags are:
2246
2251
2247
- * ``bus ``
2248
- * ``from_transport ``
2249
- * ``handles ``
2250
- * ``method ``
2251
- * ``priority ``
2252
+ ============================ ====================================================================================================
2253
+ Option Description
2254
+ ============================ ====================================================================================================
2255
+ ``bus `` Name of the bus from which the handler can receive messages, by default all buses.
2256
+ ``from_transport `` Name of the transport from which the handler can receive messages, by default all transports.
2257
+ ``handles `` Type of messages (FQCN) that can be processed by the handler, only needed if can't be guessed by
2258
+ type-hint.
2259
+ ``method `` Name of the method that will process the message.
2260
+ ``priority `` Priority of the handler when multiple handlers can process the same message.
2261
+ ============================ ====================================================================================================
2252
2262
2253
2263
.. _handler-subscriber-options :
2254
2264
0 commit comments