Package com.tibco.tibjms.admin
Class DestinationInfo
- java.lang.Object
-
- com.tibco.tibjms.admin.DestinationInfo
-
public abstract class DestinationInfo extends java.lang.ObjectThis abstract class contains methods common to both QueueInfo and TopicInfo. It represents a Topic or Queue known to the server. Destinations fall into three categories: static, dynamic, and temporary.
Static destinations are explicitly configured and appear in the configuration files on the server.
Dynamic destinations are created dynamically by EMS clients or routed servers. Dynamic destinations cannot be modified.
Temporary destinations are defined by the Jakarta Messaging specification. Temporary destinations cannot be modified.
TopicInfo or QueueInfo objects received via TibjmsAdmin.getTopic() or TibjmsAdmin.getQueue() methods do not contain the statistical data about the destination. In order to obtain statistical information about destinations use TibjmsAdmin.getTopicsStatistics() or TibjmsAdmin.getQueuesStatistics().
-
-
Field Summary
Fields Modifier and Type Field Description static intALL_TYPEType indicating a topic or queue.static intDEST_GET_ALLRequest info for all destinationsstatic intDEST_GET_DYNAMICRequest info for dynamic destinations onlystatic intDEST_GET_NOTEMPRequest info for nontemporary destinations onlystatic intDEST_GET_STATICRequest info for static destinations onlystatic byteMSG_TRACE_BASICIndicates that message sequence number and message ID will be traced.static byteMSG_TRACE_DETAILIndicates that the message body will be traced in addition to the message sequnce number and message ID, .static byteMSG_TRACE_NONEIndicates that messages will not be traced.static intOVERFLOW_DEFAULTIndicates that the destination has no specific overflow policy set.static intOVERFLOW_DISCARD_OLDIndicates that if maxmsgs or maxbytes are exceeded for the queue or a topic's subscriber then when new messages arrive, old messages will be discarded.static intOVERFLOW_REJECT_INCOMINGFor queues, this behavior is the same as forOVERFLOW_DEFAULT.static intPREFETCH_DEFAULTIndicates that the default number of messages will be prefetched into the EMS client.static intPREFETCH_NONEIndicates no messages will be prefetched into the EMS client.static intQUEUE_TYPEType indicating a queue.static intTOPIC_TYPEType indicating a topic.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddImportTransport(java.lang.String transportName)Add a new import transport to the list of transports this destination imports messages from.booleanareBridgeTargetsInherited()Deprecated.This method has been misnamed and replaced byisBridgeTargetsInherited().booleanareImportTransportsInherited()Deprecated.This method has been misnamed and replaced byisImportTransportsInherited().longconnectionID()Get a temporary destination's connection ID.BridgeTarget[]getBridgeTargets()Get the target destinations that this destination bridges to.intgetConsumerCount()Get the number of consumers for this destination.java.lang.StringgetDescription()Deprecated.As of release 4.4 because destinations never had a description propertylonggetExpiryOverride()Get the expiry override for this destination.longgetFlowControlMaxBytes()Get the volume of pending messages (in bytes) at which flow control is enabled for this destination.java.lang.String[]getImportTransports()Get the names of the transports that this destination imports messages from.StatDatagetInboundStatistics()Get inbound statistics for this destination.java.lang.String[]getJNDINames()Get the array of JNDI names for this destination.longgetMaxBytes()Get the maximum number of message bytes that the server will store for pending messages bound for this destination.longgetMaxMsgs()Get the maximum number of messages that the server will store for pending messages bound for this destination.bytegetMsgTrace()Indicates whether message tracing is enabled for this destination and, if it is enabled, what is to be traced.java.lang.StringgetName()Get the name of this destination.StatDatagetOutboundStatistics()Get outbound statistics for this destination.intgetOverflowPolicy()Get the overflow policy for this destination.longgetPendingMessageCount()Get the total number of pending messages for this destination.longgetPendingMessageSize()Get the total size for all pending messages for this destination.longgetPendingPersistentMessageCount()Get the total number of pending messages for this destination that were sent persistently.longgetPendingPersistentMessageSize()Get the total size for all pending messages for this destination that were sent persistently.intgetPrefetch()Get the number of messages prefetched by the EMS client from the server to improve efficiency.longgetRedeliveryDelay()Get the redelivery delay for this queue.java.lang.StringgetStore()Get the store for this destination.booleanisBridgeTargetsInherited()Determines if the list of targets was inherited from a parent destination or whether it was set on the destination directly.booleanisExpiryOverrideInherited()Determine if the expiry override property was inheritied from a parent destination or set directly for this destination.booleanisFailsafe()Determine if this destination is failsafe.booleanisFailsafeInherited()Determine if the failsafe property was inheritied from a parent destination or set directly for this destination.booleanisFlowControlMaxBytesInherited()Determine if the flowControlMaxBytes property was inheritied from a parent destination or set directly for this destination.booleanisGlobal()Determine if this destination is global.booleanisGlobalInherited()Determine if the global property was inheritied from a parent destination or set directly for this destination.booleanisImportTransportsInherited()Determines if the list of transports this destination imports messages from was inherited from a parent destination or whether it was set on the destination directly.booleanisMaxBytesInherited()Determine if the maxBytes property was inheritied from a parent destination or set directly for this destination.booleanisMaxMsgsInherited()Determine if the maxMsgs property was inheritied from a parent destination or set directly for this destination.booleanisMsgTraceInherited()Determine if the message trace property was inheritied from a parent destination or set directly for this destination.booleanisOverflowPolicyInherited()Determine if the overflow property was inheritied from a parent destination or set directly for this destination.booleanisPrefetchInherited()Determine if the prefetch setting for this dest is inherited from a parent dest.booleanisRedeliveryDelayInherited()Determine if the redelivery delay property was inheritied from a parent queue or set directly for this queue.booleanisSecure()Determine if this destination is secure.booleanisSecureInherited()Determine if the secure property was inheritied from a parent destination or set directly for this destination.booleanisSenderName()Indicates whether or not the sender_name property is set on this destionation.booleanisSenderNameEnforced()Indicates whether or not the sender_name_enforced property is set on this destination.booleanisSenderNameEnforcedInherited()Indicates whether or not the sender_name_enforced is inherited.booleanisSenderNameInherited()Indicates whether or not the sender_name property is inherited.booleanisStatic()Determine if this destination is static.booleanisStoreInherited()Determine if the store property was inherited from a parent destination or set directly for this destination.booleanisTemporary()Determine if this destination is temporary.voidremoveImportTransport(java.lang.String transportName)Remove an import transport from the list of transports this destination imports messages from.voidsetDescription(java.lang.String description)Deprecated.As of release 4.4 because destinations never had a description propertyvoidsetExpiryOverride(long expiry)Set the expiry override for this destination.voidsetFailsafe(boolean failsafe)Set the failsafe property of this destination.voidsetFlowControlMaxBytes(long fcBytes)Set the volume of pending messages (in bytes) at which flow control will be enabled for this destination.voidsetGlobal(boolean global)Set the global property of this destination.voidsetMaxBytes(long maxBytes)Set the maximum number of message bytes that the server will store for pending messages bound for this destination.voidsetMaxMsgs(long maxMsgs)Set the maximum number of messages that the server will store for pending messages bound for this destination.voidsetMsgTrace(byte trace)Set the level of message tracing for this destination.voidsetOverflowPolicy(int overflow)Set the overflow policy for this destination.voidsetPrefetch(int prefetch)Set the number of messages prefetched by the consumers of this destination.voidsetRedeliveryDelay(long delay)Set the redelivery delay for this queue.voidsetSecure(boolean secure)Set the secure property of this destination.voidsetSenderName(boolean senderName)Set sender_name property.voidsetSenderNameEnforced(boolean senderNameEnforced)Set sender_name_enforced property.voidsetStore(java.lang.String store)Set the store for this destination.java.lang.StringstatString()Helper method that generates the statistical information in the form of a string.
-
-
-
Field Detail
-
ALL_TYPE
public static final int ALL_TYPE
Type indicating a topic or queue.- See Also:
- Constant Field Values
-
QUEUE_TYPE
public static final int QUEUE_TYPE
Type indicating a queue.- See Also:
- Constant Field Values
-
TOPIC_TYPE
public static final int TOPIC_TYPE
Type indicating a topic.- See Also:
- Constant Field Values
-
MSG_TRACE_NONE
public static final byte MSG_TRACE_NONE
Indicates that messages will not be traced.- See Also:
- Constant Field Values
-
MSG_TRACE_BASIC
public static final byte MSG_TRACE_BASIC
Indicates that message sequence number and message ID will be traced.- See Also:
- Constant Field Values
-
MSG_TRACE_DETAIL
public static final byte MSG_TRACE_DETAIL
Indicates that the message body will be traced in addition to the message sequnce number and message ID, .- See Also:
- Constant Field Values
-
OVERFLOW_DEFAULT
public static final int OVERFLOW_DEFAULT
Indicates that the destination has no specific overflow policy set. For queues this means that producers will receive an error if they try to send a message to a queue that has reached either its maxbytes limit or its maxmsgs limit. For topics, if a subscriber has exceeded their maxbytes limit of their maxmsgs limit then new messages will not be delivered to that subscriber but no error will be returned to the sender.- Since:
- EMS 4.3
- See Also:
- Constant Field Values
-
OVERFLOW_DISCARD_OLD
public static final int OVERFLOW_DISCARD_OLD
Indicates that if maxmsgs or maxbytes are exceeded for the queue or a topic's subscriber then when new messages arrive, old messages will be discarded.- Since:
- EMS 4.3
- See Also:
- Constant Field Values
-
OVERFLOW_REJECT_INCOMING
public static final int OVERFLOW_REJECT_INCOMING
For queues, this behavior is the same as forOVERFLOW_DEFAULT. For topics, the sender will receive an error if any of the subscribers for the topics has exceeded either their maxbytes limit or their maxmsgs limit.- Since:
- EMS 4.4
- See Also:
- Constant Field Values
-
PREFETCH_NONE
public static final int PREFETCH_NONE
Indicates no messages will be prefetched into the EMS client.- See Also:
- Constant Field Values
-
PREFETCH_DEFAULT
public static final int PREFETCH_DEFAULT
Indicates that the default number of messages will be prefetched into the EMS client.- See Also:
- Constant Field Values
-
DEST_GET_STATIC
public static final int DEST_GET_STATIC
Request info for static destinations only- Since:
- EMS 4.4
- See Also:
- Constant Field Values
-
DEST_GET_DYNAMIC
public static final int DEST_GET_DYNAMIC
Request info for dynamic destinations only- Since:
- EMS 4.4
- See Also:
- Constant Field Values
-
DEST_GET_NOTEMP
public static final int DEST_GET_NOTEMP
Request info for nontemporary destinations only- Since:
- EMS 4.4
- See Also:
- Constant Field Values
-
DEST_GET_ALL
public static final int DEST_GET_ALL
Request info for all destinations- Since:
- EMS 4.4
- See Also:
- Constant Field Values
-
-
Method Detail
-
getJNDINames
public java.lang.String[] getJNDINames()
Get the array of JNDI names for this destination.- Returns:
- the array of JNDI names for this destination.
-
getName
public java.lang.String getName()
Get the name of this destination.- Returns:
- the name of this destination.
-
getDescription
@Deprecated public java.lang.String getDescription()
Deprecated.As of release 4.4 because destinations never had a description propertyGet the description of this destination.- Returns:
- the description of this destination.
-
setDescription
@Deprecated public void setDescription(java.lang.String description)
Deprecated.As of release 4.4 because destinations never had a description propertySet the description of this destination.- Parameters:
description- the description for this destination.
-
isFailsafe
public boolean isFailsafe()
Determine if this destination is failsafe.- Returns:
- true if this destination is failsafe.
-
setFailsafe
public void setFailsafe(boolean failsafe)
Set the failsafe property of this destination.- Parameters:
failsafe- true if this destination should be failsafe.
-
isFailsafeInherited
public boolean isFailsafeInherited()
Determine if the failsafe property was inheritied from a parent destination or set directly for this destination.- Returns:
- true if the failsafe property was inherited.
-
isSecure
public boolean isSecure()
Determine if this destination is secure.- Returns:
- true if this destination is secure.
-
setSecure
public void setSecure(boolean secure)
Set the secure property of this destination.- Parameters:
secure- true if this destination should be secure.
-
isSecureInherited
public boolean isSecureInherited()
Determine if the secure property was inheritied from a parent destination or set directly for this destination.- Returns:
- true if the secure property was inherited.
-
isGlobal
public boolean isGlobal()
Determine if this destination is global.- Returns:
- true if this destination is global.
-
setGlobal
public void setGlobal(boolean global)
Set the global property of this destination.- Parameters:
global- true if this destination should be global.
-
isGlobalInherited
public boolean isGlobalInherited()
Determine if the global property was inheritied from a parent destination or set directly for this destination.- Returns:
- true if the global property was inherited.
-
getPrefetch
public int getPrefetch()
Get the number of messages prefetched by the EMS client from the server to improve efficiency.- Returns:
- the number of messages prefetched by the EMS client.
-
isPrefetchInherited
public boolean isPrefetchInherited()
Determine if the prefetch setting for this dest is inherited from a parent dest.- Returns:
- true if the prefetch setting for this dest is inherited from a parent dest.
-
setPrefetch
public void setPrefetch(int prefetch)
Set the number of messages prefetched by the consumers of this destination. To use the default prefetch setting, prefetch should be set to PREFETCH_DEFAULT. Prefetch can be disabled for local queues via setting it to PREFETCH_NONE. Topics and routed queues do not support PREFETCH_NONE.- Parameters:
prefetch- the number of messages consumers prefetch for this destination- Throws:
java.lang.IllegalArgumentException- if PREFETCH_NONE specified for topic or routed queue.
-
getImportTransports
public java.lang.String[] getImportTransports()
Get the names of the transports that this destination imports messages from.- Returns:
- array of transport names.
-
areImportTransportsInherited
@Deprecated public boolean areImportTransportsInherited()
Deprecated.This method has been misnamed and replaced byisImportTransportsInherited().
-
isImportTransportsInherited
public boolean isImportTransportsInherited()
Determines if the list of transports this destination imports messages from was inherited from a parent destination or whether it was set on the destination directly.- Returns:
- true if transport list inherited from parent, false otherwise.
- Since:
- EMS 4.4
-
addImportTransport
public void addImportTransport(java.lang.String transportName) throws TibjmsAdminInvalidNameExceptionAdd a new import transport to the list of transports this destination imports messages from. If the current list of transports has been inherited from a parent destination then adding a transport will stop the inheritance and the inherited transports will all be removed from the list and replaced with the new one. From then on isImportTransportsInherited will indicate that the transports are no longer inherited and future calls to addImportTransport will simply add new transports to the list.- Parameters:
transportName- the name of the transport.- Throws:
TibjmsAdminInvalidNameException- if transportName is not a legal transport name
-
removeImportTransport
public void removeImportTransport(java.lang.String transportName) throws TibjmsAdminInvalidNameException, TibjmsAdminExceptionRemove an import transport from the list of transports this destination imports messages from. The removal of a transport from the list if the transports are inherited from a parent destination is not permitted and results in an exception.- Parameters:
transportName- the name of the transport.- Throws:
TibjmsAdminInvalidNameException- if transportName is not a legal transport nameTibjmsAdminException- if import transports is inherited
-
getBridgeTargets
public BridgeTarget[] getBridgeTargets()
Get the target destinations that this destination bridges to.- Returns:
- array of BridgeTarget objects.
-
areBridgeTargetsInherited
@Deprecated public boolean areBridgeTargetsInherited()
Deprecated.This method has been misnamed and replaced byisBridgeTargetsInherited().
-
isBridgeTargetsInherited
public boolean isBridgeTargetsInherited()
Determines if the list of targets was inherited from a parent destination or whether it was set on the destination directly.- Returns:
- true if targets inherited from parent, false otherwise.
- Since:
- EMS 4.4
-
isSenderName
public boolean isSenderName()
Indicates whether or not the sender_name property is set on this destionation.- Returns:
- true if sender_name property is set on this destionation, false otherwise.
-
setSenderName
public void setSenderName(boolean senderName)
Set sender_name property.- Parameters:
senderName- name of sender.
-
isSenderNameInherited
public boolean isSenderNameInherited()
Indicates whether or not the sender_name property is inherited.- Returns:
- true if sender_name property is inherited, false otherwise.
-
isSenderNameEnforced
public boolean isSenderNameEnforced()
Indicates whether or not the sender_name_enforced property is set on this destination.- Returns:
- true if sender_name_enforced property is set on this destionation, false otherwise.
-
setSenderNameEnforced
public void setSenderNameEnforced(boolean senderNameEnforced)
Set sender_name_enforced property.- Parameters:
senderNameEnforced- true if the property is to be set, false otherwise.
-
isSenderNameEnforcedInherited
public boolean isSenderNameEnforcedInherited()
Indicates whether or not the sender_name_enforced is inherited.- Returns:
- true if sender_name_enforced property is inherited, false otherwise.
-
getMaxBytes
public long getMaxBytes()
Get the maximum number of message bytes that the server will store for pending messages bound for this destination.- Returns:
- the maximum number of message bytes that the server will store for pending messages bound for this destination.
-
setMaxBytes
public void setMaxBytes(long maxBytes)
Set the maximum number of message bytes that the server will store for pending messages bound for this destination.- Parameters:
maxBytes- the maximum number of message bytes the server should store bound for this destination.
-
isMaxBytesInherited
public boolean isMaxBytesInherited()
Determine if the maxBytes property was inheritied from a parent destination or set directly for this destination.- Returns:
- true if the maxBytes property was inherited.
-
getMaxMsgs
public long getMaxMsgs()
Get the maximum number of messages that the server will store for pending messages bound for this destination.- Returns:
- the maximum number of messages that the server will store for pending messages bound for this destination.
- Since:
- EMS 4.3 (queues only), EMS 4.4 (topics and queues)
-
setMaxMsgs
public void setMaxMsgs(long maxMsgs)
Set the maximum number of messages that the server will store for pending messages bound for this destination.- Parameters:
maxMsgs- the maximum number of messages the server should store bound for this destination.- Since:
- EMS 4.3 (queues only), EMS 4.4 (topics and queues)
-
isMaxMsgsInherited
public boolean isMaxMsgsInherited()
Determine if the maxMsgs property was inheritied from a parent destination or set directly for this destination.- Returns:
- true if the maxMsgs property was inherited.
- Since:
- EMS 4.3 (queues only), EMS 4.4 (topics and queues)
-
getOverflowPolicy
public int getOverflowPolicy()
Get the overflow policy for this destination. Possible values areOVERFLOW_DEFAULT,OVERFLOW_DISCARD_OLDorOVERFLOW_REJECT_INCOMING.- Returns:
- the overflow policy for this destination.
- Since:
- EMS 4.3 (queues only), EMS 4.4 (topics and queues)
-
setOverflowPolicy
public void setOverflowPolicy(int overflow) throws java.lang.IllegalArgumentExceptionSet the overflow policy for this destination. Allowable values areOVERFLOW_DEFAULT,OVERFLOW_DISCARD_OLDandOVERFLOW_REJECT_INCOMING.- Parameters:
overflow- the overflow policy for this destination.- Throws:
java.lang.IllegalArgumentException- if overflow is invalid.- Since:
- EMS 4.3 (queues only), EMS 4.4 (topics and queues)
-
isOverflowPolicyInherited
public boolean isOverflowPolicyInherited()
Determine if the overflow property was inheritied from a parent destination or set directly for this destination.- Returns:
- true if the overflow property was inherited.
- Since:
- EMS 4.3 (queues only), EMS 4.4 (topics and queues)
-
getStore
public java.lang.String getStore()
Get the store for this destination.- Returns:
- the store for this destination.
- Since:
- EMS 5.0
-
isStoreInherited
public boolean isStoreInherited()
Determine if the store property was inherited from a parent destination or set directly for this destination.- Returns:
- true if the store property was inherited.
- Since:
- EMS 5.0
-
setStore
public void setStore(java.lang.String store)
Set the store for this destination.- Parameters:
store- the store for this destination.- Throws:
java.lang.IllegalArgumentException- if store is null or empty- Since:
- EMS 5.0
-
getMsgTrace
public byte getMsgTrace()
Indicates whether message tracing is enabled for this destination and, if it is enabled, what is to be traced.- Returns:
- a byte representing the level of message tracing for this destination.
-
setMsgTrace
public void setMsgTrace(byte trace) throws java.lang.IllegalArgumentExceptionSet the level of message tracing for this destination.- Parameters:
trace- a byte representing the desired level of message tracing for this destination.- Throws:
java.lang.IllegalArgumentException- if trace is invalid.
-
isMsgTraceInherited
public boolean isMsgTraceInherited()
Determine if the message trace property was inheritied from a parent destination or set directly for this destination.- Returns:
- true if the trace property was inherited, false otherwise.
-
getFlowControlMaxBytes
public long getFlowControlMaxBytes()
Get the volume of pending messages (in bytes) at which flow control is enabled for this destination.- Returns:
- the volume of pending messages (in bytes) that the server will store for this destination before enabling flow control. A return value of zero indicates that flow control will never be enabled.
-
setFlowControlMaxBytes
public void setFlowControlMaxBytes(long fcBytes)
Set the volume of pending messages (in bytes) at which flow control will be enabled for this destination.- Parameters:
fcBytes- the volume of messages (in bytes) that the server should store for this destination before enabling flow control. Set the value to zero to cancel the current value.
-
isFlowControlMaxBytesInherited
public boolean isFlowControlMaxBytesInherited()
Determine if the flowControlMaxBytes property was inheritied from a parent destination or set directly for this destination.- Returns:
- true if the flowControlMaxBytes property was inherited.
-
isStatic
public boolean isStatic()
Determine if this destination is static. A destination is static if it is explicitly configured on the server. Temporary destinations and destinations created by the client without being configured on the server are not static. Only static destinations can be modified. Attempts to modify dynamic and temporary destinations will throw an exception.- Returns:
- true if this destination is static.
-
isTemporary
public boolean isTemporary()
Determine if this destination is temporary.- Returns:
- true if this destination is temporary.
-
connectionID
public long connectionID() throws java.lang.IllegalArgumentExceptionGet a temporary destination's connection ID.- Returns:
- the connection ID for a temporary destination.
- Throws:
java.lang.IllegalArgumentException- if destination is not temporary.- Since:
- EMS 8.2
-
getPendingMessageCount
public long getPendingMessageCount()
Get the total number of pending messages for this destination.- Returns:
- the total number of pending messages for this destination.
-
getPendingMessageSize
public long getPendingMessageSize()
Get the total size for all pending messages for this destination.- Returns:
- the total size for all pending messages for this destination.
-
getPendingPersistentMessageCount
public long getPendingPersistentMessageCount()
Get the total number of pending messages for this destination that were sent persistently.- Returns:
- the total number of pending messages for this destination that were sent persistently.
- Since:
- EMS 6.1
-
getPendingPersistentMessageSize
public long getPendingPersistentMessageSize()
Get the total size for all pending messages for this destination that were sent persistently.- Returns:
- the total size for all pending messages for this destination that were sent persistently.
- Since:
- EMS 6.1
-
getConsumerCount
public int getConsumerCount()
Get the number of consumers for this destination.- Returns:
- the number of consumers for this destination.
-
getInboundStatistics
public StatData getInboundStatistics()
Get inbound statistics for this destination. Inbound statistics refers to all messages sent into this destination by EMS clients and routed server.- Returns:
- the inbound statistics for this destination
-
getOutboundStatistics
public StatData getOutboundStatistics()
Get outbound statistics for this destination. Outbound statistics refers to all messages sent by the server to consumers on this destination and to other routed server.- Returns:
- the outbound statistics for this destination.
-
getExpiryOverride
public long getExpiryOverride()
Get the expiry override for this destination. When this property is set to a non-zero value for a destination, and the server delivers a message to it, the server replaces the producer's expiration value with this value.- Returns:
- the expiration time in milliseconds.
- Since:
- EMS 4.2
-
setExpiryOverride
public void setExpiryOverride(long expiry)
Set the expiry override for this destination. When this property is set to a non-zero value for a destination, and the server delivers a message to it, the server replaces the producer's expiration value with this value.- Parameters:
expiry- the expiration time in milliseconds.- Since:
- EMS 4.2
-
isExpiryOverrideInherited
public boolean isExpiryOverrideInherited()
Determine if the expiry override property was inheritied from a parent destination or set directly for this destination.- Returns:
- true if the expiry override property was inherited.
- Since:
- EMS 4.2
-
getRedeliveryDelay
public long getRedeliveryDelay()
Get the redelivery delay for this queue. When this property is set to a non-zero value for a destination, and the server needs to redeliver it to a consumer, the server delays resending the message for at least this amount of time.- Returns:
- the redelivery delay in milliseconds.
- Since:
- EMS 6.0
-
setRedeliveryDelay
public void setRedeliveryDelay(long delay)
Set the redelivery delay for this queue. When this property is set to a non-zero value for a destination, and the server needs to redeliver it to a consumer, the server delays resending the message for at least this amount of time.- Parameters:
delay- the redelivery delay in milliseconds.- Since:
- EMS 6.0
-
isRedeliveryDelayInherited
public boolean isRedeliveryDelayInherited()
Determine if the redelivery delay property was inheritied from a parent queue or set directly for this queue.- Returns:
- true if the redelivery delay property was inherited.
- Since:
- EMS 6.0
-
statString
public java.lang.String statString()
Helper method that generates the statistical information in the form of a string.- Returns:
- String representation of statistical information.
-
-