Microsoft Azure Service Bus Publish

You can use this activity to publish messages on Azure Service Bus entities such as queues or topics.

Settings

The Settings tab has the following fields:

Field Description
Connection Lists all Microsoft Azure Service Bus connections. If no connection is found, create a Microsoft Azure Service Bus connection.
Entity Type The messaging entities, which form the core of the messaging capabilities in Azure Service Bus. There are two entity types, which are Queue and Topic.
Timeout Timeout in milliseconds for the operation of an activity.

Input Settings

The Input Settings tab has the following field:

Field Description
Custom Properties User can add the custom properties while publishing the messages.

Input

The Input tab has the following fields:

Field Description
queueName/topicName Name of the queue/topic to which the message would be published. Required.
messageString A valid string data, which has to be pushed to a queue/topic. Required.
brokerProperties The broker properties are predefined by the system. These predefined properties either control message-level functionality inside the broker, or they map to common and standardized metadata items of the broker. For example, the property TimetoLive sets the message's time to live value. The following is a list of brokerProperties available in the Publish activity.
  • ContentType
  • CorrelationId
  • Label
  • PartitionKey
  • ReplyTo
  • SessionId
  • TimeToLive
  • ScheduledEnqueueTimeUtc
  • To

Some properties of the Microsoft.ServiceBus.Messaging.BrokerMessage classes, which implement write methods are listed in this field. For a detailed reference, see the Microsoft Azure Service Bus documentation.

customProperties These properties are populated when you add custom properties on the Input Settings tab of Publish activity.

Output

The Output tab displays the output schema of the activity in a tree structure format. The output is read-only.

Message Description
responseMessage The information or acknowledgment after publishing the message. This also contains exception information in case of failures.

Loop

The schema for the output of this activity is displayed in a tree format on this tab. The schema varies according to the object that you selected on the Settings tab. The elements that you see in the schema can be mapped as input to the activities that follow this activity in the flow.