public interface ClientSubscriptionMBean
Modifier and Type | Method and Description |
---|---|
void |
clear()
Deletes all messages
|
void |
deleteMessage(String msgId)
Deletes a particular pending message in the subscription.
|
int |
getActive()
Returns the maximum number of messages per request if the subscription is active,
0 if the subscription is inactive.
|
int |
getContextId()
Returns the subscription's context identifier.
|
int |
getDeliveredMessageCount()
Returns the number of messages delivered and waiting for acknowledge.
|
boolean |
getDurable()
Returns
true if the subscription is durable. |
CompositeData |
getMessage(String msgId)
Returns the description of a particular pending message.
|
String[] |
getMessageIds()
Returns the list of message's identifiers for the subscription.
|
TabularData |
getMessages()
Returns the description of all pending messages.
|
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.
|
String |
getSelector()
Returns the selector.
|
int |
getSubRequestId()
Returns the identifier of the subscribing request.
|
int |
getThreshold()
Returns the threshold above which messages are considered undeliverable
because constantly denied.
|
String |
getTopicIdAsString()
Returns the identifier of the subscription topic.
|
void |
setNbMaxMsg(int nbMaxMsg)
Sets the maximum number of message for the subscription.
|
void deleteMessage(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()
String getName()
String getTopicIdAsString()
String getSelector()
boolean getDurable()
true
if the subscription is durable.int getActive()
int getThreshold()
int getNbMaxMsg()
int getPendingMessageCount()
int getDeliveredMessageCount()
String[] getMessageIds()
long getNbMsgsSentToDMQSinceCreation()
long getNbMsgsDeliveredSinceCreation()
CompositeData getMessage(String msgId) throws Exception
msgId
- The unique message's identifier.Exception
MessageJMXWrapper
TabularData getMessages() throws Exception
Exception
MessageJMXWrapper
Copyright © 2020 ScalAgent D.T.. All rights reserved.