View definition

(*Channel).ExchangeDeclarePassive

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

Description

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

ExchangeDeclarePassive is referenced in 2 repositories

github.com/mikechack/bootstrap github.com/taskcluster/pulse-go