org.apache.activemq.network
Class CompositeDemandForwardingBridge
java.lang.Object
org.apache.activemq.network.DemandForwardingBridgeSupport
org.apache.activemq.network.CompositeDemandForwardingBridge
- All Implemented Interfaces:
- Bridge, Service
public class CompositeDemandForwardingBridge
- extends DemandForwardingBridgeSupport
A demand forwarding bridge which works with multicast style transports where
a single Transport could be communicating with multiple remote brokers
- Version:
- $Revision: 433244 $
Fields inherited from class org.apache.activemq.network.DemandForwardingBridgeSupport |
bridgeTempDestinations, consumerIdGenerator, decreaseNetworkConsumerPriority, demandConsumerDispatched, demandConsumerInfo, destinationFilter, dispatchAsync, disposed, durableDestinations, dynamicallyIncludedDestinations, excludedDestinations, idGenerator, lastConnectSucceeded, localBridgeStarted, localBroker, localBrokerId, localBrokerName, localBrokerPath, localClientId, localConnectionInfo, localSessionInfo, log, name, networkTTL, password, prefetchSize, producerInfo, remoteBridgeStarted, remoteBroker, remoteBrokerName, remoteBrokerNameKnownLatch, remoteConnectionInfo, remoteInterupted, startedLatch, staticallyIncludedDestinations, subscriptionMapByLocalId, subscriptionMapByRemoteId, userName |
Methods inherited from class org.apache.activemq.network.DemandForwardingBridgeSupport |
addSubscription, appendToBrokerPath, appendToBrokerPath, clearDownSubscriptions, configureDemandSubscription, configureMessage, contains, createDemandSubscription, createDemandSubscription, doCreateDemandSubscription, getDemandSubscription, getDurableDestinations, getDynamicallyIncludedDestinations, getExcludedDestinations, getLocalBroker, getLocalBrokerName, getName, getNetworkTTL, getPassword, getPrefetchSize, getRemoteBroker, getStaticallyIncludedDestinations, getUserName, isBridgeTempDestinations, isDecreaseNetworkConsumerPriority, isDispatchAsync, isPermissableDestination, removeDemandSubscription, removeSubscription, serviceLocalCommand, serviceLocalException, serviceRemoteCommand, serviceRemoteException, setBridgeTempDestinations, setDecreaseNetworkConsumerPriority, setDispatchAsync, setDurableDestinations, setDynamicallyIncludedDestinations, setExcludedDestinations, setLocalBrokerName, setName, setNetworkTTL, setPassword, setPrefetchSize, setStaticallyIncludedDestinations, setupStaticDestinations, setUserName, start, startLocalBridge, startRemoteBridge, stop, triggerLocalStartBridge, triggerRemoteStartBridge, waitStarted |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
remoteBrokerPath
protected final BrokerId[] remoteBrokerPath
brokerInfoMutex
protected Object brokerInfoMutex
CompositeDemandForwardingBridge
public CompositeDemandForwardingBridge(Transport localBroker,
Transport remoteBroker)
serviceRemoteBrokerInfo
protected void serviceRemoteBrokerInfo(Command command)
throws IOException
- Specified by:
serviceRemoteBrokerInfo
in class DemandForwardingBridgeSupport
- Throws:
IOException
addRemoteBrokerToBrokerPath
protected void addRemoteBrokerToBrokerPath(ConsumerInfo info)
throws IOException
- Specified by:
addRemoteBrokerToBrokerPath
in class DemandForwardingBridgeSupport
- Throws:
IOException
getFromBrokerId
protected BrokerId getFromBrokerId(Command command)
throws IOException
- Returns the broker ID that the command came from
- Throws:
IOException
serviceLocalBrokerInfo
protected void serviceLocalBrokerInfo(Command command)
throws InterruptedException
- Specified by:
serviceLocalBrokerInfo
in class DemandForwardingBridgeSupport
- Throws:
InterruptedException
createNetworkBridgeFilter
protected NetworkBridgeFilter createNetworkBridgeFilter(ConsumerInfo info)
throws IOException
- Specified by:
createNetworkBridgeFilter
in class DemandForwardingBridgeSupport
- Throws:
IOException
getRemoteBrokerPath
protected BrokerId[] getRemoteBrokerPath()
- Specified by:
getRemoteBrokerPath
in class DemandForwardingBridgeSupport
Copyright © 2011 Apache Software Foundation. All Rights Reserved.