Exemplo n.º 1
0
        public virtual Task <IQueueAdapter> CreateAdapter()
        {
            var adapter = new PubSubAdapter <TDataAdapter>(_adaptorFactory(), SerializationManager, this.loggerFactory, _streamQueueMapper,
                                                           this.options.ProjectId, this.options.TopicId, this.clusterOptions.ServiceId, this._providerName, this.options.Deadline, this.options.CustomEndpoint);

            return(Task.FromResult <IQueueAdapter>(adapter));
        }
Exemplo n.º 2
0
        public virtual Task <IQueueAdapter> CreateAdapter()
        {
            var adapter = new PubSubAdapter <TDataAdapter>(_adaptorFactory(), SerializationManager, this.loggerFactory, _streamQueueMapper,
                                                           _projectId, _topicId, _deploymentId, _providerName, _deadline, _customEndpoint);

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