This is part of the NServiceBus Upgrade Guide from Version 9 to 10, which also includes the following individual upgrade guides for specific components:
Transports
Persistence
- Azure Storage Persistence Upgrade Version 6 to 7
- Cosmos DB Persistence Upgrade from 3 to 4
- NHibernate Persistence Upgrade Version 10 to 11
- SQL Persistence Upgrade Version 8 to 9
Other
Metrics TimeToBeReceived renamed to TimeToLive
In version 4, the setting to configure the maximum time to live for Metrics messages has been renamed from TimeToBeReceived to TimeToLive. This aligns it with the naming convention of similar settings for other sections of the configuration.
4.x NServiceBus.ServicePlatform.Connector
var platformConnection = new ServicePlatformConnectionConfiguration
{
Metrics = new ServicePlatformMetricsConfiguration
{
TimeToLive = TimeSpan.FromSeconds(60)
}
};
endpointConfiguration.ConnectToServicePlatform(platformConnection);
3.x NServiceBus.ServicePlatform.Connector
var platformConnection = new ServicePlatformConnectionConfiguration
{
Metrics = new ServicePlatformMetricsConfiguration
{
TimeToBeReceived = TimeSpan.FromSeconds(60)
}
};
endpointConfiguration.ConnectToServicePlatform(platformConnection);