Skip to content

Use a more declarative approach to message routing #4

Description

@Baptouuuu

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions