Skip to content
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

[Messenger] Added support for from_transport attribute on messenger.message_handler tag #33317

Merged
merged 1 commit into from
Sep 25, 2019

Conversation

ruudk
Copy link
Contributor

@ruudk ruudk commented Aug 24, 2019

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.

@javiereguiluz
Copy link
Member

@Nyholm what do you think about this proposal? Thanks.

Copy link
Member

@Nyholm Nyholm left a 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!

Copy link
Member

@Nyholm Nyholm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you

👍

@fabpot fabpot force-pushed the from-transport-via-tag-attribute branch from 7dd9b88 to c965e4e Compare September 25, 2019 18:39
@fabpot
Copy link
Member

fabpot commented Sep 25, 2019

Thank you @ruudk.

@fabpot fabpot closed this in e2e73ef Sep 25, 2019
@fabpot fabpot merged commit c965e4e into symfony:4.4 Sep 25, 2019
@ruudk ruudk deleted the from-transport-via-tag-attribute branch September 25, 2019 18:51
@Nyholm
Copy link
Member

Nyholm commented Sep 25, 2019

Wohoo!
Thank you

@nicolas-grekas nicolas-grekas modified the milestones: next, 4.4 Oct 27, 2019
wouterj added a commit to symfony/symfony-docs that referenced this pull request Nov 9, 2019
…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
This was referenced Nov 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants