|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This class represents a JMS template or destination.
Fields inherited from class weblogic.management.configuration.ConfigurationMBean |
CACHING_STUB_SVUID |
Method Summary | |
boolean |
addDestinationKey(JMSDestinationKeyMBean destinationKey)
Add a destination key to the template or destination. |
long |
getBytesMaximum()
Returns the value of BytesMaximum. |
long |
getBytesThresholdHigh()
Returns the value of BytesThresholdHigh. |
long |
getBytesThresholdLow()
Returns the value of BytesThresholdLow. |
java.lang.String |
getDeliveryModeOverride()
Returns the DeliveryModeOverride value. |
JMSDestinationKeyMBean[] |
getDestinationKeys()
Return a read-only array of the destination keys of the template or destination. |
JMSDestinationMBean |
getErrorDestination()
Returns the ErrorDestination value for messages that have reach their redelivery limit. |
long |
getMessagesMaximum()
Returns the value of MessagesMaximum. |
long |
getMessagesThresholdHigh()
Returns the value of MessagesThresholdHigh. |
long |
getMessagesThresholdLow()
Returns the value of MessagesThresholdLow. |
int |
getPriorityOverride()
Returns the PriorityOverride value. |
long |
getRedeliveryDelayOverride()
Returns the RedeliveryDelayOverride value in milliseconds before rolled back and recovered messages are redelivered. |
int |
getRedeliveryLimit()
Returns the number of redelivery tries a message can have before it is placed in the error destination. |
java.lang.String |
getTimeToDeliverOverride()
Returns the TimeToDeliver override value either in milliseconds or as a schedule. |
long |
getTimeToLiveOverride()
Returns the TimeToLiveOverride value. |
boolean |
removeDestinationKey(JMSDestinationKeyMBean destinationKey)
Remove a destination key from the template or destination. |
void |
setBytesMaximum(long bytesMaximum)
Set the value of BytesMaximum. |
void |
setBytesThresholdHigh(long bytesThresholdHigh)
Set the value of BytesThresholdHigh. |
void |
setBytesThresholdLow(long bytesThresholdLow)
Set the value of BytesThresholdLow. |
void |
setDeliveryModeOverride(java.lang.String deliveryModeOverride)
Sets the DeliveryModeOverride value. |
void |
setDestinationKeys(JMSDestinationKeyMBean[] keys)
Set the list of potential destination keys for for sorting the messages that arrive on the template or destination. |
void |
setErrorDestination(JMSDestinationMBean errorDestination)
Sets the ErrorDestination value for messages that have reached their redelivery limit. |
void |
setMessagesMaximum(long messagesMaximum)
Set the value of MessagesMaximum. |
void |
setMessagesThresholdHigh(long messagesThresholdHigh)
Set the value of MessagesThresholdHigh. |
void |
setMessagesThresholdLow(long messagesThresholdLow)
Set the value of MessagesThresholdLow. |
void |
setPriorityOverride(int priorityOverride)
Set the PriorityOverride value. |
void |
setRedeliveryDelayOverride(long redeliveryDelayOverride)
Sets the RedeliveryDelayOverride value in milliseconds before rolled back or recovered messages are redelivered. |
void |
setRedeliveryLimit(int redeliveryLimit)
Sets the number of redelivery tries a message can have before it is placed in the error destination. |
void |
setTimeToDeliverOverride(java.lang.String timeToDeliverOverride)
Sets the TimeToDeliver override value either in milliseconds or as a schedule. |
void |
setTimeToLiveOverride(long timeToLiveOverride)
Sets the TimeToLiveOverride value. |
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean |
addLinkMbeanAttribute,
getNotes,
isPersistenceEnabled,
setNotes |
Methods inherited from interface weblogic.management.WebLogicMBean |
getMBeanInfo,
getName,
getObjectName,
getParent,
getType,
isCachingDisabled,
isRegistered,
setName,
setParent |
Methods inherited from interface javax.management.DynamicMBean |
getAttribute,
getAttributes,
invoke,
setAttribute,
setAttributes |
Methods inherited from interface javax.management.MBeanRegistration |
postDeregister,
postRegister,
preDeregister,
preRegister |
Methods inherited from interface javax.management.NotificationBroadcaster |
addNotificationListener,
getNotificationInfo,
removeNotificationListener |
Method Detail |
public JMSDestinationKeyMBean[] getDestinationKeys()
public boolean addDestinationKey(JMSDestinationKeyMBean destinationKey)
destinationKey
- a reference to
JMSDestinationKeyMBeanpublic void setDestinationKeys(JMSDestinationKeyMBean[] keys) throws javax.management.InvalidAttributeValueException
The keys are ordered from most significant to least significant. If more than one key is specified, a key based on the JMSMessageID can only be the last key in the list.
Note: If JMSMessageID is not defined in the key, it is implicitly assumed to be the last key and is set as "Ascending" (FIFO) for the sort order.
destinationKeys
- an array of
JMSDestinationKeyMBeanpublic boolean removeDestinationKey(JMSDestinationKeyMBean destinationKey)
destinationKey
- a reference to
JMSDestinationKeyMBeanpublic long getBytesMaximum()
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.
Note: If a JMS template is used for distributed destination members, then this setting applies only to those specific members and not the distributed destination set as a whole.
Range of Values: >= BytesThresholdHigh
This attribute is dynamically configurable, but only incoming messages are impacted; stored messages are not impacted.
public void setBytesMaximum(long bytesMaximum) throws javax.management.InvalidAttributeValueException, DistributedManagementException
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.
Note: If a JMS template is used for distributed destination members, then this setting applies only to those specific members and not the distributed destination set as a whole.
Range of Values: >= BytesThresholdHigh
This attribute is dynamically configurable, but only incoming messages are impacted; stored messages are not impacted.
public long getBytesThresholdHigh()
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 - A message is logged on the server indicating a high threshold condition.
Bytes Paging - If bytes paging is enabled (and a paging store has been configured), then destination-level bytes paging is started.
Flow Control - If flow control is enabled, the destination becomes armed and instructs producers to begin decreasing their message flow.
A value of -1 specifies that the value is not set and 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: If bytes paging is enabled, it cannot be dynamically disabled by resetting the BytesThresholdHigh to -1, as this will cause an exception to be thrown. To dynamically disable paging, you could set the BytesThresholdHigh to a very large number, so that paging would not be triggered.
public void setBytesThresholdHigh(long bytesThresholdHigh) throws javax.management.InvalidAttributeValueException, DistributedManagementException
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 - A message is logged on the server indicating a high threshold condition.
Bytes Paging - If bytes paging is enabled (and a paging store has been configured), then destination-level bytes paging is started.
Flow Control - If flow control is enabled, the destination becomes armed and instructs producers to begin decreasing their message flow.
A value of -1 specifies that the value is not set and 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: If bytes paging is enabled, it cannot be dynamically disabled by resetting the BytesThresholdHigh to -1, as this will cause an exception to be thrown. To dynamically disable paging, you could set the BytesThresholdHigh to a very large number, so that paging would not be triggered.
public long getBytesThresholdLow()
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 - A message is logged on the server indicating that the threshold condition has cleared.
Bytes Paging - If bytes paging is enabled, paging is stopped (if paging is occurring).
Flow Control - If flow control is enabled, the destination becomes disarmed and instructs producers to begin increasing their message flow.
A value of -1 specifies that the value is not set and 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.
public void setBytesThresholdLow(long bytesThresholdLow) throws javax.management.InvalidAttributeValueException, DistributedManagementException
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 - A message is logged on the server indicating that the threshold condition has cleared.
Bytes Paging - If bytes paging is enabled, paging is stopped (if paging is occurring).
Flow Control - If flow control is enabled, the destination becomes disarmed and instructs producers to begin increasing their message flow.
A value of -1 specifies that the value is not set and 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.
public long getMessagesMaximum()
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.
Note: If a JMS template is used for distributed destination members, then this setting applies only to those specific members and not the distributed destination set as a whole.
Range of Values: >= MessagesThresholdHigh
This attribute is dynamically configurable, but only incoming messages are impacted; stored messages are not impacted.
public void setMessagesMaximum(long messagesMaximum) throws javax.management.InvalidAttributeValueException, DistributedManagementException
This value is 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.
Note: If a JMS template is used for distributed destination members, then this setting applies only to those specific members and not the distributed destination set as a whole.
Range of Values: >= MessagesThresholdHigh
This attribute is dynamically configurable, but only incoming messages are impacted; stored messages are not impacted.
public long getMessagesThresholdHigh()
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 - A message is logged on the server indicating a high threshold condition.
Messages Paging - If messages paging is enabled (and a paging store has been configured), then destination-level messages paging is started.
Flow Control - If flow control is enabled, the destination becomes armed and instructs producers to begin decreasing their message flow.
A value of -1 specifies that the value is not set and 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: If messages paging is enabled, it cannot be dynamically disabled by resetting the MessagesThresholdHigh to -1, as this will cause an exception to be thrown. To dynamically disable paging, you could set the MessagesThresholdHigh to a very large number, so that paging would not be triggered.
public void setMessagesThresholdHigh(long messagesThresholdHigh) throws javax.management.InvalidAttributeValueException, DistributedManagementException
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 - A message is logged on the server indicating a high threshold condition.
Messages Paging - If messages paging is enabled (and a paging store has been configured), then destination-level messages paging is started.
Flow Control - If flow control is enabled, the destination becomes armed and instructs producers to begin decreasing their message flow.
A value of -1 specifies that the value is not set and 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: If messages paging is enabled, it cannot be dynamically disabled by resetting the MessagesThresholdHigh to -1, as this will cause an exception to be thrown. To dynamically disable paging, you could set the MessagesThresholdHigh to a very large number, so that paging would not be triggered.
public long getMessagesThresholdLow()
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 - A message is logged on the server indicating that the threshold condition has cleared.
Messages Paging - If messages paging is enabled, paging is stopped (if paging is occurring).
Flow Control - If flow control is enabled, the destination becomes disarmed and instructs producers to begin increasing their message flow.
A value of -1 specifies that the value is not set and 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.
public void setMessagesThresholdLow(long messagesThresholdLow) throws javax.management.InvalidAttributeValueException, DistributedManagementException
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 - A message is logged on the server indicating that the threshold condition has cleared.
Messages Paging - If messages paging is enabled, paging is stopped (if paging is occurring).
Flow Control - If flow control is enabled, the destination becomes disarmed and instructs producers to begin increasing their message flow.
A value of -1 specifies that the value is not set and 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.
public int getPriorityOverride()
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.
public void setPriorityOverride(int priorityOverride) throws javax.management.InvalidAttributeValueException, DistributedManagementException
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.
public java.lang.String getTimeToDeliverOverride()
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.
Schedule
public void setTimeToDeliverOverride(java.lang.String timeToDeliverOverride) throws javax.management.InvalidAttributeValueException, DistributedManagementException
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 TimeToDeliver 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.
Schedule
public long getRedeliveryDelayOverride()
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.
public void setRedeliveryDelayOverride(long redeliveryDelayOverride) throws javax.management.InvalidAttributeValueException, DistributedManagementException
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. Redelivered queue messages are put back into their originating destination; redelivered topic messages are put back into their originating subscription.
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.
Note: Changing the RedeliveryDelayOverride only affects future rollbacks and recovers, it does not affect rollbacks and recovers that have already occurred.
public int getRedeliveryLimit()
Depending on whether an error destination is configured, the following occurs when the redelivery limit is reached:
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.
public void setErrorDestination(JMSDestinationMBean errorDestination) throws javax.management.InvalidAttributeValueException, DistributedManagementException
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.
public JMSDestinationMBean getErrorDestination()
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.
public void setRedeliveryLimit(int redeliveryLimit) throws javax.management.InvalidAttributeValueException, DistributedManagementException
Depending on whether an error destination is configured, the following occurs when the redelivery limit is reached:
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. A value of -1 indicates there is no limit on the number of redelivery attempts.
public long getTimeToLiveOverride()
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.
public void setTimeToLiveOverride(long timeToLiveOverride) throws javax.management.InvalidAttributeValueException, DistributedManagementException
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.
public java.lang.String getDeliveryModeOverride()
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.
public void setDeliveryModeOverride(java.lang.String deliveryModeOverride) throws javax.management.InvalidAttributeValueException, DistributedManagementException
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.
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs70 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |