View definition

(*Channel).QueueDeclarePassive

Defined in github.com/streadway/amqp/channel.go

Description

QueueDeclarePassive is functionally and parametrically equivalent to QueueDeclare, except that it sets the "passive" attribute to true. A passive queue is assumed by RabbitMQ to already exist, and attempting to connect to a non-existent queue will cause RabbitMQ to throw an exception. This function can be used to test for the existence of a queue.

QueueDeclarePassive is referenced in 1 repository

github.com/mission-liao/dingo