A consumer with EF Core transactional outbox configured never sets the Delivered field in the InboxState table when it throws an Exception.
Therefore those 'undelivered' messages will never be deleted by the cleanup service.
- Is this the desired behavior and shouldn't also those messages be deleted after the
DuplicateDetectionWindow? - If it is the desired behavior, how to handle this scenario without flooding the database when consumer exceptions happen?