0
votes

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

Symptoms:

  • Service using 100% CPU
  • Restart of service doesn't resolve
  • A message handler is called but never finished

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?

1

1 Answers

1
votes

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.