This commit is contained in:
Joni 2019-04-26 01:25:43 +09:00
parent fb6d972d55
commit 9159df343e

View File

@ -41,9 +41,9 @@ namespace Ordering.API.Application.IntegrationEvents
public async Task PublishEventsThroughEventBusAsync() public async Task PublishEventsThroughEventBusAsync()
{ {
var pendindLogEvents = await _eventLogService.RetrieveEventLogsPendingToPublishAsync(); var pendingLogEvents = await _eventLogService.RetrieveEventLogsPendingToPublishAsync();
foreach (var logEvt in pendindLogEvents) foreach (var logEvt in pendingLogEvents)
{ {
_logger.LogInformation("----- Publishing integration event: {IntegrationEventId} from {AppName} - ({@IntegrationEvent})", logEvt.EventId, Program.AppName, logEvt.IntegrationEvent); _logger.LogInformation("----- Publishing integration event: {IntegrationEventId} from {AppName} - ({@IntegrationEvent})", logEvt.EventId, Program.AppName, logEvt.IntegrationEvent);