---
name: "Message::Passing::AMQP::Role::DeclaresExchange"
section: "3pm"
platform: "linux"
package: "libmessage-passing-amqp-perl"
version: "0.008-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Message::Passing::AMQP::Role::DeclaresExchange"
---

# Message::Passing::AMQP::Role::DeclaresExchange(3pm)

Role for instances which have an AMQP exchange.

## NAME

Message::Passing::AMQP::Role::DeclaresExchange - Role for instances which have an AMQP exchange.

## ATTRIBUTES

### exchange\_name

Defines the exchange name, required.

### exchange\_type

Is one of topic, direct, fanout or headers, defaults to topic.

### exchange\_durable

Defines if the exchange is durable, defaults to true.

### exchange\_auto\_delete

Defines if the exchange will be auto-deleted after the connection is closed, defaults to false.

## AUTHOR, COPYRIGHT AND LICENSE

See Message::Passing::AMQP.
