-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Mailer] Allow to configure or disable the message bus to use #34648
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
fabpot
merged 1 commit into
symfony:master
from
ogizanagi:mailer/allow_configure_message_bus
Nov 30, 2019
Merged
[Mailer] Allow to configure or disable the message bus to use #34648
fabpot
merged 1 commit into
symfony:master
from
ogizanagi:mailer/allow_configure_message_bus
Nov 30, 2019
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
It is a really nice approach! I mentioned the problem in this issue |
fabpot
approved these changes
Nov 30, 2019
Thank you @ogizanagi. |
fabpot
added a commit
that referenced
this pull request
Nov 30, 2019
… to use (ogizanagi) This PR was merged into the 5.1-dev branch. Discussion ---------- [Mailer] Allow to configure or disable the message bus to use | Q | A | ------------- | --- | Branch? | master <!-- see below --> | Bug fix? | no | New feature? | yes <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tickets | #34633 <!-- prefix each issue number with "Fix #", if any --> | License | MIT | Doc PR | todo A new `mailer.message_bus` option allowing to choose the message bus to use instead of using the default one. Also allows to set it to `false` so no message bus is used and the transport will be called directly. Commits ------- 42fd0cf [Mailer] Allow to configure or disable the message bus to use
Merged
3 tasks
OskarStark
added a commit
to symfony/symfony-docs
that referenced
this pull request
Mar 11, 2021
…chard) This PR was squashed before being merged into the 5.2 branch. Discussion ---------- [Mailer] Configuration of the message_bus to use <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `5.x` for features of unreleased versions). --> Documents symfony/symfony#34648 Closes #12736 Commits ------- 2d924e8 [Mailer] Configuration of the message_bus to use
fabpot
added a commit
that referenced
this pull request
Dec 11, 2022
…ble the message bus to use (jschaedl, fabpot) This PR was merged into the 6.3 branch. Discussion ---------- [FrameworkBundle][Notifier] Allow to configure or disable the message bus to use | Q | A | ------------- | --- | Branch? | 6.3 | Bug fix? | no | New feature? | yes <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tickets | - <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead --> | License | MIT | Doc PR | tbd <!-- required for new features --> For the mailer integration there is already a possibility to disable or configure the `message_bus` to use. See: #34633 and #34648 This PR introduces a similar config option `notifier.message_bus` for the notifier integration. Things done: - [x] Add a config option `notifier.message_bus` for the notifier configuration - [x] Adjust FrameworkExtension considering the new `message_bus` config option - [x] Add tests for the new config option Commits ------- fc7aaa6 Fix logic and tests 215e802 Allow to configure or disable the message bus to use
symfony-splitter
pushed a commit
to symfony/framework-bundle
that referenced
this pull request
Dec 11, 2022
…ble the message bus to use (jschaedl, fabpot) This PR was merged into the 6.3 branch. Discussion ---------- [FrameworkBundle][Notifier] Allow to configure or disable the message bus to use | Q | A | ------------- | --- | Branch? | 6.3 | Bug fix? | no | New feature? | yes <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tickets | - <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead --> | License | MIT | Doc PR | tbd <!-- required for new features --> For the mailer integration there is already a possibility to disable or configure the `message_bus` to use. See: symfony/symfony#34633 and symfony/symfony#34648 This PR introduces a similar config option `notifier.message_bus` for the notifier integration. Things done: - [x] Add a config option `notifier.message_bus` for the notifier configuration - [x] Adjust FrameworkExtension considering the new `message_bus` config option - [x] Add tests for the new config option Commits ------- fc7aaa6123 Fix logic and tests 215e802741 Allow to configure or disable the message bus to use
symfony-splitter
pushed a commit
to symfony/framework-bundle
that referenced
this pull request
Jul 28, 2023
…ble the message bus to use (jschaedl, fabpot) This PR was merged into the 6.3 branch. Discussion ---------- [FrameworkBundle][Notifier] Allow to configure or disable the message bus to use | Q | A | ------------- | --- | Branch? | 6.3 | Bug fix? | no | New feature? | yes <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tickets | - <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead --> | License | MIT | Doc PR | tbd <!-- required for new features --> For the mailer integration there is already a possibility to disable or configure the `message_bus` to use. See: symfony/symfony#34633 and symfony/symfony#34648 This PR introduces a similar config option `notifier.message_bus` for the notifier integration. Things done: - [x] Add a config option `notifier.message_bus` for the notifier configuration - [x] Adjust FrameworkExtension considering the new `message_bus` config option - [x] Add tests for the new config option Commits ------- fc7aaa6123 Fix logic and tests 215e802741 Allow to configure or disable the message bus to use
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
A new
mailer.message_bus
option allowing to choose the message bus to use instead of using the default one.Also allows to set it to
false
so no message bus is used and the transport will be called directly.