From 604c94b32e1a295b023c9219cf6cfd254be0f5b7 Mon Sep 17 00:00:00 2001 From: Olivier Mansour Date: Fri, 17 Apr 2015 10:31:48 +0200 Subject: [PATCH] add the event_dispatcher option --- README.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1bee62b..f22518a 100644 --- a/README.md +++ b/README.md @@ -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: @@ -185,4 +194,4 @@ rabbitmq: ports: - "15672:15672" - "5672:5672" -``` \ No newline at end of file +```