Azure Service Bus Receive Queue Message

Azure Service Bus icon

Description

This process action receives a message from a queue in an Azure Service Bus namespace.

To use this tool, you need a Microsoft Azure Service Bus metadata object, and a process in which you want to work with Azure Service Bus.

Setup

  1. Add the process action Azure Service Bus Receive Queue Message from the Process Palette, under the Connectors section.

  2. Configure the action by dragging and dropping one of the following Microsoft Azure Service Bus metadata nodes onto the action:

    • Top-level Microsoft Azure Service Bus metadata node

    • Queue

  3. Set other action parameters as needed.

If you drag and drop a queue node onto this action, the action inherits the queue name from the metadata. You can set this parameter in the action to override the inherited value.

Parameters

Name Default Description

Name

AzureServiceBusReceiveQueueMessage

Display name for the action in Designer

Max messages

Number of messages to retrieve. The action waits until this number is reached, or when the max wait time is reached.

Max wait time

Maximum time the action should wait for messages.

Queue name

Name of the queue to receive messages from. When set, overrides any values inherited from metadata.

Output

This action exposes received messages as a bind, with the following parameters per message:

Name Description

CREATION_TIME

Timestamp representing when the message was inserted into the queue

MESSAGE_CONTENT

Body of the message

MESSAGE_ID

Unique id linked to the message

SEQUENCE_NUMBER

Position of the message in the queue

Process variables

This action exposes the following process variable:

Variable name Description

AZURE_SERVICE_BUS_RECEIVED_MESSAGES

Number of messages received using Azure Service Bus Receive Queue Message or Azure Service Bus Receive Subscription Message actions.