-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Messenger] Added support for from_transport
attribute on messenger.message_handler
tag
#33317
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@Nyholm what do you think about this proposal? Thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like this PR. I reviewed and tested it. It works as expected.
Thank you!
src/Symfony/Component/Messenger/Tests/DependencyInjection/MessengerPassTest.php
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you
👍
…r.message_handler` tag
7dd9b88
to
c965e4e
Compare
Thank you @ruudk. |
Wohoo! |
…age_handler` tag (ruudk) This PR was squashed before being merged into the 4.4 branch (closes #12231). Discussion ---------- Explain how to add `from_transport` on `messenger.message_handler` tag See symfony/symfony#33317 Commits ------- 03ed48e Explain how to add `from_transport` on `messenger.message_handler` tag
Right now, it's only possible to have dynamic
from_transport
when usingMessageSubscriberInterface
. Things likepriority
andbus
can already be added as attributes on the messenger.message_handler` tag.With this PR it now also supports
from_transport
.