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 4ea8166 commit 2a2917dCopy full SHA for 2a2917d
RabbitMq/Producer.php
@@ -46,6 +46,6 @@ public function publish($msgBody, $routingKey = '', $additionalProperties = arra
46
}
47
48
$msg = new AMQPMessage((string) $msgBody, array_merge($this->getBasicProperties(), $additionalProperties));
49
- $this->ch->basic_publish($msg, $this->exchangeOptions['name'], (string) $routingKey);
+ $this->getChannel()->basic_publish($msg, $this->exchangeOptions['name'], (string) $routingKey);
50
51
0 commit comments