Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
[messenger] Adds a stamp to provide a routing key on message publishing #30008
Adds a stamp allowing to set a
$message = (new Envelope('message'))->with(new RoutingKeyStamp('routing_key')); $bus->dispatch($message);
Please correct me if I am wrong. As far as I can see, this PR addresses only the second section of the referencing issue which is "MessageBus::dispatch" where
Thanks for the PR! Let's chat about this :).
We can (or will soon) have the ability for
So, yea, I think we still do need another PR that allows people to create multiple queues per AMQP transport, each with one or more routing keys.
referenced this pull request
Mar 29, 2019
I've added the second half of this (many queues per transport) on #30770.
@G15N Your work is included over on my PR. However, I did NOT intend to "hijack" your PR. In fact, I'm super busy and nothing would make me happier than for you to pull my 1 new commit back into your branch, and for you to be able to finish everything right here. I realize that this is now bigger than you initially may have thought, but if you are interested in finishing this, please let me know and please do! You can always ping me directly on the Symfony Slack if you have any questions.