Shuttle.Esb.AzureStorageQueues 15.0.0

Prefix Reserved
dotnet add package Shuttle.Esb.AzureStorageQueues --version 15.0.0                
NuGet\Install-Package Shuttle.Esb.AzureStorageQueues -Version 15.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Shuttle.Esb.AzureStorageQueues" Version="15.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Shuttle.Esb.AzureStorageQueues --version 15.0.0                
#r "nuget: Shuttle.Esb.AzureStorageQueues, 15.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Shuttle.Esb.AzureStorageQueues as a Cake Addin
#addin nuget:?package=Shuttle.Esb.AzureStorageQueues&version=15.0.0

// Install Shuttle.Esb.AzureStorageQueues as a Cake Tool
#tool nuget:?package=Shuttle.Esb.AzureStorageQueues&version=15.0.0                

Azure Storage Queues

PM> Install-Package Shuttle.Esb.AzureStorageQueues

In order to make use of the AzureStorageQueue you will need access to an Azure Storage account or use the Azurite emulator for local Azure Storage development.

You may want to take a look at how to get started with Azure Queue storage using .NET.

Configuration

The URI structure is azuresq://configuration-name/queue-name.

If ConnectionString is specified the StorageAccount setting will be ignored. Well StorageAccount is specified the DefaultAzureCredential will be used to authenticate.

services.AddAzureStorageQueues(builder =>
{
    var azureStorageQueueOptions = new AzureStorageQueueOptions
    {
        StorageAccount = "devstoreaccount1",
        ConnectionString = "UseDevelopmentStorage=true",
        MaxMessages = 20,
        VisibilityTimeout = null
    };

    azureStorageQueueOptions.Configure += (sender, args) =>
    {
        Console.WriteLine($"[event] : Configure / Uri = '{((IQueue)sender).Uri}'");
    };

    builder.AddOptions("azure", azureStorageQueueOptions);
});

The Configure event args arugment exposes the QueueClientOptions directly for any specific options that need to be set.

The default JSON settings structure is as follows:

{
  "Shuttle": {
    "AzureStorageQueues": {
      "azure": {
        "StorageAccount": "devstoreaccount1",
        "ConnectionString": "UseDevelopmentStorage=true",
        "MaxMessages": 32,
        "VisibilityTimeout": "00:00:30"
      }
    }
  }
}

Options

Segment / Argument Default Description
StorageAccount The name of the storage.
ConnectionString The Azure Storage Queue endpoint to connect to.
MaxMessages 32 Specifies the number of messages to fetch from the queue.
VisibilityTimeout null The message visibility timeout that will be used for messages that fail processing.
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
15.0.0 515 8/5/2024
14.0.2 408 5/3/2024
14.0.1 116 4/30/2024
13.2.1 4,827 12/1/2022
13.2.0 466 9/16/2022
13.1.1 385 9/12/2022
13.1.0 402 9/11/2022
13.0.0 406 9/4/2022