Pipelinez.AzureServiceBus
1.3.0
dotnet add package Pipelinez.AzureServiceBus --version 1.3.0
NuGet\Install-Package Pipelinez.AzureServiceBus -Version 1.3.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="Pipelinez.AzureServiceBus" Version="1.3.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Pipelinez.AzureServiceBus" Version="1.3.0" />
<PackageReference Include="Pipelinez.AzureServiceBus" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Pipelinez.AzureServiceBus --version 1.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Pipelinez.AzureServiceBus, 1.3.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.
#:package Pipelinez.AzureServiceBus@1.3.0
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Pipelinez.AzureServiceBus&version=1.3.0
#tool nuget:?package=Pipelinez.AzureServiceBus&version=1.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Pipelinez.AzureServiceBus
Azure Service Bus transport extensions for Pipelinez.
Use Pipelinez.AzureServiceBus when a Pipelinez pipeline needs to read from Azure Service Bus queues or topic subscriptions, write to queues or topics, dead-letter failed records to Service Bus, or run competing-consumer workers.
What This Package Does
Pipelinez.AzureServiceBus adds:
WithAzureServiceBusSource(...)WithAzureServiceBusDestination(...)WithAzureServiceBusDeadLetterDestination(...)- Azure Service Bus configuration types
- queue and topic subscription source support
- queue and topic destination support
- Pipelinez dead-letter publishing to Service Bus
- competing-consumer distributed execution support
Install
dotnet add package Pipelinez.AzureServiceBus
Pipelinez.AzureServiceBus depends on Pipelinez, so you do not need to add both explicitly unless you prefer to do so.
Minimal Example
using Azure.Messaging.ServiceBus;
using Pipelinez.AzureServiceBus;
using Pipelinez.AzureServiceBus.Configuration;
using Pipelinez.Core;
using Pipelinez.Core.Record;
var pipeline = Pipeline<OrderRecord>.New("orders")
.WithAzureServiceBusSource(
new AzureServiceBusSourceOptions
{
Connection = new AzureServiceBusConnectionOptions
{
ConnectionString = "Endpoint=sb://..."
},
Entity = AzureServiceBusEntityOptions.ForQueue("orders-in")
},
message => new OrderRecord
{
Id = message.MessageId,
Body = message.Body.ToString()
})
.WithAzureServiceBusDestination(
new AzureServiceBusDestinationOptions
{
Connection = new AzureServiceBusConnectionOptions
{
ConnectionString = "Endpoint=sb://..."
},
Entity = AzureServiceBusEntityOptions.ForQueue("orders-out")
},
record => new ServiceBusMessage(BinaryData.FromString(record.Body))
{
MessageId = record.Id
})
.Build();
public sealed class OrderRecord : PipelineRecord
{
public required string Id { get; init; }
public required string Body { get; init; }
}
Documentation
- NuGet: https://www.nuget.org/packages/Pipelinez.AzureServiceBus
- Repository: https://github.com/KenBerg75/Pipelinez
- API reference: https://kenberg75.github.io/Pipelinez/api/Pipelinez.Core.html
- RabbitMQ package: https://www.nuget.org/packages/Pipelinez.RabbitMQ
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- Azure.Messaging.ServiceBus (>= 7.20.1)
- Pipelinez (>= 1.3.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.