bea.com | products | dev2dev | support | askBEA
 Download Docs   Site Map   Glossary 
Search

WebLogic Server Configuration Reference

 Previous Next Contents Index View as PDF  

JMSTemplate

Description

A JMS destination template.

Syntax

<!ELEMENT JMSTemplate ( JMSDestinationKey* | JMSQueue* | JMSTopic* )* >
<!ATTLIST JMSTemplate
   BytesMaximum               CDATA                    "-1"
   BytesPagingEnabled         (true | false)           "false"
   BytesThresholdHigh         CDATA                    "-1"
   BytesThresholdLow          CDATA                    "-1"
   DeliveryModeOverride       (Persistent |
                               Non-Persistent |
                               No-Delivery)            "No-Delivery"
   DestinationKeys            CDATA                    #IMPLIED
   ErrorDestination           CDATA                    #IMPLIED
   MessagesMaximum            CDATA                    "-1"
   MessagesPagingEnabled      (true | false)           "false"
   MessagesThresholdHigh      CDATA                    "-1"
   MessagesThresholdLow       CDATA                    "-1"
   Name                       CDATA                    #REQUIRED
   Notes                      CDATA                    #IMPLIED
   PriorityOverride           CDATA                    "-1"
   RedeliveryDelayOverride    CDATA                    "-1"
   RedeliveryLimit            CDATA                    "-1"
   TimeToDeliverOverride      CDATA                    "-1"
   TimeToLiveOverride         CDATA                    "-1"
>

Parent Elements

The JMSTemplate element can be a child of these elements:

Attributes

Table 41-1 JMSTemplateMBean Element Attributes

Attribute

Description

Range of Values and Default

Console Label

Bytes-Maximum

The value of BytesMaximum.

The maximum number of bytes that may be stored in the destination. A value of -1 specifies that there is no limit on the number of bytes that can be stored in the destination.

Range of Values: >= BytesThresholdHigh

This attribute is dynamically configurable, but only incoming messages are impacted; stored messages are not impacted.

Default: -1

Minimum: -1

Maximum: 9223372036854775807

Bytes Maximum

Bytes-Paging-Enabled

Check if BytesPagingEnabled is set.

Flag for specifying whether or not bytes paging is enabled on the template:

  • If this flag is not selected (false), then bytes paging is disabled for the template's destinations-unless the destination setting overrides the template.

  • If this flag is selected (true), a paging store has been configured for the JMS Server, and both the BytesThresholdLow and BytesThresholdHigh attribute values are greater than -1, then bytes paging is enabled for the template's destinations--unless the destination setting overrides the template.

Note:If no value is defined, then this setting defaults to "false" and bytes paging is disabled for the template's destinations--unless the destination setting overrides the template.

Default: false

Bytes Paging Enabled

Bytes-Threshold-High

The value of BytesThresholdHigh.

Upper threshold value that triggers events based on the number of bytes stored in the destination. If the number of bytes exceeds this threshold, the triggered events are:

Log Messages - message is logged on the server indicating a high threshold condition.

Bytes Paging - bytes paging is enabled (and a paging store has been configured), then destination-level bytes paging is started.

Flow Control - flow control is enabled, the destination becomes armed and instructs producers to begin decreasing their message flow.

A value of -1 specifies that bytes paging, flow control, and threshold log messages are disabled for the destination.

Range of Values:<= BytesMaximum; >BytesThresholdLow

This attribute is dynamically configurable, but only incoming messages are impacted; stored messages are not impacted.

Note:Bytes paging cannot be dynamically disabled by resetting the BytesThresholdHigh to -1. To disable paging, you could set the BytesThresholdHigh to a very large number, so that paging would not be triggered.

Default: -1

Minimum: -1

Maximum: 9223372036854775807

Bytes Threshold High

Bytes-Threshold-Low

The value of BytesThresholdLow.

Lower threshold value that triggers events based on the number of bytes stored in the destination. If the number of bytes falls below this threshold, the triggered events are:

Log Messages - message is logged on the server indicating that the threshold condition has cleared.

Bytes Paging - bytes paging is enabled, paging is stopped (if paging is occurring).

Flow Control - flow control is enabled, the destination becomes disarmed and instructs producers to begin increasing their message flow.

A value of -1 specifies that bytes paging, flow control, and threshold log messages are disabled for the destination.

Range of Values: < BytesThresholdHigh

This attribute is dynamically configurable, but only incoming messages are impacted; stored messages are not impacted.

Default: -1

Minimum: -1

Maximum: 9223372036854775807

Bytes Threshold Low

Delivery-Mode-Override

The DeliveryModeOverride value.

The delivery mode assigned to all messages that arrive at the destination regardless of the DeliveryMode specified by the message producer.

A value of No-Delivery specifies that the DeliveryMode will not be overridden.

This attribute is dynamically configurable, but only incoming messages are impacted; stored messages are not impacted.

Default: No-Delivery

Valid values:

  • Persistent

  • Non-Persistent

  • No-Delivery

Delivery Mode Override

Destination-Keys

Return a read-only array of the destination keys of the template or destination.


Destination Keys

Error-Destination

The ErrorDestination value for messages that have reached their redelivery limit.

Defines the name of the target destination for messages that have reached their redelivery limit. If no error destination is configured, then such messages are simply dropped.

Note: The error destination must be a destination that is configured on the local JMS server.

This attribute is dynamically configurable, but only incoming messages are impacted; stored messages are not impacted.

Default: null

Minimum: -1

Error Destination

Messages-Maximum

The value of MessagesMaximum.

The maximum number of messages that may be stored in the destination. A value of -1 specifies that there is no limit on the number of messages that can be stored in the destination.

Range of Values: >= MessagesThresholdHigh

This attribute is dynamically configurable, but only incoming messages are impacted; stored messages are not impacted.

Default: -1

Minimum: -1

Maximum: 9223372036854775807

Messages Maximum

Messages-Paging-Enabled

Check if MessagesPagingEnabled is set.

Flag for specifying whether or not messages paging is enabled on the template:

  • If this flag is not selected (false), then messages paging is disabled for the template's destinations-unless the destination setting overrides the template.

  • If this flag is selected (true), a paging store has been configured for the JMS Server, and both the MessagesThresholdLow and MessagesThresholdHigh attribute values are greater than -1, then messages paging is enabled for the template's destinations--unless the destination setting overrides the template.

Note:If no value is defined, this setting defaults to "false" and messages paging is disabled for the template's destinations--unless the destination setting overrides the template.

Default: false

Messages Paging Enabled

Messages-Threshold-High

The value of MessagesThresholdHigh.

Upper threshold value that triggers events based on the number of messages stored in the destination. If the number of messages exceeds this threshold, the triggered events are:

Log Messages - message is logged on the server indicating a high threshold condition.

Bytes Paging - messages paging is enabled (and a paging store has been configured), then destination-level messages paging is started.

Flow Control - flow control is enabled, the destination becomes armed and instructs producers to begin decreasing their message flow.

A value of -1 specifies that messages paging, flow control, and threshold log messages are disabled for the destination.

Range of Values:<= MessagesMaximum; >MessagesThresholdLow

This attribute is dynamically configurable, but only incoming messages are impacted; stored messages are not impacted.

Note:Messages paging cannot be dynamically disabled by resetting the BytesThresholdHigh to -1. To disable paging, you could set the BytesThresholdHigh to a very large number, so that paging would not be triggered.

Default: -1

Minimum: -1

Maximum: 9223372036854775807

Messages Threshold High

Messages-Threshold-Low

The value of MessagesThresholdLow.

Lower threshold value that triggers events based on the number of messages stored in the destination. If the number of messages falls below this threshold, the triggered events are:

Log Messages - message is logged on the server indicating that the threshold condition has cleared.

Bytes Paging - messages paging is enabled, paging is stopped (if paging is occurring).

Flow Control - flow control is enabled, the destination becomes disarmed and instructs producers to begin increasing their message flow.

A value of -1 specifies that messages paging, flow control, and threshold log messages are disabled for the destination.

Range of Values: < MessagesThresholdHigh

This attribute is dynamically configurable, but only incoming messages are impacted; stored messages are not impacted.

Default: -1

Minimum: -1

Maximum: 9223372036854775807

Messages Threshold Low

Name

The name of this configuration. WebLogic Server uses an MBean to implement and persist the configuration.


Name

Notes

Optional information that you can include to describe this configuration.


Notes

Priority-Override

The PriorityOverride value.

This value is the priority assigned to all messages that arrive at the destination, regardless of the Priority specified by the message producer.

The default value (-1) specifies that the destination will not override the Priority setting.

This attribute is dynamically configurable, but only incoming messages are impacted; stored messages are not impacted.

Default: -1

Minimum: -1

Maximum: weblogic.management.configuration.JMSConstants.PRIORITY_MAXIMUM

Priority Override

Redelivery-Delay-Override

The RedeliveryDelayOverride value in milliseconds before rolled back and recovered messages are redelivered.

Defines the delay, in milliseconds, before rolled back or recovered messages are redelivered, regardless of the RedeliveryDelay specified by the consumer and/or connection factory.

The default value (-1) specifies that the destination will not override the RedeliveryDelay setting.

This attribute is dynamically configurable, but only incoming messages are impacted; stored messages are not impacted.

Default: -1

Minimum: -1

Maximum: 9223372036854775807

Redelivery Delay Override

Redelivery-Limit

The number of redelivery tries a message can have before it is placed in the error destination.

Depending on whether an error destination is configured, the following occurs when the redelivery limit is reached:

  • If no error destination is configured, or the quota for the error destination would be exceeded, then persistent and non-persistent messages are simply dropped.

  • If an error destination is configured and the error destination is at quota, then an error message is logged and the message is dropped. However, if the message is persistent, it remains in the persistent store. This ensures that a persistent message will be redelivered when WebLogic Server is rebooted.

The default value (-1) specifies that the destination will not override the RedeliveryLimit setting.

This attribute is dynamically configurable, but only incoming messages are impacted; stored messages are not impacted.

Note:Changing the RedeliveryLimit does not affect messages that have already reached this limit. The next time such messages are redelivered, they will immediately be redirected to the error destination. The number of times of message has been redelivered is not persisted. This means that after a restart the number of delivery attempts on each message is reset to zero.

Default: -1

Minimum: -1

Maximum: 9223372036854775807

Redelivery Limit

Time-To-Deliver-Override

The TimeToDeliver override value either in milliseconds or as a schedule.

Defines the default delay, in milliseconds, between when a message is produced and when it is made visible on its target destination, regardless of the delivery time specified by the producer and/or connection factory.

The default value (-1) specifies that the destination will not override the TimeToDeliver setting. The TimeToDeliverOverride can be specified either as a long or as a schedule.

Note:Changing the TimeToDeliverOverride only affects future message delivery, it does not affect message delivery of already produced messages.

Default: "-1"

Time To Deliver Override

Time-To-Live-Override

The TimeToLiveOverride value.

Defines the TimeToLive value assigned to all messages that arrive at the destination, regardless of the TimeToLive specified by the message producer.

The default value (-1) specifies that the destination will not override the TimeToLive setting.

This attribute is dynamically configurable, but only incoming messages are impacted; stored messages are not impacted.

Default: -1

Minimum: -1

Maximum: 9223372036854775807

Time To Live Override


 

 

Back to Top Previous Next