Package org.apache.activemq.network
Class DurableConduitBridge
- java.lang.Object
-
- org.apache.activemq.network.DemandForwardingBridgeSupport
-
- org.apache.activemq.network.DemandForwardingBridge
-
- org.apache.activemq.network.ConduitBridge
-
- org.apache.activemq.network.DurableConduitBridge
-
- All Implemented Interfaces:
BrokerServiceAware
,NetworkBridge
,Service
public class DurableConduitBridge extends ConduitBridge
Consolidates subscriptions
-
-
Field Summary
-
Fields inherited from class org.apache.activemq.network.DemandForwardingBridgeSupport
bridgeFailed, brokerService, 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
Constructors Constructor Description DurableConduitBridge(NetworkBridgeConfiguration configuration, Transport localBroker, Transport remoteBroker)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DemandSubscription
createDemandSubscription(ConsumerInfo info)
protected boolean
doesConsumerExist(ActiveMQDestination dest)
protected String
getSubscriberName(ActiveMQDestination dest)
protected void
setupStaticDestinations()
Subscriptions for these destinations are always createdString
toString()
-
Methods inherited from class org.apache.activemq.network.ConduitBridge
addToAlreadyInterestedConsumers, removeDemandSubscription
-
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, start, startRemoteBridge, stop, triggerStartAsyncNetworkBridgeCreation
-
-
-
-
Constructor Detail
-
DurableConduitBridge
public DurableConduitBridge(NetworkBridgeConfiguration configuration, Transport localBroker, Transport remoteBroker)
Constructor- Parameters:
configuration
-localBroker
-remoteBroker
-
-
-
Method Detail
-
setupStaticDestinations
protected void setupStaticDestinations()
Subscriptions for these destinations are always created- Overrides:
setupStaticDestinations
in classDemandForwardingBridgeSupport
-
createDemandSubscription
protected DemandSubscription createDemandSubscription(ConsumerInfo info) throws IOException
- Overrides:
createDemandSubscription
in classConduitBridge
- Throws:
IOException
-
getSubscriberName
protected String getSubscriberName(ActiveMQDestination dest)
-
doesConsumerExist
protected boolean doesConsumerExist(ActiveMQDestination dest)
-
-