Compartir a través de


ProtocolExecutionSettings Element (ADF)

Contains elements that define execution settings for one delivery protocol.

Sintaxis

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

Ejemplo

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>

Vea también

Referencia

Application Definition File Reference

Otros recursos

Especificar el nombre y los campos de un protocolo de entrega
Actualizar instancias y aplicaciones

Ayuda e información

Obtener ayuda sobre SQL Server 2005