NPipeline.Connectors.Azure.ServiceBus
0.70.1
dotnet add package NPipeline.Connectors.Azure.ServiceBus --version 0.70.1
NuGet\Install-Package NPipeline.Connectors.Azure.ServiceBus -Version 0.70.1
<PackageReference Include="NPipeline.Connectors.Azure.ServiceBus" Version="0.70.1" />
<PackageVersion Include="NPipeline.Connectors.Azure.ServiceBus" Version="0.70.1" />
<PackageReference Include="NPipeline.Connectors.Azure.ServiceBus" />
paket add NPipeline.Connectors.Azure.ServiceBus --version 0.70.1
#r "nuget: NPipeline.Connectors.Azure.ServiceBus, 0.70.1"
#:package NPipeline.Connectors.Azure.ServiceBus@0.70.1
#addin nuget:?package=NPipeline.Connectors.Azure.ServiceBus&version=0.70.1
#tool nuget:?package=NPipeline.Connectors.Azure.ServiceBus&version=0.70.1
NPipeline Azure Service Bus Connector
Source and sink nodes for Azure Service Bus in NPipeline pipelines, on NPipeline's shared messaging layer.
About NPipeline
NPipeline is a high-performance, extensible data processing framework for .NET that enables developers to build scalable and efficient pipeline-based applications. It provides a rich set of components for data transformation, aggregation, branching, and parallel processing, with built-in support for resilience patterns and error handling.
Installation
dotnet add package NPipeline.Connectors.Azure.ServiceBus
Targets .NET 8.0, 9.0 and 10.0.
Features
- Receiver-based sources: messages are received while fewer than
MaxInFlightare unsettled, and their locks are renewed while they wait, so sinks can batch freely. - Queues, subscriptions and sessions (several sessions at once, each in order).
- Batched sends that keep a received message's id, session, correlation id and properties across a hop.
- Complete, abandon, dead-letter with a reason, or defer each message.
- One messaging model: messages are acknowledged or rejected once, and
sink.Acknowledging()makes any sink (SQL, HTTP, another broker) acknowledge each message once it is written. - Shared JSON defaults with the JSON connector (camelCase, case-insensitive, enums as names,
[Column]), or a source-generatedJsonSerializerContextfor Native AOT. - Undeserializable messages go through the shared row-error handler: fail the read, skip, or send the whole message to the pipeline's dead-letter sink.
- Failed writes fail, requeue the source message, or go to the dead-letter sink.
Usage
using Azure.Identity;
using Azure.Messaging.ServiceBus;
using NPipeline.Connectors.Azure.ServiceBus;
using NPipeline.Connectors.Messaging;
await using var client = new ServiceBusClient("mynamespace.servicebus.windows.net", new DefaultAzureCredential());
var orders = ServiceBusConnector.Source<Order>(client, "orders");
var invoices = ServiceBusConnector.Sink<Invoice>(client, "invoices");
builder.AddSink(invoices.Acknowledging(), "invoices");
See the Azure Service Bus connector documentation and Message Queues: Shared Behaviour for every option.
Related Packages
- NPipeline - Core pipeline framework
- NPipeline.Connectors - Shared messaging layer, storage abstractions and base connectors
- NPipeline.Extensions.DependencyInjection - Dependency injection integration
License
This package is licensed under the Business Source License 1.1.
Free for non-production use. Production use is free for organizations with 4 or fewer developers and annual revenue of $5M AUD or less. Larger organizations require a commercial license. This license automatically converts to MIT two years after each release.
| 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 is compatible. 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 is compatible. 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. |
-
net10.0
- Azure.Identity (>= 1.21.0)
- Azure.Messaging.ServiceBus (>= 7.21.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.12)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.12)
- NPipeline (>= 0.70.1)
- NPipeline.Connectors (>= 0.70.1)
- NPipeline.Connectors.Azure (>= 0.70.1)
-
net8.0
- Azure.Identity (>= 1.21.0)
- Azure.Messaging.ServiceBus (>= 7.21.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.12)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.12)
- NPipeline (>= 0.70.1)
- NPipeline.Connectors (>= 0.70.1)
- NPipeline.Connectors.Azure (>= 0.70.1)
-
net9.0
- Azure.Identity (>= 1.21.0)
- Azure.Messaging.ServiceBus (>= 7.21.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.12)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.12)
- NPipeline (>= 0.70.1)
- NPipeline.Connectors (>= 0.70.1)
- NPipeline.Connectors.Azure (>= 0.70.1)
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 |
|---|---|---|
| 0.70.1 | 88 | 10/5/2026 |
| 0.70.0 | 100 | 10/1/2026 |
| 0.69.0 | 96 | 10/1/2026 |
| 0.68.0 | 96 | 10/1/2026 |
| 0.67.0 | 97 | 9/29/2026 |
| 0.66.1 | 97 | 9/28/2026 |
| 0.66.0 | 96 | 9/28/2026 |
| 0.65.1 | 101 | 9/27/2026 |
| 0.65.0 | 96 | 9/26/2026 |
| 0.64.0 | 103 | 9/26/2026 |
| 0.63.0 | 102 | 9/24/2026 |
| 0.62.0 | 94 | 9/24/2026 |
| 0.61.1 | 106 | 9/22/2026 |
| 0.61.0 | 98 | 9/22/2026 |
| 0.60.0 | 100 | 9/22/2026 |
| 0.59.0 | 101 | 9/21/2026 |
| 0.58.0 | 100 | 9/21/2026 |
| 0.57.0 | 108 | 9/21/2026 |
| 0.56.0 | 102 | 9/21/2026 |
| 0.55.0 | 115 | 9/21/2026 |