Getting Started
Architecture
NServiceBus
Persistence
ServiceInsight
ServicePulse
ServiceControl
Monitoring
Samples

Azure Service Bus Transport Upgrade Version 3 to 4

This is part of the NServiceBus Upgrade Guide from Version 8 to 9, which also includes the following individual upgrade guides for specific components:

Transports
Other

Topic name configuration

The API to configure the topic name used for publish and subscribe has been changed, instead of:

var transport = new AzureServiceBusTransport("my connection string")
{
    TopicName = "CustomTopicName"
};

Use:

var transport = new AzureServiceBusTransport("my connection string")
{
    Topology = TopicTopology.Single("CustomTopicName")
};

For more advanced topology configurations, see the topology documentation.

Related Articles


Last modified