public class SubscriptionInfo extends java.lang.Object
TopicControl.listAllSubscriptionsAsJSON() and related methods.| Modifier and Type | Method and Description |
|---|---|
static SubscriptionInfo[] |
from(java.lang.String jsonString)
Returns an array of SubscriptionInfo corresponding to the JSON serialization returned
by
TopicControl.listAllSubscriptionsAsJSON() and related methods. |
java.lang.String |
getClientID()
Returns the client ID of this subscription or
null. |
int |
getDeliveringCount()
Returns the number of messages currently delivered to this subscription.
|
int |
getMessageCount()
Returns the number of messages currently held by this subscription.
|
java.lang.String |
getName()
Returns the name of this subscription.
|
java.lang.String |
getQueueName()
Returns the name of the HornetQ core queue corresponding to this subscription.
|
java.lang.String |
getSelector()
Returns the JMS message selector associated to this subscription.
|
boolean |
isDurable()
Returns whether this subscription is durable.
|
public static SubscriptionInfo[] from(java.lang.String jsonString) throws java.lang.Exception
TopicControl.listAllSubscriptionsAsJSON() and related methods.java.lang.Exceptionpublic java.lang.String getQueueName()
public java.lang.String getClientID()
null.public java.lang.String getName()
public boolean isDurable()
public java.lang.String getSelector()
public int getMessageCount()
public int getDeliveringCount()
Copyright © 2009 Red Hat Inc. All Rights Reserved.