auto-delete property issue

212 views
Skip to first unread message

avinash kolla

unread,
Jun 10, 2021, 9:09:05 AM6/10/21
to rabbitmq-users
I am unable to create and connect to rabbitmq queues. please help me on this

 com.rabbitmq.client.ShutdownSignalException: channel error; protocol method: #method<channel.close>(reply-code=406, reply-text=PRECONDITION_FAILED - invalid property 'auto-delete' for queue 'TEST' in vhost '/', class-id=50, method-id=10)

I am declaring the quorum queue with auto-delete=true. 
it's working when i declare auto-delete=false but i need this property.

Thanks & regards,
Avinash

Hans-Martin Mosner

unread,
Jun 10, 2021, 9:58:59 AM6/10/21
to rabbitmq-users
Have you declared the queue before under the same name but with auto-delete=false? If a queue already exists, you an only redeclare it with the same properties.
You can delete the queue either using the management console or using the AMQP Queue.Delete method (how to do this depends on the client library you're using). Management console is probably easiest if you're just experimenting.

Cheers,
Hans-Martin

avinash kolla

unread,
Jun 10, 2021, 10:19:19 AM6/10/21
to rabbitmq-users
Hi Martin,

Thank you for responding.

I declared the queue with the same name but before re-deploying with auto-delete=true deleted the queue from console and exchange as well. Still getting the issue.

Thanks,
Avinash


--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/05ae73fc-9a35-4677-b1c1-1c101a234bccn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages