public class SubscriptionInfo extends Object
TopicControl.listAllSubscriptionsAsJSON() and related methods.| Modifier and Type | Method and Description |
|---|---|
static SubscriptionInfo[] |
from(String jsonString)
Returns an array of SubscriptionInfo corresponding to the JSON serialization returned
by
TopicControl.listAllSubscriptionsAsJSON() and related methods. |
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.
|
String |
getName()
Returns the name of this subscription.
|
String |
getQueueName()
Returns the name of the HornetQ core queue corresponding to this subscription.
|
String |
getSelector()
Returns the JMS message selector associated to this subscription.
|
boolean |
isDurable()
Returns whether this subscription is durable.
|
public static SubscriptionInfo[] from(String jsonString) throws Exception
TopicControl.listAllSubscriptionsAsJSON() and related methods.Exceptionpublic String getQueueName()
public String getClientID()
null.public String getName()
public boolean isDurable()
public String getSelector()
public int getMessageCount()
public int getDeliveringCount()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.