Azure Service Bus icon

Azure Service Bus

Send and receive messages from Azure Service Bus

Actions3

Queue → Send Message

AI-generated

Summary

Send one or more messages to a specified Azure Service Bus queue using either the Azure SDK or the HTTP REST API.

Inputs

  • Protocol — Protocol to use for Azure Service Bus connection, either 'Azure SDK (Recommended)' or 'HTTP REST API'.
  • Queue Name (required) — The name of the Azure Service Bus queue to which messages will be sent.
  • Message Body (required) — The content of the message to send. Can be a string, number, boolean, or JSON object/array.
  • Session ID — Optional session identifier for session-enabled queues/topics.
  • Message Properties — Optional key-value pairs to set as application properties on the message.
  • Content Type — Content type of the message, defaults to 'application/json'.
  • Message ID — Optional unique identifier for the message.

Output shape

A list of JSON objects, each indicating success status, the message ID (if set), the queue name, and the timestamp when the message was sent.

Each input item corresponds to one sent message; the operation returns matching output items. Errors are thrown if the message body is empty or the connection string/credentials are invalid. The SDK protocol sends messages via the official Azure Service Bus client with WebSocket support fallback; the HTTP option uses the REST API and generates a SAS token for authentication.

Links

Discussion