Skip to content

Publish / Subscribe implementation #18

@hmihail

Description

@hmihail

Hi,

I am pretty new with this, so please excuse me if my question is stupid.

I want to implement a publish / subscribe pattern with a class let's call it Order. I want to be able to have 2 subscriptions, based on the Order state, and also to be able to subscribe with more than one instance, and get all the messages, not round-robin them.

I've created an exchange, fanout, and bind two queues to it, one for new Orders and one for finished Orders. No routing key to the bindings.

Is this approach good, because I can't get it to work. Any ideas, maybe an example?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions