AzureServiceBusSendMessageOperator

Microsoft Azure

Send Message or batch message to the Service Bus queue

View on GitHub

Last Updated: Oct. 23, 2022

Access Instructions

Install the Microsoft Azure provider package into your Airflow environment.

Import the module into your DAG file and instantiate it with your desired params.

Parameters

queue_nameRequiredThe name of the queue. should be unique.
messageRequiredMessage which needs to be sent to the queue. It can be string or list of string.
batchIts boolean flag by default it is set to False, if the message needs to be sent as batch message it can be set to True.
azure_service_bus_conn_idReference to the :ref: Azure Service Bus connection.

Documentation

Send Message or batch message to the Service Bus queue

See also

For more information on how to use this operator, take a look at the guide: Send Message to Azure Service Bus Queue

Was this page helpful?