Exemple #1
0
 public AzureServiceBusInstance(IMessageReceiver messageReceiver, ITopicClient topicClient, AzureServiceBusTransportSettings settings, ILogger logger, int connectionStringNumber)
 {
     this.messageReceiver        = messageReceiver;
     this.topicClient            = topicClient;
     this.settings               = settings;
     this.logger                 = logger;
     this.connectionStringNumber = connectionStringNumber;
     detectFailureFast           = true;
 }
Exemple #2
0
 public AzureServiceBusMessageSource(
     AzureServiceBusTransportSettings settings,
     ISubscriptionInitialiser subscriptionInitialiser,
     IEnumerable <IAzureServiceBusInstance> busInstances,
     ITypeMap typeMap,
     ILogger <AzureServiceBusMessageSource> logger,
     string endpointName)
 {
     this.busInstances            = busInstances.ToArray();
     this.settings                = settings;
     this.subscriptionInitialiser = subscriptionInitialiser;
     this.typeMap     = typeMap;
     this.logger      = logger;
     thisEndpointName = endpointName;
 }
Exemple #3
0
 public SubscriptionInitialiser(AzureServiceBusTransportSettings settings, ILogger logger)
 {
     this.settings = settings;
     this.logger   = logger;
 }