Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RabbitMQ: Improve convention routing flexibility and move binding creation to queues #950

Open
wants to merge 4 commits into
base: 3.0
Choose a base branch
from

Conversation

Hawxy
Copy link
Contributor

@Hawxy Hawxy commented Jun 27, 2024

For 3.0. Docs will be done in a follow-up PR.

  • Add support for Headers exchange
  • Add support for custom exchange bindings as part of conventional routings
  • Move binding declare to queues
  • Support binding creation in either direction within configuration model
  • New test coverage
  • Replacement for Exchange's Direct routing key logic

Changes for release notes

### RabbitMQ Conventional Routing Improvements
- Conventional routing entity creation has been split between the sender and receive side. Previously the sender would generate all exchange and queue bindings, but now if the sender has no handlers for a specific message, the queues will not be created.
- Queue bindings can now be manually overridden on a per-message basis via `BindToExchange`, this is useful for scenarios where you wish to use conventional naming between different applications but need other exchange types apart from `FanOut`.

### General RabbitMQ Changes
- Added support for Headers exchange
- Queues now apply bindings instead of exchanges. This is an internal change and shouldn't result in any obvious differences for users.
- Within the configuration model, Queues can now bind to Exchanges, alongside the existing model of Exchanges binding to Queues.

@Hawxy Hawxy changed the title Improve convention routing flexibility and move binding creation to queues RabbitMQ: Improve convention routing flexibility and move binding creation to queues Jun 27, 2024
@Hawxy Hawxy changed the base branch from main to 3.0 June 30, 2024 04:25
@Hawxy Hawxy marked this pull request as ready for review June 30, 2024 07:44
@Hawxy Hawxy force-pushed the headerconventions branch 2 times, most recently from db4bfdd to c29480b Compare July 1, 2024 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant