We’ve just released NServiceBus 6.4.1, 6.3.7, and 6.2.7.
- #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.
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: https://github.com/Particular/NServiceBus/releases/tag/6.4.1
- 6.3.7: https://github.com/Particular/NServiceBus/releases/tag/6.3.7
- 6.2.7: https://github.com/Particular/NServiceBus/releases/tag/6.2.7
The team in Particular
Please read our release policy for more details.