Condividi tramite


ProtocolExecutionSettings Element (ADF)

Contains elements that define execution settings for one delivery protocol.

Sintassi

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

Esempio

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>

Vedere anche

Riferimento

Application Definition File Reference

Altre risorse

Impostazione del nome e dei campi del protocollo di recapito
Aggiornamento di istanze e applicazioni

Guida in linea e informazioni

Assistenza su SQL Server 2005