[Messenger] Is there a way to consume all transports without providing their names (?) #51989
Unanswered
VincentLanglet
asked this question in
Q&A
Replies: 2 comments
-
Inspecting it looks like it's not possible right now (I wonder why it doesn't throw on empty receivers when running messenger:consume --no-interaction ).
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Here is the solution :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm trying a migration from enqueue (https://github.com/php-enqueue/enqueue) to symfony messenger.
When running the consumer, I was using
which was consuming all the queues, thanks to this code
https://github.com/php-enqueue/enqueue/blob/master/Symfony/Client/ConsumeCommand.php#L118-L120
When running
I'm getting prompt about which transport I want to consume, isnt a way to run something like
--all
in order to consume everything ? I know I can listbut this means I have to update every time this command when I add new transport.
For the record, I'm using different transports in order to put messages in different queue, following the doc
Beta Was this translation helpful? Give feedback.
All reactions