servicebus_send_batch
Send multiple messages to an Azure Service Bus queue or topic as a single batch. Ideal for seeding test data efficiently.
Instructions
Send multiple messages to an Azure Service Bus queue or topic in a single batch.
Each message in the 'messages' array should have:
body (string, required): the message content
session_id (string, optional)
correlation_id (string, optional)
application_properties (object, optional): key/value map of custom properties
scheduled_enqueue_time (string, optional): ISO 8601 time to enqueue the message
The entire batch is delivered in a single send operation. Useful for seeding test data.
connection_string_env_var: name of the environment variable holding the Service Bus connection string. If the variable is set, connection-string auth is used; otherwise DefaultAzureCredential is used.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | Yes | ||
| queue | Yes | ||
| messages | Yes | ||
| connection_string_env_var | No | AZURE_SERVICEBUS_CONNECTION_STRING |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |