protected override void DoRun() { var transport = new AzureStorageQueuesTransport(GetStorageAccount(ConnectionStringName ), InputQueue); var returnToSourceQueue = new ReturnToSourceQueue(transport) { DefaultOutputQueue = DefaultOutputQueue, InputQueue = InputQueue }; returnToSourceQueue.Run(); }
protected override void DoRun() { using (var transport = new MsmqTransport(InputQueue)) { var returnToSourceQueue = new ReturnToSourceQueue(transport) { InputQueue = InputQueue, DefaultOutputQueue = DefaultOutputQueue }; returnToSourceQueue.Run(); } }
protected override void DoRun() { using (var transport = new RabbitMqTransport(GetConnectionString(HostnameOrConnectionString), InputQueue)) { var returnToSourceQueue = new ReturnToSourceQueue(transport) { InputQueue = InputQueue, DefaultOutputQueue = DefaultOutputQueue }; returnToSourceQueue.Run(); } }
protected override void DoRun() { using (var transport = new AzureServiceBusTransport(GetConnectionString(ConnectionStringName), InputQueue, LoggerFactory)) { var returnToSourceQueue = new ReturnToSourceQueue(transport) { InputQueue = InputQueue, DefaultOutputQueue = DefaultOutputQueue }; returnToSourceQueue.Run(); } }
protected override void DoRun() { var busLifetimeEvents = new BusLifetimeEvents(); using (var transport = new AzureServiceBusTransport(GetConnectionString(ConnectionStringName), InputQueue, LoggerFactory, new TplAsyncTaskFactory(LoggerFactory), busLifetimeEvents)) { var returnToSourceQueue = new ReturnToSourceQueue(transport) { InputQueue = InputQueue, DefaultOutputQueue = DefaultOutputQueue }; returnToSourceQueue.Run(); } }