MsgVpnTopicEndpointTemplate: {
    accessType?: MsgVpnTopicEndpointTemplate.accessType;
    consumerAckPropagationEnabled?: boolean;
    deadMsgQueue?: string;
    deliveryDelay?: number;
    eventBindCountThreshold?: EventThreshold;
    eventMsgSpoolUsageThreshold?: EventThreshold;
    eventRejectLowPriorityMsgLimitThreshold?: EventThreshold;
    maxBindCount?: number;
    maxDeliveredUnackedMsgsPerFlow?: number;
    maxMsgSize?: number;
    maxMsgSpoolUsage?: number;
    maxRedeliveryCount?: number;
    maxTtl?: number;
    msgVpnName?: string;
    permission?: MsgVpnTopicEndpointTemplate.permission;
    redeliveryEnabled?: boolean;
    rejectLowPriorityMsgEnabled?: boolean;
    rejectLowPriorityMsgLimit?: number;
    rejectMsgToSenderOnDiscardBehavior?: MsgVpnTopicEndpointTemplate.rejectMsgToSenderOnDiscardBehavior;
    respectMsgPriorityEnabled?: boolean;
    respectTtlEnabled?: boolean;
    topicEndpointNameFilter?: string;
    topicEndpointTemplateName?: string;
}

Type declaration

  • Optional accessType?: MsgVpnTopicEndpointTemplate.accessType

    The access type for delivering messages to consumer flows. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is "exclusive". The allowed values and their meaning are:

    "exclusive" - Exclusive delivery of messages to the first bound consumer flow.
    "non-exclusive" - Non-exclusive delivery of messages to all bound consumer flows in a round-robin fashion.
    
  • Optional consumerAckPropagationEnabled?: boolean

    Enable or disable the propagation of consumer acknowledgements (ACKs) received on the active replication Message VPN to the standby replication Message VPN. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is true.

  • Optional deadMsgQueue?: string

    The name of the Dead Message Queue (DMQ). Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is "#DEAD_MSG_QUEUE".

  • Optional deliveryDelay?: number

    The delay, in seconds, to apply to messages arriving on the Topic Endpoint before the messages are eligible for delivery. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is 0. Available since 2.22.

  • Optional eventBindCountThreshold?: EventThreshold
  • Optional eventMsgSpoolUsageThreshold?: EventThreshold
  • Optional eventRejectLowPriorityMsgLimitThreshold?: EventThreshold
  • Optional maxBindCount?: number

    The maximum number of consumer flows that can bind. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is 1.

  • Optional maxDeliveredUnackedMsgsPerFlow?: number

    The maximum number of messages delivered but not acknowledged per flow. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is 10000.

  • Optional maxMsgSize?: number

    The maximum message size allowed, in bytes (B). Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is 10000000.

  • Optional maxMsgSpoolUsage?: number

    The maximum message spool usage allowed, in megabytes (MB). A value of 0 only allows spooling of the last message received and disables quota checking. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is 5000.

  • Optional maxRedeliveryCount?: number

    The maximum number of message redelivery attempts that will occur prior to the message being discarded or moved to the DMQ. A value of 0 means to retry forever. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is 0.

  • Optional maxTtl?: number

    The maximum time in seconds a message can stay in the Topic Endpoint when respectTtlEnabled is "true". A message expires when the lesser of the sender assigned time-to-live (TTL) in the message and the maxTtl configured for the Topic Endpoint, is exceeded. A value of 0 disables expiry. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is 0.

  • Optional msgVpnName?: string

    The name of the Message VPN.

  • Optional permission?: MsgVpnTopicEndpointTemplate.permission

    The permission level for all consumers, excluding the owner. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is "no-access". The allowed values and their meaning are:

    "no-access" - Disallows all access.
    "read-only" - Read-only access to the messages.
    "consume" - Consume (read and remove) messages.
    "modify-topic" - Consume messages or modify the topic/selector.
    "delete" - Consume messages, modify the topic/selector or delete the Client created endpoint altogether.
    
  • Optional redeliveryEnabled?: boolean

    Enable or disable message redelivery. When enabled, the number of redelivery attempts is controlled by maxRedeliveryCount. When disabled, the message will never be delivered from the topic-endpoint more than once. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is true. Available since 2.18.

  • Optional rejectLowPriorityMsgEnabled?: boolean

    Enable or disable the checking of low priority messages against the rejectLowPriorityMsgLimit. This may only be enabled if rejectMsgToSenderOnDiscardBehavior does not have a value of "never". Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is false.

  • Optional rejectLowPriorityMsgLimit?: number

    The number of messages that are permitted before low priority messages are rejected. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is 0.

  • Optional rejectMsgToSenderOnDiscardBehavior?: MsgVpnTopicEndpointTemplate.rejectMsgToSenderOnDiscardBehavior

    Determines when to return negative acknowledgements (NACKs) to sending clients on message discards. Note that NACKs cause the message to not be delivered to any destination and Transacted Session commits to fail. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is "never". The allowed values and their meaning are:

    "always" - Always return a negative acknowledgment (NACK) to the sending client on message discard.
    "when-topic-endpoint-enabled" - Only return a negative acknowledgment (NACK) to the sending client on message discard when the Topic Endpoint is enabled.
    "never" - Never return a negative acknowledgment (NACK) to the sending client on message discard.
    
  • Optional respectMsgPriorityEnabled?: boolean

    Enable or disable the respecting of message priority. When enabled, messages are delivered in priority order, from 9 (highest) to 0 (lowest). Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is false.

  • Optional respectTtlEnabled?: boolean

    Enable or disable the respecting of the time-to-live (TTL) for messages. When enabled, expired messages are discarded or moved to the DMQ. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is false.

  • Optional topicEndpointNameFilter?: string

    A wildcardable pattern used to determine which Topic Endpoints use settings from this Template. Two different wildcards are supported: * and >. Similar to topic filters or subscription patterns, a > matches anything (but only when used at the end), and a * matches zero or more characters but never a slash (/). A > is only a wildcard when used at the end, after a /. A * is only allowed at the end, after a slash (/). Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is "".

  • Optional topicEndpointTemplateName?: string

    The name of the Topic Endpoint Template.