Managing Errors and Retries

Component: ServiceInsight

When a message fails during processing, NServiceBus will automatically retry it. If a message continues to fail it will be forwarded to the error queue and become visible within ServiceInsight.

The views in ServiceInsight show information about message processing failure with the message. No manual correlation of log files or accessing of remote servers is necessary to research the reasons for an error.

Status in the message list

The status of an errant message is illustrated in the message window.

An error in the message window

The flow diagram

The flow diagram highlights errors in red and provides details with access to the stack trace.

Error in the flow diagram

The sequence diagram

The sequence diagram highlights handlers with errors in red.

Error in the sequence diagram

Retrying a failed message

Once the underlying cause for message processing failure has been resolved, the failed message can be retried from ServiceInsight. Find the message to be retried and click Retry Message.

Last modified