public class DiscoveryNetworkConnector extends NetworkConnector implements DiscoveryListener
bridges, connectionFilter, localURI, serviceSupportdynamicallyIncludedDestinations, excludedDestinations, staticallyIncludedDestinationsDISCOVERED_OPTION_PREFIX| Constructor and Description |
|---|
DiscoveryNetworkConnector() |
DiscoveryNetworkConnector(URI discoveryURI) |
| Modifier and Type | Method and Description |
|---|---|
protected NetworkBridge |
createBridge(Transport localTransport,
Transport remoteTransport,
DiscoveryEvent event) |
DiscoveryAgent |
getDiscoveryAgent() |
URI |
getUri() |
protected void |
handleStart() |
protected void |
handleStop(ServiceStopper stopper) |
void |
onServiceAdd(DiscoveryEvent event) |
void |
onServiceRemove(DiscoveryEvent event) |
void |
setDiscoveryAgent(DiscoveryAgent discoveryAgent) |
void |
setUri(URI discoveryURI) |
String |
toString() |
activeBridges, addDynamicallyIncludedDestination, addExcludedDestination, addStaticallyIncludedDestination, configureBridge, createLocalTransport, createNetworkBridgeObjectName, getBrokerService, getConnectionFilter, getDurableDestinations, getLocalUri, getObjectName, isStarted, isStopped, isStopping, registerNetworkBridgeMBean, removeDemandSubscription, setBrokerService, setConnectionFilter, setDurableDestinations, setLocalUri, setObjectName, start, stop, unregisterNetworkBridgeMBeangetBrokerName, getBrokerURL, getConsumerPriorityBase, getConsumerTTL, getDestinationFilter, getDynamicallyIncludedDestinations, getExcludedDestinations, getGcSweepTime, getMessageTTL, getName, getNetworkTTL, getPassword, getPrefetchSize, getStaticallyIncludedDestinations, getUserName, isAdvisoryForFailedForward, isAlwaysSyncSend, isBridgeTempDestinations, isCheckDuplicateMessagesOnDuplex, isConduitSubscriptions, isDecreaseNetworkConsumerPriority, isDispatchAsync, isDuplex, isDynamicOnly, isGcDestinationViews, isStaticBridge, isSuppressDuplicateQueueSubscriptions, isSuppressDuplicateTopicSubscriptions, isUseBrokerNamesAsIdSeed, isUseCompression, isUseVirtualDestSus, setAdvisoryForFailedForward, setAlwaysSyncSend, setBridgeTempDestinations, setBrokerName, setBrokerURL, setCheckDuplicateMessagesOnDuplex, setConduitSubscriptions, setConsumerPriorityBase, setConsumerTTL, setDecreaseNetworkConsumerPriority, setDestinationFilter, setDispatchAsync, setDuplex, setDynamicallyIncludedDestinations, setDynamicOnly, setExcludedDestinations, setGcDestinationViews, setGcSweepTime, setMessageTTL, setName, setNetworkTTL, setPassword, setPrefetchSize, setStaticallyIncludedDestinations, setStaticBridge, setSuppressDuplicateQueueSubscriptions, setSuppressDuplicateTopicSubscriptions, setUseBrokerNameAsIdSees, setUseCompression, setUserName, setUseVirtualDestSubspublic DiscoveryNetworkConnector()
public DiscoveryNetworkConnector(URI discoveryURI) throws IOException
IOExceptionpublic void setUri(URI discoveryURI) throws IOException
IOExceptionpublic void onServiceAdd(DiscoveryEvent event)
onServiceAdd in interface DiscoveryListenerpublic void onServiceRemove(DiscoveryEvent event)
onServiceRemove in interface DiscoveryListenerpublic DiscoveryAgent getDiscoveryAgent()
public void setDiscoveryAgent(DiscoveryAgent discoveryAgent)
protected void handleStart() throws Exception
handleStart in class NetworkConnectorExceptionprotected void handleStop(ServiceStopper stopper) throws Exception
handleStop in class NetworkConnectorExceptionprotected NetworkBridge createBridge(Transport localTransport, Transport remoteTransport, DiscoveryEvent event)
Copyright © 2005–2017 FuseSource, Corp.. All rights reserved.