JarrettV
JarrettV

Reputation: 18955

NServiceBus Message Handler Endless Loop

We have a system in production where one of the message processing services is hanging up.

Symptoms:

We've looked at the code and it appears to be endless loop bug in the message handler. Is there any way to configure NServiceBus to timeout handler processing and move the message to the error queue if the handler doesn't complete in a specified time?

Upvotes: 0

Views: 468

Answers (1)

tom redfern
tom redfern

Reputation: 31780

Was the message being processed on the infinite loop copied wholesale from the error queue?

I have seen this behavior before.

When you copy a message from the error queue back onto the input queue manually it does something weird with the message header which results in this hapenning.

Upvotes: 1

Related Questions