Commit 004aa198 authored by Lucas Boudereaux's avatar Lucas Boudereaux

Merge branch 'fully_configure_rabbit_queues_0.2.0' into 'master'

[FEAT] Add possibility to fully configure rabbit queue

See merge request open-source/agrabbitmq!5
parents 1f9d5152 4daa7b3f
......@@ -19,8 +19,8 @@ class RMQConnector
$config["address"] ?? "rabbitmq://guest:guest@127.0.0.1:5672"
);
self::$client->connect();
self::$client->connectToChannel($config["queue"] ?? "jakku", false, true, false, false);
}
self::$client->connectToChannel($config["queue"] ?? "jakku", $config["passive"] ?? false, $config["durable"] ?? true, $config["exclusive"] ?? false,
$config["auto_delete"] ?? false); }
return self::class;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment