From d2786b6b2f9e96b081517c78954c4d916799c235 Mon Sep 17 00:00:00 2001 From: Thierry THONGKHAM Date: Tue, 1 Mar 2016 10:40:42 +0100 Subject: [PATCH] [FIX#21027] Apparemment mes changements ont pete rabbitmq - Changement de l'initialisation du client de rabbitmq, sorry --- src/RabbitMQ.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/RabbitMQ.php b/src/RabbitMQ.php index dfea289..80585a5 100644 --- a/src/RabbitMQ.php +++ b/src/RabbitMQ.php @@ -9,11 +9,9 @@ trait RabbitMQ static private function getRabbitMqClient() { return new Client([ - "base_url" => "http://127.0.0.1:15672", - "defaults" => [ - "headers" => ["Content-Type" => "application/json"], - "auth" => ["guest", "guest"], - ], + "base_uri" => "http://127.0.0.1:15672", + "headers" => ["Content-Type" => "application/json"], + "auth" => ["guest", "guest"] ]); }