ASB Producer

In this article

Overview

ASB Producer is a Write-type Snap that allows you to send messages to a queue in Azure Service Bus (ASB).

Prerequisites

  • A valid Azure Service Bus account.

  • Valid Namespace and SharedAccessKey in Azure Service Bus.

Support for Ultra Pipelines  

Works in Ultra Pipelines

Limitations and Known Issues

None.

Snap Views

Type

Format

Number of Views

Examples of Upstream and Downstream Snaps

Description

Type

Format

Number of Views

Examples of Upstream and Downstream Snaps

Description

Input 

Document

 

  • Min: 0

  • Max: 1

  • Mapper Snap

  • Copy Snap

  • Sequence Snap

A key-value pair for the message.

Output

Document

  • Min: 0

  • Max: 1

  • None

The Consumer Snap is decoupled from the Producer Snap.

Message records. 

Error

Error handling is a generic way to handle errors without losing data or failing the Snap execution. You can handle the errors that the Snap might encounter while running the Pipeline by choosing one of the following options from the When errors occur list under the Views tab. The available options are:

  • Stop Pipeline Execution: Stops the current pipeline execution when the Snap encounters an error.

  • Discard Error Data and Continue: Ignores the error, discards that record, and continues with the rest of the records.

  • Route Error Data to Error View: Routes the error data to an error view without stopping the Snap execution.

Learn more about Error handling in Pipelines.

Snap Settings

  • Asterisk (*): Indicates a mandatory field.

  • Suggestion icon ( ): Indicates a list that is dynamically populated based on the configuration.

  • Expression icon (): Indicates whether the value is an expression (if enabled) or a static value (if disabled). Learn more about Using Expressions in SnapLogic.

  • Add icon ( ): Indicates that you can add fields in the field set.

  • Remove icon (): Indicates that you can remove fields from the field set.

Field Name

Field Type

Field Dependency

Description

Field Name

Field Type

Field Dependency

Description

Label*

String

N/A

Specify a unique name for the Snap. You can modify this to be more specific, especially if you have more than one of the same Snap in your Pipeline.

Default ValueASB Producer
ExampleASB Producer

Destination Type

Dropdown list

Enables Queue and Topic fields.

Choose an option where the messages should be sent. Available options are:

  • QUEUE: Messages are sent to the queue.

  • TOPIC: Messages are sent to the topic.

Queue

String/Expression

Enabled on selecting QUEUE for Destination Type.

Specify the name of the queue to which the message should be added. Alternatively, click the Suggestion icon to get the list of Queues corresponding to the Azure Service Bus account and select a Queue.

Default Value: N/A
Example: 25queue

Topic

String/Expression

Enabled on selecting TOPIC for Destination Type.

Specify the topic to which the message should be published or subscribed. Alternatively, click the Suggestion