bug #28955 [Messenger] send using the routing_key for AMQP transport (nicolas-grekas)
This PR was merged into the 4.1 branch.
Discussion
----------
[Messenger] send using the routing_key for AMQP transport
| Q | A
| ------------- | ---
| Branch? | master
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #28133
| License | MIT
| Doc PR | -
Shouldn't we publish using the routing_key that is used by the listening queue?
Commits
-------
666d2d962b
[Messenger] send using the routing_key for AMQP transport
This commit is contained in:
commit
76b2541468
@ -98,7 +98,7 @@ class Connection
|
||||
$this->setup();
|
||||
}
|
||||
|
||||
$this->exchange()->publish($body, null, AMQP_NOPARAM, array('headers' => $headers));
|
||||
$this->exchange()->publish($body, $this->queueConfiguration['routing_key'] ?? null, AMQP_NOPARAM, array('headers' => $headers));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user