Skip to content

No ability to set different auto_delete setting for both exchange and queue. #31

@ask

Description

@ask

When declaring a "Consumer", the exchange is also declared. This means the consumers auto_delete setting will be used for the exchange as well.

I see some solutions here:

  1. Don't declare the exchange in the consumer.
  2. Have the ability to use an Exchange as the exchange argument:
 e = Exchange("foo", "direct", auto_delete=True)
 c = Consumer(queue="foo", exchange=e, auto_delete=False)

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