public SubscriptionManager(IAmazonSQS sqsClient, IAmazonSimpleNotificationService snsClient, string queueName, QueueCache queueCache, MessageMetadataRegistry messageMetadataRegistry, TopicCache topicCache, bool disableSubscribeBatchingOnStart)
 {
     this.topicCache = topicCache;
     this.messageMetadataRegistry = messageMetadataRegistry;
     this.queueCache      = queueCache;
     this.sqsClient       = sqsClient;
     this.snsClient       = snsClient;
     this.queueName       = queueName;
     endpointStartingMode = !disableSubscribeBatchingOnStart;
 }
Beispiel #2
0
 public DelayedMessagesPump(TransportConfiguration configuration, IAmazonSQS sqsClient, QueueCache queueCache)
 {
     this.queueCache    = queueCache;
     this.sqsClient     = sqsClient;
     this.configuration = configuration;
     awsEndpointUrl     = sqsClient.Config.DetermineServiceURL();
 }
 public InputQueuePump(TransportConfiguration configuration, IAmazonS3 s3Client, IAmazonSQS sqsClient, QueueCache queueCache)
 {
     this.configuration = configuration;
     this.s3Client      = s3Client;
     this.sqsClient     = sqsClient;
     this.queueCache    = queueCache;
     awsEndpointUrl     = sqsClient.Config.DetermineServiceURL();
 }
 public MessageDispatcher(TransportConfiguration configuration, IAmazonS3 s3Client, IAmazonSQS sqsClient, IAmazonSimpleNotificationService snsClient, QueueCache queueCache, TopicCache topicCache)
 {
     this.topicCache    = topicCache;
     this.snsClient     = snsClient;
     this.configuration = configuration;
     this.s3Client      = s3Client;
     this.sqsClient     = sqsClient;
     this.queueCache    = queueCache;
     serializerStrategy = configuration.UseV1CompatiblePayload ? SimpleJson.PocoJsonSerializerStrategy : ReducedPayloadSerializerStrategy.Instance;
 }
 public QueueCreator(TransportConfiguration configuration, IAmazonS3 s3Client, IAmazonSQS sqsClient, QueueCache queueCache)
 {
     this.configuration = configuration;
     this.s3Client      = s3Client;
     this.sqsClient     = sqsClient;
     this.queueCache    = queueCache;
 }