public BatchDeleteQueueMessagesCommandHandler( ICosmosMessageDbContext cosmosDbContext, ServiceBusErrorManagementSettings serviceBusSettings, ILogger <BatchDeleteQueueMessagesCommandHandler> logger, IAuditService auditService) { _cosmosDbContext = cosmosDbContext; _batchSize = serviceBusSettings.PeekMessageBatchSize; _logger = logger; _auditService = auditService; }
public RetrieveMessagesService( ServiceBusErrorManagementSettings serviceBusSettings, ILogger <RetrieveMessagesService> logger, IBatchGetMessageStrategy batchMessageStrategy, IUserService userService, ICosmosMessageDbContext cosmosDbContext, IMessageReceiverFactory messageReceiverFactory ) { _batchMessageStrategy = batchMessageStrategy; _logger = logger; _batchSize = serviceBusSettings.PeekMessageBatchSize; _userService = userService; _cosmosDbContext = cosmosDbContext; _messageReceiverFactory = messageReceiverFactory; }
public BulkCreateQueueMessagesCommandHandler(ICosmosMessageDbContext cosmosDbContext) { _cosmosDbContext = cosmosDbContext; }
public GetMessagesQueryHandler(ICosmosMessageDbContext cosmosDbContext) { _cosmosDbContext = cosmosDbContext; }
public GetMessageCountPerUserQueryHandler(ICosmosMessageDbContext cosmosDbContext) { _cosmosDbContext = cosmosDbContext; }