Error Handling

 

The pathway that a message follows through the BizTalk Server messaging subsystem encompasses several points of processing and transfer. At each point along this pathway, failures can occur in both BizTalk Server infrastructure and application-provided elements such as custom pipeline components and orchestrations.

This section and those contained within discuss the typical failure modes of well-known stages of processing and how those failure modes are addressed through both BizTalk Server configuration and application-provided elements such as orchestrations. Failure effects include disposition of the message, diagnostics captured and logged, and operational considerations.

The events that occur when a message fails are dependent upon the location of the failure and the status of failed message routing and recoverable interchange processing. The table below summarizes the failure behavior and resume location for pipeline and subscription failures.

Failure TypeFailed message routingRecoverable Interchange ProcessingFailure BehaviorResume Location
PipelineDisabledDisabledMessage is suspended before pipelineBefore pipeline.
PipelineDisabledEnabledMessage is suspended after pipelineBefore pipeline. For more information about Recoverable Interchange Processing, see Recoverable Interchange Processing.
PipelineEnabledDisabledMessage is published with error-report-related message context properties promotedMessage is not suspended. For details about routing failed messages, see Using Failed Message Routing.
PipelineEnabledEnabledMessage is published with error-report-related message context properties promoted.Message is not suspended.
SubscriptionDisabledDisabledMessage is suspended before pipeline. Routing failure report created.Message will resume before pipeline. The routing failure report is non-resumable.
SubscriptionDisabledEnabledMessage is suspended after pipeline. Routing failure report created.Message will resume before pipeline. The routing failure report is non-resumable. For more information about Recoverable Interchange Processing, see Recoverable Interchange Processing.
SubscriptionEnabledDisabledMessage is published with error-report-related message context properties promoted. Routing failure report created.Message is not suspended. The routing failure report is non-resumable. For details about routing failed messages, see Using Failed Message Routing.
SubscriptionEnabledEnabledMessage is published with error-report-related message context properties promoted. Routing failure report created.Message is not suspended. The routing failure report is non-resumable.

Many of these enumerated failure modes correspond to specific features of BizTalk Server that are designed to address the failure mode, such as recoverable interchange processing and error reporting. Other failure modes concern how BizTalk Server communicates failure information to application elements and, in turn, how application elements such as custom pipeline components, adapters, and orchestrations communicate failure information to BizTalk Server.

Recoverable Interchange Processing
Types of Message Failures

Community Additions

ADD
Show: