/// <summary> /// Creates a new instance of the SQL Server delayed message store. /// </summary> /// <param name="connectionFactory">Factory for database connections.</param> /// <param name="schema">(optional) schema to use. Defaults to dbo</param> /// <param name="tableName">(optional) name of the table where delayed messages are stored. Defaults to name of the endpoint with .Delayed suffix.</param> public SqlServerDelayedMessageStore(CreateSqlConnection connectionFactory, string schema = null, string tableName = null) { createSqlConnection = connectionFactory; this.tableName = tableName; this.schema = schema ?? "dbo"; }
public TimeoutTableCreator(CreateSqlConnection createSqlConnection, string tableName) { this.tableName = tableName; this.createSqlConnection = createSqlConnection; }