Getting Started
Architecture
NServiceBus
Transports
ServiceInsight
ServicePulse
ServiceControl
Monitoring
Samples

RavenDB Persistence Upgrade from 6.2 to 6.3

Component: RavenDB Persistence

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 the OutboxSettings instead. Will be removed in version 7.0.0.'

'RavenDBOutboxExtensions.SetFrequencyToRunDeduplicationDataCleanup(EndpointConfiguration, TimeSpan)' is obsolete: 'Use SetFrequencyToRunDeduplicationDataCleanup available on the OutboxSettings 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));

Related Articles