Hi everyone,
We’ve just released NServiceBus 6.4.1, 6.3.7, and 6.2.7.
Fixed bugs
- #4993 HandleCurrentMessageLater causes message loss when using Outbox
How to know if you are affected
You are affected if you are using the IMessageHandlerContext.HandleCurrentMessageLater
API on endpoints with the Outbox
feature enabled.
Symptoms
Messages which should be reprocessed by using IMessageHandlerContext.HandleCurrentMessageLater
will instead be discarded by the Outbox since the message id is already flagged as successfully processed.
Should you upgrade immediately
You should upgrade immediately if you are using IMessageHandlerContext.HandleCurrentMessageLater
. Note that due to the nature of HandleCurrentMessageLater
, using this API in conjuction with the Outbox is not supported. The patch will detect the invalid configuration and throw an exception to prevent message loss.
Where to get it
You can download the updated version and see the full release notes here:
- 6.4.1: Release 6.4.1 · Particular/NServiceBus · GitHub
- 6.3.7: Release 6.3.7 · Particular/NServiceBus · GitHub
- 6.2.7: Release 6.2.7 · Particular/NServiceBus · GitHub
With thanks,
The team in Particular
Please read our release policy for more details.