Exchange
faststream.specification.schema.bindings.amqp.Exchange dataclass #
Exchange(
type: Literal[
"default",
"direct",
"topic",
"fanout",
"headers",
"x-delayed-message",
"x-consistent-hash",
"x-modulus-hash",
],
name: str | None = None,
durable: bool | None = None,
auto_delete: bool | None = None,
)
type instance-attribute #
type: Literal[
"default",
"direct",
"topic",
"fanout",
"headers",
"x-delayed-message",
"x-consistent-hash",
"x-modulus-hash",
]
is_respect_routing_key property #
is_respect_routing_key: bool
Is exchange respects routing key or not.
from_exchange classmethod #
from_exchange(exchange: RabbitExchange) -> Exchange