Skip to content

@31vi5 31vi5 released this May 21, 2018 · 17 commits to master since this release

Fixed publishing of messages to exchanges.

Exchanges now accept connection parameter.

Breaking changes:

  • Producer::publish() method of class now accepts third parameter $routingKey, which allows to propagate messages correctly through exchanges.
  • Exchanges now publish messages in a different way. If you relied on the old (incorrect) way, you will probably have to adjust your code as the old version published one messages for each bound queue with a routing key that was defined in config for the queue binding (instead of message's routing key) basically rendering all exchanges as type fanout in better case, in worse case, if two or more queues shared a routing key, they would have received the message N times where N is the number of queues bound with the same key.
Assets 2
You can’t perform that action at this time.