public static FirebirdStorage UseMsmqQueues(this FirebirdStorage storage, string pathPattern, params string[] queues) { if (storage == null) throw new ArgumentNullException("storage"); var provider = new MsmqJobQueueProvider(pathPattern, queues); storage.QueueProviders.Add(provider, queues); return storage; }
public static FirebirdStorage UseMsmqQueues(this FirebirdStorage storage, string pathPattern, params string[] queues) { if (storage == null) { throw new ArgumentNullException("storage"); } var provider = new MsmqJobQueueProvider(pathPattern, queues); storage.QueueProviders.Add(provider, queues); return(storage); }