Skip to content

Exchange

faststream.asyncapi.schema.bindings.amqp.Exchange #

Bases: BaseModel

A class to represent an exchange.

autoDelete class-attribute instance-attribute #

autoDelete: Optional[bool] = None

durable class-attribute instance-attribute #

durable: Optional[bool] = None

name class-attribute instance-attribute #

name: Optional[str] = None

type instance-attribute #

type: Literal[
    "default", "direct", "topic", "fanout", "headers"
]

vhost class-attribute instance-attribute #

vhost: str = '/'