Skip to main content

RabbitMQ

When started up, the OpenTalk SMTP Mailer connects to the configured RabbitMQ queue and consumes the messages it receives from there. These messages must follow the definition of the OpenTalk Mail Worker Protocol.

Configuration

The section in the configuration file is called rabbit_mq.

FieldTypeRequiredDefault valueDescription
urlstringno"amqp://guest:guest@localhost:5672"The RabbitMQ broker URL
mail_task_queuestringyes-The name of the RabbitMQ queue for the SMTP mailer

Example

[rabbit_mq]
url = "amqp://username:password@localhost/%2F"
mail_task_queue = "opentalk_mailer"