We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a6f49c2 commit 237ceccCopy full SHA for 237cecc
README.md
@@ -0,0 +1,36 @@
1
+Example configuration:
2
+
3
+```
4
+services:
5
+ - App\Queue\RabbitMq\Consumer\TestConsumer
6
7
8
+rabbitmq:
9
+ connections:
10
+ default:
11
+ user: guest
12
+ password: guest
13
+ host: localhost
14
+ port: 5672
15
16
+ queues:
17
+ testQueue:
18
+ connection: default
19
20
+ exchanges:
21
+ testExchange:
22
+ type: fanout
23
+ queueBindings:
24
25
26
+ producers:
27
+ testProducer:
28
+ exchange: testExchange
29
+ # queue: testQueue
30
+ contentType: application/json
31
32
+ consumers:
33
+ testConsumer:
34
+ queue: testQueue
35
+ callback: [@App\Queue\RabbitMq\Consumer\TestConsumer, consume]
36
0 commit comments