Send message to Azure Service Bus

Last published at: May 14th, 2024

Description:

Send message to Azure service bus.

Inputs

  • connectionString - Azure connection
  • messageQueue - Message queue
  • message - Message to send
  • messageParms - Message parameters 

Returns

  • True – step executed successfully
  • False – step failed to execute 

Usage:

Example:

Let’s build and execute the sendAzureSBMessageDef example.          

  • Create a new definition called “sendAzureSBMessageDef
  • Select the definition and click the “design” button
  • Drag a sendAzureSBMessage step from the toolbox
  • Connect the dots between the start and sendAzureSBMessage step

  • Click on the “sendAzureSBMessage” step to configure its properties
  • Specify the Azure connection string in the “Azure connection string” textbox in the right panel
  • Specify the Message queue name to send the messages across in the “Message queue name” in the right panel as shown below

  • Define message params

  • Save the workflow definition
  • Create a workflow instance and execute
  • Workflow will start, send ESB message.