Connection
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();
timeouts.ConnectionBuilder(
connectionBuilder: () =>
{
return new SqlConnection(connection);
});
Migrating timeouts
Existing timeouts can be migrated to native delayed delivery with the migration tool.