Extension to connect with Azure service bus in synchronous manner to send and receive messages from queue.
SendMessage Method -
connection : Connection string of the service bus, you can find out Shared access policies from your azure portal
queue - Azure service bus queue bus name
message - message you want to send to queue
success - Boolean output parameter to check that message is delivered to queue or not
ReceiveMessage Method -
message - output parameter from Azure service bus queue to show or check
Added async receiver using Azure Client Side Library. So It will listen queue in continues mode.
You need to pass parameters in JavaScript
event parameter should be a client action with one input parameter which will be used to receive message from service bus queue.
example : "$actions.Refresh(`${messageReceived.body}`)"
note : do not change parameter name of Refresh client action
Client Action Refresh which will be used as input for JavaScript and will receive message from service bus queue