|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ServiceMBeanSupport org.jboss.jms.server.destination.DestinationServiceSupport org.jboss.jms.server.destination.Topic
A deployable JBoss Messaging topic.
Field Summary |
Fields inherited from class org.jboss.jms.server.destination.DestinationServiceSupport |
cm, dm, jndiName, name, securityConfig, serverPeerObjectName, sm, started |
Constructor Summary | |
Topic()
|
|
Topic(boolean createProgrammatically)
|
Method Summary | |
protected java.util.List |
getMessagesFromDurableSub(Topic t,
java.lang.String name,
java.lang.String clientID,
java.lang.String selector)
|
java.util.List |
getMessagesFromNonDurableSub(Topic t,
long channelID,
java.lang.String selector)
|
protected java.lang.String |
getSubscriptionsAsText(Topic t,
boolean durable)
|
protected boolean |
isQueue()
|
java.util.List |
listMessagesDurableSub(java.lang.String name,
java.lang.String clientID,
java.lang.String selector)
Get messages from a durable subscription. |
java.util.List |
listMessagesNonDurableSub(long channelID,
java.lang.String selector)
Get messages from a non-durable subscription. |
java.lang.String |
listSubscriptionsAsText()
Returns a human readable list containing the names of current subscriptions. |
java.lang.String |
listSubscriptionsAsText(boolean durable)
Returns a human readable list containing the names of current subscriptions. |
void |
removeAllMessages()
Remove all messages from subscription's storage. |
int |
subscriptionCount()
All subscription count |
int |
subscriptionCount(boolean durable)
Durable/nondurable subscription count |
Methods inherited from class org.jboss.jms.server.destination.DestinationServiceSupport |
getDownCacheSize, getFullSize, getJNDIName, getName, getPageSize, getSecurityConfig, getServerPeer, isCreatedProgrammatically, setDownCacheSize, setFullSize, setJNDIName, setPageSize, setSecurityConfig, setServerPeer, startService, stopService, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Topic()
public Topic(boolean createProgrammatically)
Method Detail |
public void removeAllMessages() throws java.lang.Exception
java.lang.Exception
public int subscriptionCount() throws java.lang.Exception
JMSException
java.lang.Exception
public int subscriptionCount(boolean durable) throws java.lang.Exception
durable
- If true return durable subscription count.
If false return nondurable subscription count.
JMSException
java.lang.Exception
public java.lang.String listSubscriptionsAsText() throws java.lang.Exception
java.lang.Exception
public java.lang.String listSubscriptionsAsText(boolean durable) throws java.lang.Exception
durable
- If true, return durable subscription list.
If false, return non-durable subscription list.
java.lang.Exception
public java.util.List listMessagesDurableSub(java.lang.String name, java.lang.String clientID, java.lang.String selector) throws java.lang.Exception
name
- Subscription name.clientID
- Client ID.selector
- Filter expression.
JMSException
java.lang.Exception
ManageableTopic#getMessagesFromDurableSub(String, String, String)
public java.util.List listMessagesNonDurableSub(long channelID, java.lang.String selector) throws java.lang.Exception
channelID
- selector
- Filter expression.
JMSException
java.lang.Exception
ManageableTopic#getMessagesFromNonDurableSub(Long, String)
protected boolean isQueue()
isQueue
in class DestinationServiceSupport
protected java.lang.String getSubscriptionsAsText(Topic t, boolean durable)
protected java.util.List getMessagesFromDurableSub(Topic t, java.lang.String name, java.lang.String clientID, java.lang.String selector) throws InvalidSelectorException
InvalidSelectorException
public java.util.List getMessagesFromNonDurableSub(Topic t, long channelID, java.lang.String selector) throws InvalidSelectorException
InvalidSelectorException
ManageableTopic#getMessagesFromNonDurableSub(Long, String)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |