You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am developing a plugin for sylius, and, as with this plugin, I am using messenger.
When debugging my code with php bin/console debug:messenger I can see that this plugins message handlers are listening to all buses.
While this is not an urgent issue, and may not even produce any errors in most cases, surely, for maximum interoperability with other plugins/bundles, unless there is a specific reason why these handlers need to listen on other buses, they should probably be restricted to the buses defined in this bundle.
Mainly I'm asking in order to validate whether i need to do this in my own bundle...
The text was updated successfully, but these errors were encountered:
acornforth
changed the title
Shouldn't _this plugin's_ MessageHandlers be configured to only process messages from _this plugin's_ message buses ?
Shouldn't MessageHandlers be configured to only process messages from this plugin's message buses ?
Sep 27, 2019
I am developing a plugin for sylius, and, as with this plugin, I am using messenger.
When debugging my code with
php bin/console debug:messenger
I can see that this plugins message handlers are listening to all buses.While this is not an urgent issue, and may not even produce any errors in most cases, surely, for maximum interoperability with other plugins/bundles, unless there is a specific reason why these handlers need to listen on other buses, they should probably be restricted to the buses defined in this bundle.
Mainly I'm asking in order to validate whether i need to do this in my own bundle...
The text was updated successfully, but these errors were encountered: