Bases: ProducerProto[RabbitPublishCommand]
connect
connect(
serializer: Optional[SerializerProto] = None,
codec: Optional[CodecProto] = None,
) -> None
Source code in faststream/rabbit/publisher/producer.py
| def connect(
self,
serializer: Optional["SerializerProto"] = None,
codec: Optional["CodecProto"] = None,
) -> None: ...
|
disconnect
Source code in faststream/rabbit/publisher/producer.py
| def disconnect(self) -> None: ...
|
publish abstractmethod async
Source code in faststream/rabbit/publisher/producer.py
| @abstractmethod
async def publish(
self,
cmd: "RabbitPublishCommand",
) -> Optional["aiormq.abc.ConfirmationFrameType"]: ...
|
request abstractmethod async
Source code in faststream/rabbit/publisher/producer.py
| @abstractmethod
async def request(self, cmd: "RabbitPublishCommand") -> "IncomingMessage": ...
|
publish_batch async
Source code in faststream/rabbit/publisher/producer.py
| @override
async def publish_batch(self, cmd: "RabbitPublishCommand") -> None:
msg = "RabbitMQ doesn't support publishing in batches."
raise FeatureNotSupportedException(msg)
|