ProtocolExecutionSettings Element (ADF)

Contains elements that define execution settings for one delivery protocol.

Syntaxe

<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)

Exemple

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>

Voir aussi

Référence

Application Definition File Reference

Autres ressources

Spécification du nom et des champs du protocole de remise
Mise à jour des instances et des applications

Aide et Informations

Assistance sur SQL Server 2005