Skip to content

Commit f4db0b5

Browse files
committed
Document missing support for multiple queues while using php artisan rabbitmq:consume
1 parent 586d230 commit f4db0b5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ There are two ways of consuming messages.
270270

271271
1. `queue:work` command which is Laravel's built-in command. This command utilizes `basic_get`.
272272

273-
2. `rabbitmq:consume` command which is provided by this package. This command utilizes `basic_consume` and is more performant than `basic_get` by ~2x.
273+
2. `rabbitmq:consume` command which is provided by this package. This command utilizes `basic_consume` and is more performant than `basic_get` by ~2x, but does not support multiple queues.
274274

275275
## Testing
276276

src/Console/ConsumeCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class ConsumeCommand extends WorkCommand
1111
protected $signature = 'rabbitmq:consume
1212
{connection? : The name of the queue connection to work}
1313
{--name=default : The name of the consumer}
14-
{--queue= : The names of the queues to work}
14+
{--queue= : The name of the queue to work. Please notice that there is no support for multiple queues}
1515
{--once : Only process the next job on the queue}
1616
{--stop-when-empty : Stop when the queue is empty}
1717
{--delay=0 : The number of seconds to delay failed jobs (Deprecated)}

0 commit comments

Comments
 (0)