Timeouts Persister

Component: Sql Persistence
Target Version: NServiceBus 7.x


The timeouts persister can be configured to use a dedicated connection builder. For example, it may be used for creating timeouts tables in a separate database.

var connection = @"Data Source=.\SqlExpress;Initial Catalog=timeouts;Integrated Security=True";
var persistence = endpointConfiguration.UsePersistence<SqlPersistence>();

var timeouts = persistence.TimeoutSettings();
    connectionBuilder: () =>
        return new SqlConnection(connection);

Migrating timeouts

Timeouts can be migrated to the native-delay delivery implementation with the migration tool.

Last modified