Channel
faststream.rabbit.Channel dataclass
#
Channel(
prefetch_count=None,
channel_number=None,
publisher_confirms=True,
on_return_raises=False,
)
Channel class that represents a RabbitMQ channel.
channel_number class-attribute
instance-attribute
#
Specify the channel number explicit.
publisher_confirms class-attribute
instance-attribute
#
if True
the :func:aio_pika.Exchange.publish
method will be return :class:bool
after publish is complete. Otherwise the :func:aio_pika.Exchange.publish
method will be return :class:None
on_return_raises class-attribute
instance-attribute
#
raise an :class:aio_pika.exceptions.DeliveryError
when mandatory message will be returned