snatch-dev/Convey

InboxMessages are not saving in EF when recieveing events and outbox is enabled and decorator added

Closed this issue · 2 comments

InboxMessages are not saving in EF when recieveing events and outbox is enabled and decorator added

I tried to generate PR. but unable to do that.
Kindly add following line before await transaction.CommitAsync(); in function public async Task HandleAsync(string messageId, Func handler) under internal sealed class EntityFrameworkMessageOutbox class
await _dbContext.SaveChangesAsync();

spetz commented

Fixed :)