Skip to content

Commit

Permalink
add the event_dispatcher option
Browse files Browse the repository at this point in the history
  • Loading branch information
omansour committed Apr 17, 2015
1 parent 645c2b5 commit 604c94b
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,16 @@ $ composer update m6web/amqp-bundle
## Usage ##
Add the `m6_web_amqp` section in your configuration file:
Add the `m6_web_amqp` section in your configuration file.
By default, the sf2 event dispatcher will throw an event on each command (the event contains the AMQP command and the time used to execute it). To disable this feature :
```yaml
m6_web_amqp:
event_dispatcher: false
```
Here a configuration example :
```yaml
m6_web_amqp:
Expand Down Expand Up @@ -185,4 +194,4 @@ rabbitmq:
ports:
- "15672:15672"
- "5672:5672"
```
```

0 comments on commit 604c94b

Please sign in to comment.