
Publish
CertifiedPublish messages to an Azure Service Bus queue
Publish
Certified
Publish messages to an Azure Service Bus queue
yaml
type: io.kestra.plugin.azure.servicebus.PublishExamples
yaml
id: azure_cosmos_service_bus_publish
namespace: company.team
tasks:
- id: create
type: io.kestra.plugin.azure.servicebus.Publish
queueName: your-queue-name
tenantId: "{{ secret('AZURE_TENANT_ID') }}"
clientId: "{{ secret('AZURE_CLIENT_ID') }}"
clientSecret: "{{ secret('AZURE_CLIENT_SECRET') }}"
from:
timeToLive: PT10S
body: "messageBody"
Properties
from *Requiredstringarray
Definitions
io.kestra.plugin.azure.servicebus.Message
applicationPropertiesobject
bodyobject
messageIdstring
subjectstring
timeToLivestring
Format
durationtenantId *Requiredstring
clientId string
clientSecret string
connectionString string
pemCertificate string
pluginDefaultsRef Non-dynamicstring
queueName string
serdeType string
Default
STRINGPossible Values
STRINGJSONsubscriptionName string
topicName string
Outputs
messagesCount integer
Metrics
servicebus.publish.queue.messages counter
Unit
messagesservicebus.publish.topic.messages counter
Unit
messages