public class ConnectionsManager extends Object
| Constructor and Description |
|---|
ConnectionsManager() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addScope(String scope)
Add the Scope to the monitoredMap
|
static org.gcube.common.messaging.endpoints.ScheduledRetriever |
getBrokerRetriever(String scope) |
static javax.jms.QueueConnection |
getQueueConnection(String scope)
Get the QueueConnection list for the given scope
|
void |
init(long waitingTime,
long refreshTime) |
static void |
reloadConnection(String scope)
Reload the scope connection
|
public void init(long waitingTime,
long refreshTime)
public static javax.jms.QueueConnection getQueueConnection(String scope)
public static void addScope(String scope) throws org.gcube.common.messaging.endpoints.BrokerNotConfiguredInScopeException, Exception
org.gcube.common.messaging.endpoints.BrokerNotConfiguredInScopeExceptionExceptionpublic static org.gcube.common.messaging.endpoints.ScheduledRetriever getBrokerRetriever(String scope) throws org.gcube.common.messaging.endpoints.BrokerNotConfiguredInScopeException, Exception
Exceptionorg.gcube.common.messaging.endpoints.BrokerNotConfiguredInScopeExceptionpublic static void reloadConnection(String scope)
scope - the scope to reloadCopyright © 2015. All Rights Reserved.