The Azure Service Bus transport leverages the Azure.Messaging.ServiceBus client library for .NET.
Azure Service Bus is a messaging service hosted on the Azure platform that allows for exchanging messages between various applications in a loosely coupled fashion. The service offers guaranteed message delivery and supports a range of standard protocols (e.g. REST, AMQP, WS*) and APIs such as native pub/sub, delayed delivery, and more.
|Transactions||None, ReceiveOnly, SendsWithAtomicReceive|
|Large message bodies||with Premium tier or data bus|
|Scripted Deployment||Supported using |
To use Azure Service Bus as the underlying transport:
var transport = new AzureServiceBusTransport("Endpoint=sb://[NAMESPACE].servicebus.windows.net/;SharedAccessKeyName=[KEYNAME];SharedAccessKey=[KEY]"); endpointConfiguration.UseTransport(transport);
UseTransport<T>()is supported for NServiceBus version 8 via a shim API to ease migration to the new version. However, it is recommended to switch to the new transport configuration API to prepare for future upgrades of NServiceBus.