ocrd_network.rabbitmq_utils.publisher module¶
The source code in this file is adapted by reusing some part of the source code from the official RabbitMQ documentation.
- class ocrd_network.rabbitmq_utils.publisher.RMQPublisher(host: str = 'localhost', port: int = 5672, vhost: str = '/')[source]¶
Bases:
RMQConnector
- create_queue(queue_name: str, exchange_name: str | None = None, exchange_type: str | None = None, passive: bool = False) None [source]¶