Skip to content

Commit

Permalink
README - example configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
paveljanda committed May 5, 2017
1 parent a6f49c2 commit 237cecc
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
Example configuration:

```
services:
- App\Queue\RabbitMq\Consumer\TestConsumer
rabbitmq:
connections:
default:
user: guest
password: guest
host: localhost
port: 5672
queues:
testQueue:
connection: default
exchanges:
testExchange:
type: fanout
queueBindings:
testQueue:
producers:
testProducer:
exchange: testExchange
# queue: testQueue
contentType: application/json
consumers:
testConsumer:
queue: testQueue
callback: [@App\Queue\RabbitMq\Consumer\TestConsumer, consume]
```

0 comments on commit 237cecc

Please sign in to comment.