# QueueStorage

Category: Azure
|
Runtime: 2.1+
|
Available: Free

# Overview

Azure QueueStorage node will enable to connect with the queue under the QueueStorage service provided by Azure. The node will help primarily to send or retrieve message from the queue.

# Setup

# Prerequisites

For QueueStorage node to work properly, you need to have a valid subscription of Azure account (opens new window). Ensure to have the Connection string (opens new window) from Azure portal for the node to connect with a given Queue Storage service.

# Installation

To install the node from designer:

  1. Go to Add more nodes option on the palette section.
  2. Check for the QueueStorage node and click install.
  3. Once installed, the designer is required to be restarted.

To install the node from CLI:

  1. Go to your project workspace where you can see your package.json file.
  2. Run the below give npm command.
    npm i @kumologica/kumologica-contrib-azure-queuestorage

# Technical Details

Properties

  • Connection String (Required)
    Connection string is the authentication string with account name and key information.
  • Queue Name (optional)
    Name of the queue to which message is to be published or retrieved.
  • Batch Size (optional)
    Number of records fetched from the queue at a time. Default is 1.
  • Payload (optional)
    Message content published to the queue. Azure queue accepts only string content.
  • Visibility Timeout (optional)
    Visibility time set during each fetch operation. Default is 30 seconds.

Note
512 mb is the minimum memory requirement for your AWS lambda deployment when using QueueStorage node.

Supported Operations

  • Create-Queue
    Create a new queue under queue storage service.
  • Delete-Queue
    Delete an existing queue from the queue storage service.
  • List-Queue
    Listing all the available queues created under the queue storage service.
  • Send-Message
    Send the message to a particular queue.
  • Fetch-Message
    Read the message from a particular queue.
  • Queue-Length
    Provides the current depth from a particular queue. Depth signifies the number of messages in the queue at a given moment.

Throws

QueueStorage node throws the following exception.

  • QueueStorageBadRequestError
  • QueueStorageAuthenticationError
  • QueueStorageClientError
  • QueueStorageQueueNotFoundError
  • QueueStorageVisibilityError
  • QueueStorageBatchSizeError

Returns

Payload is overwritten by the response from this node for all the operations. You can access the response from the node in the subsequent node using the expression msg.payload.