|
TIBCO Enterprise Message Service | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tibco.tibjms.admin.DestinationInfo
com.tibco.tibjms.admin.QueueInfo
public class QueueInfo
This class represents a message queue that is configured on the EMS server.
Field Summary |
---|
Fields inherited from class com.tibco.tibjms.admin.DestinationInfo |
---|
ALL_TYPE, DEST_GET_ALL, DEST_GET_DYNAMIC, DEST_GET_NOTEMP, DEST_GET_STATIC, MSG_TRACE_BASIC, MSG_TRACE_DETAIL, MSG_TRACE_NONE, OVERFLOW_DEFAULT, OVERFLOW_DISCARD_OLD, OVERFLOW_REJECT_INCOMING, PREFETCH_DEFAULT, PREFETCH_NONE, QUEUE_TYPE, TOPIC_TYPE |
Constructor Summary | |
---|---|
QueueInfo(java.lang.String queueName)
The public constructor creates a QueueInfo object with the given name. |
Method Summary | |
---|---|
long |
getDeliveredMessageCount()
Get the total number of messages that have been delivered to consumer applications but have not yet been acknowledged. |
long |
getInTransitMessageCount()
Get the total number of messages that have been delivered to the queue owner but have not yet been acknowledged. |
int |
getMaxRedelivery()
Get the maximum number of times the server will redeliver a given message from this queue to the queue receivers. |
int |
getReceiverCount()
Get the number of active receivers on this queue. |
java.lang.String |
getRouteName()
Get the name of this routed queue's route |
boolean |
isExclusive()
Determine if this queue is exclusive. |
boolean |
isExclusiveInherited()
Determine if the exclusive property is inherited from a parent queue. |
boolean |
isMaxRedeliveryInherited()
Determine if the maxRedelivery property was inheritied from a parent queue or set directly for this queue. |
boolean |
isRouteConnected()
Determine if the route for this queue is connected. |
boolean |
isRouted()
Determine if this is a routed queue or not. |
void |
setExclusive(boolean exclusive)
Set the exclusive property for this queue. |
void |
setMaxRedelivery(int maxRedelivery)
Set the maximum number of times the server will redeliver a given message from this queue to the queue receivers. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public QueueInfo(java.lang.String queueName)
queueName
- the name for the queue being created.Method Detail |
---|
public boolean isExclusive()
public boolean isExclusiveInherited()
public void setExclusive(boolean exclusive)
exclusive
- true if this queue should be exclusive.public boolean isRouted()
public java.lang.String getRouteName()
public boolean isRouteConnected()
public int getReceiverCount()
public int getMaxRedelivery()
public void setMaxRedelivery(int maxRedelivery)
maxRedelivery
- the maximum number of times a message should
be redelivered. Set the value to zero to cancel the current value.public boolean isMaxRedeliveryInherited()
public long getDeliveredMessageCount()
public long getInTransitMessageCount()
public java.lang.String toString()
toString
in class java.lang.Object
|
TIBCO Enterprise Message Service | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |