Commit 4daa7b3f authored by Lucas Boudereaux's avatar Lucas Boudereaux

[FEAT] Add possibility to fully configure rabbit queue

parent 1f9d5152
......@@ -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