NServiceBus.Transport.AzureServiceBus icon indicating copy to clipboard operation
NServiceBus.Transport.AzureServiceBus copied to clipboard

Azure Service Bus transport

NServiceBus.Transport.AzureServiceBus

NServiceBus.Transport.AzureServiceBus enables the use of the Azure Service Bus Brokered Messaging service as the underlying transport used by NServiceBus. This transport uses the Azure.Messaging.ServiceBus NuGet package.

It is part of the Particular Service Platform, which includes NServiceBus and tools to build, monitor, and debug distributed systems.

See the Azure Service Bus Transport documentation for more details on how to use it.

Running tests locally

Acceptance Tests

Follow these steps to run the acceptance tests locally:

  • Add a new environment variable AzureServiceBus_ConnectionString containing a connection string to your Azure Service Bus namespace.
  • Add a new environment variable AzureServiceBus_ConnectionString_Restricted containing a connection string to the same namespace with Send and Listen rights only.

Unit Tests

  • Add a new environment variable AzureServiceBus_ConnectionString containing a connection string to your Azure Service Bus namespace (can be same as for acceptance tests).