Beispiel #1
0
        /// <summary>Creates the Azure Queue based adapter.</summary>
        public virtual Task <IQueueAdapter> CreateAdapter()
        {
            var adapter = new AzureQueueAdapter(
                this.dataAdapter,
                this.streamQueueMapper,
                this.loggerFactory,
                this.options,
                this.clusterOptions.ServiceId,
                this.providerName);

            return(Task.FromResult <IQueueAdapter>(adapter));
        }
        /// <summary>Creates the Azure Queue based adapter.</summary>
        public virtual Task <IQueueAdapter> CreateAdapter()
        {
            var adapter = new AzureQueueAdapter <TDataAdapter>(
                this.dataAadaptorFactory(),
                this.SerializationManager,
                this.streamQueueMapper,
                this.loggerFactory,
                this.options.ConnectionString,
                this.clusterOptions.ServiceId.ToString(),
                this.providerName,
                this.options.MessageVisibilityTimeout);

            return(Task.FromResult <IQueueAdapter>(adapter));
        }
Beispiel #3
0
        /// <summary>Creates the Azure Queue based adapter.</summary>
        public virtual Task <IQueueAdapter> CreateAdapter()
        {
            var adapter = new AzureQueueAdapter(streamQueueMapper, dataConnectionString, deploymentId, providerName);

            return(Task.FromResult <IQueueAdapter>(adapter));
        }
        /// <summary>Creates the Azure Queue based adapter.</summary>
        public virtual Task <IQueueAdapter> CreateAdapter()
        {
            var adapter = new AzureQueueAdapter <TDataAdapter>(this.adaptorFactory(), this.SerializationManager, streamQueueMapper, this.loggerFactory, dataConnectionString, deploymentId, providerName, messageVisibilityTimeout);

            return(Task.FromResult <IQueueAdapter>(adapter));
        }
Beispiel #5
0
        public virtual Task <IQueueAdapter> CreateAdapter()
        {
            var adapter = new AzureQueueAdapter(dataConnectionString, deploymentId, providerName, cacheSize * KB);

            return(Task.FromResult <IQueueAdapter>(adapter));
        }
        /// <summary>Creates the Azure Queue based adapter.</summary>
        public virtual Task <IQueueAdapter> CreateAdapter()
        {
            var adapter = new AzureQueueAdapter <TDataAdapter>(streamQueueMapper, dataConnectionString, deploymentId, providerName, messageVisibilityTimeout);

            return(Task.FromResult <IQueueAdapter>(adapter));
        }