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

Use a more declarative approach to message routing #4

Open
Baptouuuu opened this issue Jan 25, 2024 · 0 comments
Open

Use a more declarative approach to message routing #4

Baptouuuu opened this issue Jan 25, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Baptouuuu
Copy link
Member

The current system of Commands already allows a declarative approach to create exchanges and queues but the commands are tightly tied to the protocol structure. Even though this works fine it is sometime hard to understand the flow of messages from an exchange to queues.

In order to solve this we could create a meta Command that could be used like Queue::of('x')->willReceiveFrom('y')->viaRoutingKey('z'). Essentially this a factory for a set of Commands that already exist.

@Baptouuuu Baptouuuu added the enhancement New feature or request label Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant