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
<PackageReference Include="Shuttle.Esb.AzureStorageQueues" Version="15.0.0" />
paket add Shuttle.Esb.AzureStorageQueues --version 15.0.0
#r "nuget: Shuttle.Esb.AzureStorageQueues, 15.0.0"
// 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 | Versions 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. |
-
- Azure.Identity (>= 1.12.0)
- Azure.Storage.Queues (>= 12.19.1)
- Shuttle.Esb (>= 15.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.