Getting Started
Architecture
NServiceBus
Persistence
ServiceInsight
ServicePulse
ServiceControl
Monitoring
Samples

Azure Service Bus Transport Upgrade Version 1 to 2

Support for Azure.Messaging.ServiceBus client SDK

This version of Azure Service Bus Transport uses the Azure.Messaging.ServiceBus client SDK. As a result the following changes to the configuration API have been made:

Support for Azure.Identity

Passing a Azure.Identity TokenCredential to CustomTokenCredential(TOKEN) enables authentication against Microsoft Entra ID.

Accessing the native incoming message

The new SDK uses specific types for incoming and outgoing messages while the old SDK had a single Message to represent both. The incoming message type is ServiceBusReceivedMessage and the outgoing type is ServiceBusMessage.

See the native message customization documentation for further details.

Native message customization

IMessageHandlerContext and IPipelineContext are no longer needed to be passed to the CustomizeNativeMessage method. See the native message customization documentation for further details.

Related Articles