Skip to content

Commit

Permalink
[FIX#21027] Apparemment mes changements ont pete rabbitmq
Browse files Browse the repository at this point in the history
- Changement de l'initialisation du client de rabbitmq, sorry
  • Loading branch information
Thierry THONGKHAM committed Mar 1, 2016
1 parent 6d0b4fe commit d2786b6
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/RabbitMQ.php
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
]);
}

Expand Down

0 comments on commit d2786b6

Please sign in to comment.