Skip to content

Commit c5096a3

Browse files
Improve usage and installation description
1 parent af19b7d commit c5096a3

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# RedisTransportBundle
1+
# RedisTransportBundle
22

33
[![GitHub license](https://img.shields.io/github/license/handcraftedinthealps/RedisTransportBundle.svg)](https://github.com/handcraftedinthealps/RedisTransportBundle/blob/master/LICENSE)
44
[![GitHub tag (latest SemVer)](https://img.shields.io/github/tag/handcraftedinthealps/RedisTransportBundle.svg)](https://github.com/handcraftedinthealps/RedisTransportBundle/releases)
@@ -17,14 +17,14 @@ A symfony messenger transport implementation for redis streams.
1717
You need [composer](https://getcomposer.org) to install this bundle to your symfony application.
1818

1919
```bash
20-
composer require handcraftedinthealps/redis-transport-bundle:dev-master
20+
composer require handcraftedinthealps/redis-transport-bundle
2121
```
2222

2323
## Configuration
2424

2525
### Symfony
2626

27-
When using the **Symfony/FrameworkBundle** you can configure the following:
27+
When using the **symfony/framework-bundle** you can configure the following:
2828

2929
```yaml
3030
# config/packages/framework.yaml
@@ -55,3 +55,11 @@ $this->messageBus->dispatch(
5555
)
5656
);
5757
```
58+
59+
And you can consume the messages with:
60+
61+
```bash
62+
bin/console messenger:consume-messages redis_stream
63+
```
64+
65+
Have also a look at the the [messenger component documentation](https://symfony.com/doc/current/components/messenger.html) and [messenger usage documentation](https://symfony.com/doc/current/messenger.html).

0 commit comments

Comments
 (0)