Skip to content

Using blank queue name results in error on reconnection #18

@leearmstrong

Description

@leearmstrong

When using an auto named queue it seems that it creates it fine first time but on a reconnect the RabbitMQ server issues the following error.

Client error: Exception (403) Reason: "ACCESS_REFUSED - queue name 'amq.gen-zOW_J2f1kRwrKFY-DvZBGw' contains reserved prefix 'amq.*'"
Client error: Exception (504) Reason: "channel/connection is not open"
Client error: Exception (504) Reason: "channel/connection is not open"
Consumer error: Exception (404) Reason: "NOT_FOUND - no previously declared queue"

Then no messages are received and it won't work again until a restart. I presume it is trying to use the name it connected with on the first connection and try to recreate that queue but due to the name it is not allowed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions