Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
minor #27203 [Messenger][DX] Uses a default receiver when only one is…
… defined (sroze) This PR was squashed before being merged into the 4.1 branch (closes #27203). Discussion ---------- [Messenger][DX] Uses a default receiver when only one is defined | Q | A | ------------- | --- | Branch? | 4.1 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | ø | License | MIT | Doc PR | ø When using only one receiver, as a developer, it makes no sense for me to have to precise the receiver name when using the `messenger:consume-messages` command. This is the change: ```patch - bin/console messenger:consume-messages default + bin/console messenger:consume-messages ``` If I have more than one transport configured, I'll get the following message: > > You have 0 or more than one receiver (no default have been found). You need to specify the receiver name with an argument. > Commits ------- 8315b86 [Messenger][DX] Uses a default receiver when only one is defined
- Loading branch information
Showing
4 changed files
with
52 additions
and
7 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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