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, org.apache.activemq.Service
Consolidates subscriptions
-
Field Summary
Fields inherited from class DemandForwardingBridgeSupport
bridgeExceptionCounted, 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
ConstructorsConstructorDescriptionDurableConduitBridge(NetworkBridgeConfiguration configuration, org.apache.activemq.transport.Transport localBroker, org.apache.activemq.transport.Transport remoteBroker) Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected DemandSubscriptioncreateDemandSubscription(org.apache.activemq.command.ConsumerInfo info) protected booleandoesConsumerExist(org.apache.activemq.command.ActiveMQDestination dest) protected StringgetSubscriberName(org.apache.activemq.command.ActiveMQDestination dest) protected voidSubscriptions for these destinations are always createdtoString()Methods inherited from class ConduitBridge
addToAlreadyInterestedConsumers, removeDemandSubscriptionMethods inherited from class 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, getLocalExceptionCount, getLocalSubscriptionMap, getMbeanObjectName, getNetworkBridgeStatistics, getRegionSubscriptions, getRemoteAddress, getRemoteBroker, getRemoteBrokerId, getRemoteBrokerName, getRemoteBrokerPath, getRemoteExceptionCount, getStartedTimestamp, getStaticallyIncludedDestinations, getStoredSequenceIdForMessage, isCreatedByDuplex, 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 Details
-
DurableConduitBridge
public DurableConduitBridge(NetworkBridgeConfiguration configuration, org.apache.activemq.transport.Transport localBroker, org.apache.activemq.transport.Transport remoteBroker) Constructor- Parameters:
configuration-localBroker-remoteBroker-
-
-
Method Details
-
toString
-
setupStaticDestinations
protected void setupStaticDestinations()Subscriptions for these destinations are always created- Overrides:
setupStaticDestinationsin classDemandForwardingBridgeSupport
-
createDemandSubscription
protected DemandSubscription createDemandSubscription(org.apache.activemq.command.ConsumerInfo info) throws IOException - Overrides:
createDemandSubscriptionin classConduitBridge- Throws:
IOException
-
getSubscriberName
-
doesConsumerExist
protected boolean doesConsumerExist(org.apache.activemq.command.ActiveMQDestination dest)
-