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

Skip to content

[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
merged 1 commit into from
Nov 30, 2019
Merged

[Mailer] Allow to configure or disable the message bus to use #34648

merged 1 commit into from
Nov 30, 2019

Conversation

ogizanagi
Copy link
Contributor

@ogizanagi ogizanagi commented Nov 27, 2019

Q A
Branch? master
Bug fix? no
New feature? yes
Deprecations? no
Tickets #34633
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.

@voodooism
Copy link
Contributor

voodooism commented Nov 27, 2019

It is a really nice approach! I mentioned the problem in this issue

@fabpot
Copy link
Member

fabpot commented 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
@fabpot fabpot merged commit 42fd0cf into symfony:master Nov 30, 2019
@ogizanagi ogizanagi deleted the mailer/allow_configure_message_bus branch November 30, 2019 11:23
@nicolas-grekas nicolas-grekas modified the milestones: next, 5.1 May 4, 2020
@fabpot fabpot mentioned this pull request May 5, 2020
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants