protected override void SetUp() { AmazonSqsManyMessagesTransportFactory.PurgeQueue(QueueName); _activator = new BuiltinHandlerActivator(); Using(_activator); }
protected override void SetUp() { var connectionInfo = AmazonSqsTransportFactory.ConnectionInfo; var accessKeyId = connectionInfo.AccessKeyId; var secretAccessKey = connectionInfo.SecretAccessKey; var amazonSqsConfig = new AmazonSQSConfig { RegionEndpoint = connectionInfo.RegionEndpoint }; var queueName = TestConfig.GetName("defertest"); AmazonSqsManyMessagesTransportFactory.PurgeQueue(queueName); _activator = Using(new BuiltinHandlerActivator()); _configurer = Configure.With(_activator).Transport(t => t.UseAmazonSnsAndSqs(amazonSqsConfig: amazonSqsConfig, workerQueueAddress: queueName)).Options(o => o.LogPipeline()); }