ProtocolExecutionSettings Element (ADF)

Contains elements that define execution settings for one delivery protocol.

语法

<NotificationClasses>
    <NotificationClass>
        ...
        <Protocols>
            <Protocol>
                ...
                <ProtocolExecutionSettings>

Element Characteristics

Characteristic Description

Data type

None.

Default value

None.

Occurrence

Optional once per Protocol element.

Updates

Can be added and deleted when updating the application.

Element Relationships

Relationship Elements

Parent element

Protocol Element (ADF)

Child elements

RetrySchedule Element (ADF)

FailuresBeforeLoggingEvent Element (ADF)

FailureEventLogInterval Element (ADF)

FailuresBeforeAbort Element (ADF)

MulticastRecipientLimit Element (ADF)

WorkItemTimeout Element (ADF)

示例

The following example shows how to define the following operational settings for a delivery protocol:

  • Notifications sent using this protocol have two redelivery attempts if initially unsuccessful — the first at 10 minutes after the initial attempt, and the second 15 minutes after that.
  • If three consecutive delivery failures occur while processing a distributor work item, then the whole work item will be aborted and retried according to the schedule defined in the RetrySchedule element.
  • If the application uses multicast delivery, Notification Services will deliver multicast notifications with no more than 10 recipients each.
  • A distributor thread can take 5 minutes in order to complete a work item assigned to it before the work item is aborted and returned to the pool of work items to be retried.
<ProtocolExecutionSettings>
    <RetrySchedule>
        <RetryDelay>P0DT00H10M00S</RetryDelay>
        <RetryDelay>P0DT00H15M00S</RetryDelay>
    </RetrySchedule>
    <FailuresBeforeAbort>3</FailuresBeforeAbort>
    <MulticastRecipientLimit>10</MulticastRecipientLimit>
    <WorkItemTimeout>P0DT00H05M00S</WorkItemTimeout>
</ProtocolExecutionSettings>

请参阅

参考

Application Definition File Reference

其他资源

指定传递协议名称和字段
更新实例和应用程序

帮助和信息

获取 SQL Server 2005 帮助