org.apache.activemq.network
Class MulticastNetworkConnector
java.lang.Object
org.apache.activemq.network.NetworkBridgeConfiguration
org.apache.activemq.network.NetworkConnector
org.apache.activemq.network.MulticastNetworkConnector
- All Implemented Interfaces:
- Service
public class MulticastNetworkConnector
- extends NetworkConnector
A network connector which uses some kind of multicast-like transport that
communicates with potentially many remote brokers over a single logical
Transport instance such as when using multicast.
This implementation does not depend on multicast at all; any other group
based transport could be used.
| Methods inherited from class org.apache.activemq.network.NetworkConnector |
activeBridges, addDynamicallyIncludedDestination, addExcludedDestination, addStaticallyIncludedDestination, configureBridge, createLocalTransport, createNetworkBridgeObjectName, getBrokerService, getConnectionFilter, getDurableDestinations, getLocalUri, getObjectName, isStarted, isStopped, isStopping, registerNetworkBridgeMBean, removeDemandSubscription, setBrokerService, setConnectionFilter, setDurableDestinations, setLocalUri, setObjectName, start, stop, unregisterNetworkBridgeMBean |
| Methods inherited from class org.apache.activemq.network.NetworkBridgeConfiguration |
getBrokerName, getBrokerURL, getConsumerPriorityBase, getDestinationFilter, getDynamicallyIncludedDestinations, getExcludedDestinations, getName, getNetworkTTL, getPassword, getPrefetchSize, getStaticallyIncludedDestinations, getUserName, isAdvisoryForFailedForward, isAlwaysSyncSend, isBridgeTempDestinations, isConduitSubscriptions, isDecreaseNetworkConsumerPriority, isDispatchAsync, isDuplex, isDynamicOnly, isStaticBridge, isSuppressDuplicateQueueSubscriptions, isSuppressDuplicateTopicSubscriptions, isUseCompression, setAdvisoryForFailedForward, setAlwaysSyncSend, setBridgeTempDestinations, setBrokerName, setBrokerURL, setConduitSubscriptions, setConsumerPriorityBase, setDecreaseNetworkConsumerPriority, setDestinationFilter, setDispatchAsync, setDuplex, setDynamicallyIncludedDestinations, setDynamicOnly, setExcludedDestinations, setName, setNetworkTTL, setPassword, setPrefetchSize, setStaticallyIncludedDestinations, setStaticBridge, setSuppressDuplicateQueueSubscriptions, setSuppressDuplicateTopicSubscriptions, setUseCompression, setUserName |
MulticastNetworkConnector
public MulticastNetworkConnector()
MulticastNetworkConnector
public MulticastNetworkConnector(URI remoteURI)
getBridge
public DemandForwardingBridgeSupport getBridge()
setBridge
public void setBridge(DemandForwardingBridgeSupport bridge)
getLocalTransport
public Transport getLocalTransport()
setLocalTransport
public void setLocalTransport(Transport localTransport)
getRemoteTransport
public Transport getRemoteTransport()
setRemoteTransport
public void setRemoteTransport(Transport remoteTransport)
- Sets the remote transport implementation
getRemoteURI
public URI getRemoteURI()
setRemoteURI
public void setRemoteURI(URI remoteURI)
- Sets the remote transport URI to some group transport like
multicast://address:port
handleStart
protected void handleStart()
throws Exception
- Overrides:
handleStart in class NetworkConnector
- Throws:
Exception
handleStop
protected void handleStop(ServiceStopper stopper)
throws Exception
- Overrides:
handleStop in class NetworkConnector
- Throws:
Exception
toString
public String toString()
- Overrides:
toString in class Object
createBridge
protected DemandForwardingBridgeSupport createBridge(Transport local,
Transport remote)
Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.