public class CustomSubscription extends BrokerSubscription
BrokerSubscription.TopicCoupleThread.State, Thread.UncaughtExceptionHandlerackMode, connections, couple, listener, logger, messageSelectors, queue, transactedMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
CustomSubscription()
Default subscription
|
| Modifier and Type | Method and Description |
|---|---|
void |
setScope(org.gcube.common.core.scope.GCUBEScope scope)
set the scope
|
void |
setupCustomDurableSubscriber(String topicName,
String brokerEpr,
javax.jms.MessageListener listener,
String... selector)
Start a Subscriber for the specified topic using the given broker
|
getConnections, getCouple, getListener, getMessageSelectors, onException, run, setConnections, setCouple, setListener, setMessageSelectors, setupDurableSubscribers, setupQueueSubscription, subscribeactiveCount, checkAccess, clone, 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, yieldpublic void setupCustomDurableSubscriber(String topicName, String brokerEpr, javax.jms.MessageListener listener, String... selector) throws Exception
topicName - the topic NamebrokerEpr - the brokerEprlistener - the Listenerselector - the message selectorExceptionpublic void setScope(org.gcube.common.core.scope.GCUBEScope scope)
BrokerSubscriptionsetScope in class BrokerSubscriptionscope - the scope to setCopyright © 2015. All Rights Reserved.