-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
Describe the feature.
Is your feature related to a problem? Please describe.
The TransactionalSession currently immediately dispatches a control message when the database transaction commit is invoked. Depending on the duration of the database transaction, it may occur that the control message arrives before the transaction completes, meaning that we won't find the outbox record with the messages to dispatch. In such a case, the package throws a ConsumeMessageException and delays the control message (by sending a new one with a delayed delivery). When this occurs repeatedly, it's helpful to increase the CommitDelayIncrement. To that end, it would be helpful to expose a metric that measures specifically these exceptions for users to monitor.
Describe the requested feature
Describe alternatives you've considered
Additional Context
No response
Reactions are currently unavailable