-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Explain how to add from_transport
on messenger.message_handler
tag
#12231
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
…te on `messenger.message_handler` tag (ruudk) This PR was squashed before being merged into the 4.4 branch (closes #33317). Discussion ---------- [Messenger] Added support for `from_transport` attribute on `messenger.message_handler` tag | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #33306 | License | MIT | Doc PR | symfony/symfony-docs#12231 Right now, it's only possible to have dynamic `from_transport` when using `MessageSubscriberInterface`. Things like `priority` and `bus` can already be added as attributes on the messenger.message_handler` tag. With this PR it now also supports `from_transport`. Commits ------- c965e4e [Messenger] Added support for `from_transport` attribute on `messenger.message_handler` tag
…te on `messenger.message_handler` tag (ruudk) This PR was squashed before being merged into the 4.4 branch (closes #33317). Discussion ---------- [Messenger] Added support for `from_transport` attribute on `messenger.message_handler` tag | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #33306 | License | MIT | Doc PR | symfony/symfony-docs#12231 Right now, it's only possible to have dynamic `from_transport` when using `MessageSubscriberInterface`. Things like `priority` and `bus` can already be added as attributes on the messenger.message_handler` tag. With this PR it now also supports `from_transport`. Commits ------- c965e4e844 [Messenger] Added support for `from_transport` attribute on `messenger.message_handler` tag
Anything I can do to get this PR merged? |
…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
Hi @ruudk! Thanks for submitting a doc PR alongside your feature PR and congratz on getting it merged! I've now merged this pull requests as well. I moved the docs you added to the section explaining the tag. I think it's a bit more usefull to have it there. I've now also explicitly added a list of options that can be configured, as I couldn't find it anywhere in the docs (and it seems like the comment "options returned by getHandledMessages() are supported here" wasn't true for at least Symfony <4.4). You can see the changes in b8526c3. Please let me know if you disagree :) |
* 4.4: [#12231] Explicitly name the options that can be configured through tags Explain how to add `from_transport` on `messenger.message_handler` tag Documented the new REMOTE_ADDR option [#12464] Minor changes Add Composer installation before step 1 for Symfony Flex Documentation for Bootstrap 4 custom switches
…te on `messenger.message_handler` tag (ruudk) This PR was squashed before being merged into the 4.4 branch (closes #33317). Discussion ---------- [Messenger] Added support for `from_transport` attribute on `messenger.message_handler` tag | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #33306 | License | MIT | Doc PR | symfony/symfony-docs#12231 Right now, it's only possible to have dynamic `from_transport` when using `MessageSubscriberInterface`. Things like `priority` and `bus` can already be added as attributes on the messenger.message_handler` tag. With this PR it now also supports `from_transport`. Commits ------- c965e4e844 [Messenger] Added support for `from_transport` attribute on `messenger.message_handler` tag
See symfony/symfony#33317