Skip to content

channel.default_exchange doesn't behave like default exchange #24

@hading

Description

@hading

The default exchange should (as I understand - please correct if I'm wrong) route a message to a queue specified by the routing_key even if it is not explicitly bound (ala https://www.rabbitmq.com/tutorials/amqp-concepts.html under "Default Exchange")

So something like:

channel.default_exchange.publish('message', routing_key: 'test_queue', persistent: true)

should always send the message 'message' to the queue 'test_queue', even with no explicit binding, assuming that that queue exists.

This doesn't seem to happen with BunnyMock.

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