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
- AmazonSQS Transport Upgrade Version 6 to 7
- Azure Service Bus Transport Upgrade Version 3 to 4
- SQL Server Transport Upgrade Version 7 to 8
Hosting
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.