-
Notifications
You must be signed in to change notification settings - Fork 272
Open
Labels
.NETPull requests that update .net codePull requests that update .net code2 - In ProgressBughelp wantedv9Required for v9 releaseRequired for v9 release
Description
Describe the bug
TimedOutboxArchived
is not checking whether the IAmOutbox is sync or async, it is always calling OutboxArchiver.ArchiveAsync
. This causes background exception when outbox have sync implementation. Messages are not archived.
To Reproduce
Register synchronous outbox provider and outbox archiver. You will see exceptions logged in the background
Exceptions (if any)
fail: Paramore.Brighter.OutboxArchiver[0]
Error while archiving from the outbox
System.NullReferenceException: Object reference not set to an instance of an object.
at Paramore.Brighter.OutboxArchiver.ArchiveAsync(Int32 minimumAge, CancellationToken cancellationToken, Boolean parallelArchiving) in /_/src/Paramore.Brighter/OutboxArchiver.cs:line 81
Further technical details
- Brighter version 9.9.10
- Include the output of
dotnet --info
- The OS (Window, Linux, MacOs, etc)
Metadata
Metadata
Assignees
Labels
.NETPull requests that update .net codePull requests that update .net code2 - In ProgressBughelp wantedv9Required for v9 releaseRequired for v9 release