NServiceBus.Transport.AzureServiceBus 4.2.2, 4.0.2, 3.2.4, and 2.0.7 – Patch releases available

Hi everyone,

We’ve just released NServiceBus.Transport.AzureServiceBus 4.2.2, 4.0.2, 3.2.4, and 2.0.7.

Fixed bugs

  • #1043 ASB transport using `receiveOnly` mode cannot forward messages to the error queue when handler execution exceeds message lock duration

How to know if you are affected

You are affected if:

  • If the time taken to execute a message handler always exceeds the visibility timeout of the message when using receiveOnly transaction mode

Symptoms

When the time taken to execute a message handler always exceeds the visibility timeout

The message is retried continuously with an increasing dequeue count and the message is never removed from the queue. On each attempt, a warning is logged similar to:

WARN  Skip handling the message with id '{message ID}' because the lock has expired at '{time}'. This is usually an indication that the endpoint prefetches more messages than it is able to handle within the configured peek lock duration.

When to upgrade

You should upgrade immediately if you are affected. Otherwise, you should upgrade during your next maintenance window.

Where to get it

You can install the new versions of NServiceBus.Transport.AzureServiceBus from NuGet.

Please read our release policy for more details.

With thanks,
The team in Particular