We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb12079 commit b9e5d44Copy full SHA for b9e5d44
RabbitManagementExtensionTrait.php
@@ -11,7 +11,7 @@ trait RabbitManagementExtensionTrait
11
*/
12
private function removeQueue($queueName)
13
{
14
- $dsn = new Dsn(getenv('RABBITMQ_AMQP_DSN'));
+ $dsn = Dsn::parseFirst(getenv('RABBITMQ_AMQP_DSN'));
15
16
$url = sprintf(
17
'http://%s:15672/api/queues/%s/%s',
@@ -45,7 +45,7 @@ private function removeQueue($queueName)
45
46
private function removeExchange($exchangeName)
47
48
49
50
51
'http://%s:15672/api/exchanges/%s/%s',
0 commit comments