Skip to content

Commit 600cfd0

Browse files
committed
Update README
1 parent 011a0d4 commit 600cfd0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,14 @@ For Lumen usage the service provider should be registered manually as follow in
8989
$app->register(VladimirYuldashev\LaravelQueueRabbitMQ\LaravelQueueRabbitMQServiceProvider::class);
9090
```
9191

92+
## Consuming Messages
93+
94+
There are two ways of consuming messages.
95+
96+
1. `queue:work` command which is Laravel's built-in command. This command utilizes `basic_get`.
97+
98+
2. `rabbitmq:consume` command which is provided by this package. This command utilizes `basic_consume` and is more performant than `basic_get` by ~2x.
99+
92100
## Testing
93101

94102
Setup RabbitMQ using `docker-compose`:

0 commit comments

Comments
 (0)