|
Joram 5.3.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClientSubscriptionMBean
Method Summary | |
---|---|
void |
clear()
Deletes all messages |
void |
deleteMessage(java.lang.String msgId)
Deletes a particular pending message in the subscription. |
boolean |
getActive()
Returns true if the subscription is active. |
int |
getContextId()
Returns the subscription's context identifier. |
boolean |
getDurable()
Returns true if the subscription is durable. |
javax.management.openmbean.CompositeData |
getMessage(java.lang.String msgId)
Returns the description of a particular pending message. |
java.lang.String[] |
getMessageIds()
Returns the list of message's identifiers for the subscription. |
javax.management.openmbean.TabularData |
getMessages()
Returns the description of all pending messages. |
java.lang.String |
getName()
Returns the name of the subscription. |
int |
getNbMaxMsg()
Returns the maximum number of message for the subscription. |
long |
getNbMsgsDeliveredSinceCreation()
Returns the number of messages delivered to the client since creation time of this subscription. |
long |
getNbMsgsSentToDMQSinceCreation()
Returns the number of erroneous messages forwarded to the DMQ since creation time of this subscription. |
int |
getPendingMessageCount()
Returns the number of pending messages for the subscription. |
java.lang.String |
getSelector()
Returns the selector. |
int |
getSubRequestId()
Returns the identifier of the subscribing request. |
java.lang.String |
getTopicIdAsString()
Returns the identifier of the subscription topic. |
void |
setNbMaxMsg(int nbMaxMsg)
Sets the maximum number of message for the subscription. |
Method Detail |
---|
void deleteMessage(java.lang.String msgId)
msgId
- The unique message's identifier.void setNbMaxMsg(int nbMaxMsg)
nbMaxMsg
- the maximum number of message for subscription (-1 set no
limit).void clear()
int getContextId()
int getSubRequestId()
java.lang.String getName()
java.lang.String getTopicIdAsString()
java.lang.String getSelector()
boolean getDurable()
true
if the subscription is durable.
boolean getActive()
true
if the subscription is active.
int getNbMaxMsg()
int getPendingMessageCount()
java.lang.String[] getMessageIds()
long getNbMsgsSentToDMQSinceCreation()
long getNbMsgsDeliveredSinceCreation()
javax.management.openmbean.CompositeData getMessage(java.lang.String msgId) throws java.lang.Exception
msgId
- The unique message's identifier.
java.lang.Exception
MessageJMXWrapper
javax.management.openmbean.TabularData getMessages() throws java.lang.Exception
java.lang.Exception
MessageJMXWrapper
|
Joram 5.3.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |