Package org.apache.activemq.network
Class ConduitBridge
java.lang.Object
org.apache.activemq.network.DemandForwardingBridgeSupport
org.apache.activemq.network.DemandForwardingBridge
org.apache.activemq.network.ConduitBridge
- All Implemented Interfaces:
BrokerServiceAware,NetworkBridge,org.apache.activemq.Service
- Direct Known Subclasses:
DurableConduitBridge
Consolidates subscriptions
-
Field Summary
Fields inherited from class org.apache.activemq.network.DemandForwardingBridgeSupport
bridgeFailed, brokerService, compositeConsumerIds, compositeSubscriptions, configuration, consumerIdGenerator, defaultFilterFactory, demandConsumerDispatched, demandConsumerInfo, disposed, DURABLE_SUB_PREFIX, durableDestinations, dynamicallyIncludedDestinations, excludedDestinations, forcedDurableRemoteId, idGenerator, lastConnectSucceeded, localBridgeStarted, localBroker, localBrokerId, localBrokerPath, localClientId, localConnectionInfo, localSessionInfo, localStartedLatch, networkBridgeStatistics, producerInfo, remoteBridgeStarted, remoteBroker, remoteBrokerId, remoteBrokerName, remoteBrokerPath, remoteConnectionInfo, startedLatch, staticallyIncludedDestinations, staticDestinationsLatch, subscriptionMapByLocalId, subscriptionMapByRemoteId -
Constructor Summary
ConstructorsConstructorDescriptionConduitBridge(NetworkBridgeConfiguration configuration, org.apache.activemq.transport.Transport localBroker, org.apache.activemq.transport.Transport remoteBroker) Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanaddToAlreadyInterestedConsumers(org.apache.activemq.command.ConsumerInfo info, boolean isForcedDurable) protected DemandSubscriptioncreateDemandSubscription(org.apache.activemq.command.ConsumerInfo info) protected voidremoveDemandSubscription(org.apache.activemq.command.ConsumerId id) Methods inherited from class org.apache.activemq.network.DemandForwardingBridgeSupport
addConsumerInfo, addProxyNetworkSubscriptionBrokerPath, addProxyNetworkSubscriptionClientId, addRemoteBrokerToBrokerPath, addSubscription, appendToBrokerPath, appendToBrokerPath, canDuplexDispatch, configureConsumerPrefetch, configureDemandSubscription, configureMessage, contains, createDemandSubscription, createNetworkBridgeFilter, doCreateDemandSubscription, duplexStart, getControllingService, getDequeueCounter, getDurableDestinations, getDynamicallyIncludedDestinations, getEnqueueCounter, getExcludedDestinations, getLocalAddress, getLocalBroker, getLocalBrokerName, getLocalSubscriptionMap, getMbeanObjectName, getNetworkBridgeStatistics, getRegionSubscriptions, getRemoteAddress, getRemoteBroker, getRemoteBrokerId, getRemoteBrokerName, getRemoteBrokerPath, getStaticallyIncludedDestinations, getStoredSequenceIdForMessage, isCreatedByDuplex, isDirectBridgeConsumer, isDuplex, isPermissableDestination, isPermissableDestination, isProxyBridgeSubscription, isProxyNSConsumerBrokerPath, isProxyNSConsumerClientId, removeDemandSubscriptionByLocalId, removeSubscription, resetStats, safeWaitUntilStarted, serviceInboundMessage, serviceLocalCommand, serviceLocalException, serviceLocalException, serviceOutbound, serviceRemoteCommand, serviceRemoteException, setBrokerService, setCreatedByDuplex, setDurableDestinations, setDynamicallyIncludedDestinations, setExcludedDestinations, setMbeanObjectName, setNetworkBridgeListener, setStaticallyIncludedDestinations, setupStaticDestinations, start, startRemoteBridge, stop, triggerStartAsyncNetworkBridgeCreation
-
Constructor Details
-
ConduitBridge
public ConduitBridge(NetworkBridgeConfiguration configuration, org.apache.activemq.transport.Transport localBroker, org.apache.activemq.transport.Transport remoteBroker) Constructor- Parameters:
localBroker-remoteBroker-
-
-
Method Details
-
createDemandSubscription
protected DemandSubscription createDemandSubscription(org.apache.activemq.command.ConsumerInfo info) throws IOException - Overrides:
createDemandSubscriptionin classDemandForwardingBridgeSupport- Throws:
IOException
-
addToAlreadyInterestedConsumers
protected boolean addToAlreadyInterestedConsumers(org.apache.activemq.command.ConsumerInfo info, boolean isForcedDurable) -
removeDemandSubscription
protected void removeDemandSubscription(org.apache.activemq.command.ConsumerId id) throws IOException - Overrides:
removeDemandSubscriptionin classDemandForwardingBridgeSupport- Throws:
IOException
-