Description
Sends a message to the Azure Service Bus queue using a SAS key name \ value pair for authentication.
Signature
AzureServiceBusSendMessage('servicebusqueueurl', 'sas-key-name', 'sas-key-value', 'namespaceurl', 'messageformat', 'message')
Note : 'messageformat' can take in two types of format , JSON and XML.
Example
The example below uses a SAS key name \ value pair to send a JSON message to the queue named 'n52bpa'.AzureServiceBusSendMessage(
'https://n52bpa-sb-north52v2.servicebus.windows.net/n52bpa/messages',
'RootManageSharedAccessKey',
'HKutpMU25diCyJyl5X0BO5sYw8nfkx6gI1VyppEFAII2',
'https://n52bpa-sb-north52v2.servicebus.windows.net',
'json',
'{"name":"John", "age":31, "city":"New York"}')
Parameters
Name | Type | Description | Required |
---|---|---|---|
fromdate | xxxx | xxxx | xxxx |
todate | xxxx | xxxx | xxxx |
interval | xxxx | xxxx | xxxx |