Azure Service Bus Receive Subscription Message

Azure Service Bus icon

Description

This process action receives a message from a topic subscription 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 Subscription 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

    • Topic

    • Subscription

  3. Set other action parameters as needed.

If you drag and drop a topic or subscription node onto this action, the action inherits one or both names from the metadata. You can also set them in the action’s properties to override the inherited values.

Parameters

Name Default Description

Name

AzureServiceBusReceiveSubscriptionMessage

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.

Topic Name

Name of the topic that holds the subscription.

Subscription Name

Name of the subscription to receive messages from.

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 topic.

MESSAGE_CONTENT

Body of the message.

MESSAGE_ID

Unique id linked to the message.

SEQUENCE_NUMBER

Position of the message in the subscription.

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.