We’ve just released NServiceBus 6.4.1, 6.3.7, and 6.2.7.
- #4993 HandleCurrentMessageLater causes message loss when using Outbox
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.
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.
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
The team in Particular
Please read our release policy for more details.