Fix missing AMQPConnection errors in setup
Also fixes them elsewhere, apart from having switched to a vendorized version, I also used one that is already namespaced. The easy way out here is to use it in the namespaced fashion, it is only used in a few places and I know the library well enough to be certain that nothing much changed apart from the namespacing.
This commit is contained in:
parent
7f3f420763
commit
21a319767f
4 changed files with 11 additions and 6 deletions
|
@ -62,7 +62,7 @@ class RabbitMQSetup extends Setup {
|
|||
}
|
||||
|
||||
function checkRMQConnection() {
|
||||
$conn = new AMQPConnection(self::$_properties["host"],
|
||||
$conn = new \PhpAmqpLib\Connection\AMQPConnection(self::$_properties["host"],
|
||||
self::$_properties["port"],
|
||||
self::$_properties["user"],
|
||||
self::$_properties["password"],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue