Starting with NServiceBus.RavenDB version 6.3.0, outbox-related extension methods for EndpointConfiguration
are obsolete. Using them will produce the following messages:
'RavenDBOutboxExtensions.SetTimeToKeepDeduplicationData(EndpointConfiguration, TimeSpan)' is obsolete: 'Use
SetTimeToKeepDeduplicationData
available on theOutboxSettings
instead. Will be removed in version 7.0.0.'
'RavenDBOutboxExtensions.SetFrequencyToRunDeduplicationDataCleanup(EndpointConfiguration, TimeSpan)' is obsolete: 'Use
SetFrequencyToRunDeduplicationDataCleanup
available on theOutboxSettings
instead. Will be removed in version 7.0.0.'
To migrate outbox settings, use:
var outbox = endpointConfiguration.EnableOutbox();
outbox.SetTimeToKeepDeduplicationData(TimeSpan.FromDays(7));
outbox.SetFrequencyToRunDeduplicationDataCleanup(TimeSpan.FromMinutes(1));
Starting with NServiceBus.RavenDB version 6.3, it is recommended to disable cleanup and rely on document expiration instead. For more information, refer to the outbox cleanup guidance.