Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Mailer] Add a way to change the Bus transport dynamically #47190

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

Merged
merged 1 commit into from
Aug 7, 2022

Conversation

fabpot
Copy link
Member

@fabpot fabpot commented Aug 4, 2022

Q A
Branch? 6.2
Bug fix? no
New feature? yes
Deprecations? no
Tickets Fix #36348
License MIT
Doc PR

This PR relies on #39306. Once merged, this PR will be rebased.
This allows overriding the bus transport "dynamically" via the X-Bus-Transport header.

@carsonbot carsonbot added this to the 6.2 milestone Aug 4, 2022
@fabpot fabpot changed the title Mailer messenger transport [Mailer] Add a way to change the Bus transport dynamically Aug 4, 2022
@fabpot
Copy link
Member Author

fabpot commented Aug 4, 2022

Should be refactored to use #47191 when/id merged.

fabpot added a commit that referenced this pull request Aug 5, 2022
…ail via Messenger (fabpot)

This PR was merged into the 6.2 branch.

Discussion
----------

[Mailer] Add a way to inject Stamps when sending an email via Messenger

| Q             | A
| ------------- | ---
| Branch?       | 6.2
| Bug fix?      | no
| New feature?  | yes <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tickets       | n/a <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead -->
| License       | MIT
| Doc PR        |

In #47190, we add a way to add a specific stamp to the message sent to the Messenger bus.
I think we should make this possibility more generic.

Commits
-------

77381fa [Mailer] Add a way to inject Stamps when sending an email via Messenger
@fabpot fabpot force-pushed the mailer-messenger-transport branch 3 times, most recently from bcb47cc to 62af777 Compare August 5, 2022 11:26
@fabpot
Copy link
Member Author

fabpot commented Aug 5, 2022

Rebased and implementation updated. Ready for review.

@fabpot fabpot force-pushed the mailer-messenger-transport branch 2 times, most recently from 46a009a to 3f0a8de Compare August 5, 2022 12:25
@fabpot fabpot force-pushed the mailer-messenger-transport branch from 3f0a8de to 8f47f14 Compare August 7, 2022 09:26
@fabpot
Copy link
Member Author

fabpot commented Aug 7, 2022

Comments fixed.

@carsonbot carsonbot changed the title [Mailer] Add a way to change the Bus transport dynamically Add a way to change the Bus transport dynamically Aug 7, 2022
@chalasr chalasr added the Mailer label Aug 7, 2022
@carsonbot carsonbot changed the title Add a way to change the Bus transport dynamically [Mailer] Add a way to change the Bus transport dynamically Aug 7, 2022
@fabpot fabpot force-pushed the mailer-messenger-transport branch from 8f47f14 to ffe3600 Compare August 7, 2022 13:42
@fabpot fabpot merged commit d404246 into symfony:6.2 Aug 7, 2022
@fabpot fabpot deleted the mailer-messenger-transport branch August 7, 2022 13:43
@fabpot fabpot mentioned this pull request Oct 24, 2022
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.

[Messenger][Mailer] Ability to choose the Message class used by Mailer::send
4 participants