예제 #1
0
        public async Task PublishAsync(IntegrationEvent @event)
        {
            await _eventLogService.SaveAsync(@event);

            await _eventBusPublisher.PublishToTopicAsync(@event);

            await _eventLogService.MarkAsPublishedAsync(@event);
        }