|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
org.gcube.messaging.common.consumer.BrokerSubscription
org.gcube.messaging.common.consumer.CustomSubscription
public class CustomSubscription
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.gcube.messaging.common.consumer.BrokerSubscription |
---|
BrokerSubscription.TopicCouple |
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary |
---|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
CustomSubscription()
Default subscription |
Method Summary | |
---|---|
void |
setScope(GCUBEScope scope)
set the scope |
void |
setupCustomDurableSubscriber(java.lang.String topicName,
java.lang.String brokerEpr,
MessageListener listener,
java.lang.String... selector)
Start a Subscriber for the specified topic using the given broker |
Methods inherited from class org.gcube.messaging.common.consumer.BrokerSubscription |
---|
getConnections, getCouple, getListener, getMessageSelectors, onException, run, setConnections, setCouple, setListener, setMessageSelectors, setupDurableSubscribers, setupQueueSubscription, subscribe |
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CustomSubscription()
Method Detail |
---|
public void setupCustomDurableSubscriber(java.lang.String topicName, java.lang.String brokerEpr, MessageListener listener, java.lang.String... selector) throws java.lang.Exception
topicName
- the topic NamebrokerEpr
- the brokerEprlistener
- the Listenerselector
- the message selector
java.lang.Exception
public void setScope(GCUBEScope scope)
BrokerSubscription
setScope
in class BrokerSubscription
scope
- the scope to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |