public SqlServerEnveloperPersistorTests() { ThePersistence = new SqlServerEnvelopePersistence(new SqlServerSettings { ConnectionString = Servers.SqlServerConnectionString }, new JasperOptions()); }
public SqlServerEnveloperPersistorTests() { ThePersistence = new SqlServerEnvelopePersistence(new SqlServerSettings { ConnectionString = Servers.SqlServerConnectionString }, new AdvancedSettings(null)); }
public SqlServerBackedListenerContext() { new SqlServerEnvelopeStorageAdmin(new SqlServerSettings{ConnectionString = Servers.SqlServerConnectionString}).RecreateAll(); theSettings = new AdvancedSettings(null); mssqlSettings = new SqlServerSettings { ConnectionString = Servers.SqlServerConnectionString }; ThePersistence = new SqlServerEnvelopePersistence(mssqlSettings, theSettings); thePipeline = Substitute.For<IHandlerPipeline>(); theWorkerQueue = new DurableWorkerQueue(new LocalQueueSettings("temp"), thePipeline, theSettings, ThePersistence, TransportLogger.Empty()); }
public SqlServerBackedListenerContext() { new SqlServerEnvelopeStorageAdmin(new SqlServerSettings { ConnectionString = Servers.SqlServerConnectionString }).RecreateAll(); theWorkerQueue = Substitute.For <IWorkerQueue>(); theSettings = new JasperOptions(); mssqlSettings = new SqlServerSettings { ConnectionString = Servers.SqlServerConnectionString }; ThePersistence = new SqlServerEnvelopePersistence(mssqlSettings, new JasperOptions()); theListener = new DurableListener( Substitute.For <IListeningAgent>(), theWorkerQueue, TransportLogger.Empty(), theSettings, ThePersistence); }
public static void post_clear(SqlServerEnvelopePersistence persistence) { persistence.ClearAllStoredMessages(); }