|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A JMS destination template.
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()
The deliveryModeOverride attribute defines the delivery mode assigned to all messages that arrive at the destination regardless of the delivery mode specified by the producer. |
JMSDestinationKeyMBean[] |
getDestinationKeys()
Return a read-only array of the destination keys of the template or destination. |
JMSDestinationMBean |
getErrorDestination()
Returns the error destination 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 priority override value. |
long |
getRedeliveryDelayOverride()
Returns the redelivery delay override in milliseconds for rollbacks and recoveries of consumed messages. |
int |
getRedeliveryLimit()
Returns the number of redelivery tries a message may have before it is placed in the error destination. |
java.lang.String |
getTimeToDeliverOverride()
Returns the time-to-deliver override value either in milliseconds or as a schedule. |
long |
getTimeToLiveOverride()
The timeToLiveOverride attribute defines the time-to-live assigned to all messages that arrive at the destination, regardless of the time-to-live specified by the producer. |
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)
The deliveryModeOverride attribute is dynamic. |
void |
setDestinationKeys(JMSDestinationKeyMBean[] keys)
Set the list of potential destination keys for the template or destination. |
void |
setErrorDestination(JMSDestinationMBean errorDestination)
The errorDestination attribute defines the name of the target destination 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 priority override value. |
void |
setRedeliveryDelayOverride(long redeliveryDelayOverride)
The redeliveryDelayOverride attribute defines the delay in milliseconds before rolled back or recovered messages are redelivered, regardless of the redelivery-delay specified by the consumer and/or connection factory. |
void |
setRedeliveryLimit(int redeliveryLimit)
The redeliveryLimit attribute defines the number of redelivery tries a message may have before it is placed in the error destination. |
void |
setTimeToDeliverOverride(java.lang.String timeToDeliverOverride)
The timeToDeliverOverride value defines the delay in milliseconds before a produced message is made visible on its target destination, regardless of the time-to-deliver specified by the producer and/or connection factory. |
void |
setTimeToLiveOverride(long timeToLiveOverride)
The timeToLiveOverride attribute is dynamic. |
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean |
getNotes,
setNotes,
setPersistenceEnabled |
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
destinationKeys
- an array of
JMSDestinationKeyMBeanpublic boolean removeDestinationKey(JMSDestinationKeyMBean destinationKey)
destinationKey
- a reference to
JMSDestinationKeyMBeanpublic long getBytesMaximum()
This is 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.
public void setBytesMaximum(long bytesMaximum) throws javax.management.InvalidAttributeValueException, DistributedManagementException
public long getBytesThresholdHigh()
public void setBytesThresholdHigh(long bytesThresholdHigh) throws javax.management.InvalidAttributeValueException, DistributedManagementException
public long getBytesThresholdLow()
public void setBytesThresholdLow(long bytesThresholdLow) throws javax.management.InvalidAttributeValueException, DistributedManagementException
public long getMessagesMaximum()
public void setMessagesMaximum(long messagesMaximum) throws javax.management.InvalidAttributeValueException, DistributedManagementException
public long getMessagesThresholdHigh()
public void setMessagesThresholdHigh(long messagesThresholdHigh) throws javax.management.InvalidAttributeValueException, DistributedManagementException
public long getMessagesThresholdLow()
public void setMessagesThresholdLow(long messagesThresholdLow) throws javax.management.InvalidAttributeValueException, DistributedManagementException
public int getPriorityOverride()
public void setPriorityOverride(int priorityOverride) throws javax.management.InvalidAttributeValueException, DistributedManagementException
Note: Changing the priorityOverride attribute for a destination only affects incoming messages. It does not affect messages that are already stored in the destination.
public java.lang.String getTimeToDeliverOverride()
Schedule
public void setTimeToDeliverOverride(java.lang.String timeToDeliverOverride) throws javax.management.InvalidAttributeValueException, DistributedManagementException
Note: Changing the timeToDeliverOverride attribute only affects future message delivery, it does not affect message delivery of already produced messages. A value of -1 indicates no override is set; this is the default. The timeToDeliverOverride may be specified either as a long or as a schedule.
Schedule
public long getRedeliveryDelayOverride()
public void setRedeliveryDelayOverride(long redeliveryDelayOverride) throws javax.management.InvalidAttributeValueException, DistributedManagementException
Note: Changing the redeliveryDelayOverride attribute only affects future rollbacks and recovers, it does not affect rollbacks and recovers that have already occurred. A value of -1 indicates no override is set; this is the default.
public int getRedeliveryLimit()
public void setErrorDestination(JMSDestinationMBean errorDestination) throws javax.management.InvalidAttributeValueException, DistributedManagementException
Note: The error destination must be a destination that is configured on the local JMS server.
public JMSDestinationMBean getErrorDestination()
public void setRedeliveryLimit(int redeliveryLimit) throws javax.management.InvalidAttributeValueException, DistributedManagementException
Redelivered queue messages are put back into their originating destination; redelivered topic messages are put back into their originating subscription if their redelivery limit has not been reached. The redeliveryLimit attribute is dynamic and can be changed at anytime.
Note: Changing the redeliveryLimit attribute 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()
public void setTimeToLiveOverride(long timeToLiveOverride) throws javax.management.InvalidAttributeValueException, DistributedManagementException
Note: Changing the timeToLiveOverride attribute for a destination only affects incoming messages. It does not affect messages that are already stored in the destination. A value of -1 indicates that no override is set.
public java.lang.String getDeliveryModeOverride()
public void setDeliveryModeOverride(java.lang.String deliveryModeOverride) throws javax.management.InvalidAttributeValueException, DistributedManagementException
Note: Changing the deliveryModeOverride attribute for a destination only affects incoming messages. It does not affect messages that are already stored in the destination.
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs61 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |