Skip to content

Commit b6e8302

Browse files
Merge branch '4.1'
* 4.1: SCA: removed unused variables Remove duplicate condition fix useless space in docblock remove unneeded tearDown method [Intl] Update the ICU data to 63.1 [FrameworkBundle] Fix broken exception message [Messenger] send using the routing_key for AMQP transport also clean away the NO_AUTO_CACHE_CONTROL_HEADER if we have no session [TwigBundle] Fix usage of TwigBundle without FrameworkBundle Revert "fixed CS" [Serializer] Reduce class discriminator overhead Skip empty proxy code [Security] Fix "exclude-from-classmap" [Security] Removed unsed trait import [Config] Fix @method annotation add missing double-quotes to extra_fields output message [DI] Default undefined env to empty string during compile Convert InsufficientAuthenticationException to HttpException
2 parents d168f2f + 1ebec29 commit b6e8302

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Transport/AmqpExt/Connection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public function publish(string $body, array $headers = array()): void
102102
$this->setup();
103103
}
104104

105-
$this->exchange()->publish($body, null, AMQP_NOPARAM, array('headers' => $headers));
105+
$this->exchange()->publish($body, $this->queueConfiguration['routing_key'] ?? null, AMQP_NOPARAM, array('headers' => $headers));
106106
}
107107

108108
/**

0 commit comments

Comments
 (0)