Uses of Interface
org.apache.activemq.broker.region.Destination
Package
Description
The core classes for the ActiveMQ Message Broker and its connectors.
JMX MBeans for the broker and its core connectors.
Region abstraction and implementations in the Broker.
Cursors used to page persistent messages into the broker from the store
Classes to implement the Message Groups feature.
The policies which can be associated with a particular destination or wildcard.
Implementation classes for Virtual Destinations
Some utility Broker Plugins
Broker Plugins for visualising the current system
Plugable Security Adapter framework along with default implementations such as the JAAS implementation.
-
Uses of Destination in org.apache.activemq.advisory
Modifier and TypeMethodDescriptionAdvisoryBroker.addDestination
(ConnectionContext context, org.apache.activemq.command.ActiveMQDestination destination, boolean create) Modifier and TypeMethodDescriptionvoid
AdvisoryBroker.isFull
(ConnectionContext context, Destination destination, org.apache.activemq.usage.Usage<?> usage) void
AdvisoryBroker.slowConsumer
(ConnectionContext context, Destination destination, Subscription subs) -
Uses of Destination in org.apache.activemq.broker
Modifier and TypeMethodDescriptionBrokerBroadcaster.addDestination
(ConnectionContext context, org.apache.activemq.command.ActiveMQDestination destination, boolean createIfTemporary) BrokerFilter.addDestination
(ConnectionContext context, org.apache.activemq.command.ActiveMQDestination destination, boolean createIfTemporary) EmptyBroker.addDestination
(ConnectionContext context, org.apache.activemq.command.ActiveMQDestination destination, boolean flag) ErrorBroker.addDestination
(ConnectionContext context, org.apache.activemq.command.ActiveMQDestination destination, boolean flag) BrokerService.getDestination
(org.apache.activemq.command.ActiveMQDestination destination) Looks up and lazily creates if necessary the destination for the given JMS nameConsumerBrokerExchange.getRegionDestination()
ProducerBrokerExchange.getRegionDestination()
Modifier and TypeMethodDescriptionMap<org.apache.activemq.command.ActiveMQDestination,
Destination> Broker.getDestinationMap
(org.apache.activemq.command.ActiveMQDestination destination) return a reference destination map of a region based on the destination typeMap<org.apache.activemq.command.ActiveMQDestination,
Destination> BrokerFilter.getDestinationMap()
Map<org.apache.activemq.command.ActiveMQDestination,
Destination> BrokerFilter.getDestinationMap
(org.apache.activemq.command.ActiveMQDestination destination) Map<org.apache.activemq.command.ActiveMQDestination,
Destination> EmptyBroker.getDestinationMap()
Map<org.apache.activemq.command.ActiveMQDestination,
Destination> EmptyBroker.getDestinationMap
(org.apache.activemq.command.ActiveMQDestination destination) Map<org.apache.activemq.command.ActiveMQDestination,
Destination> ErrorBroker.getDestinationMap()
Map<org.apache.activemq.command.ActiveMQDestination,
Destination> ErrorBroker.getDestinationMap
(org.apache.activemq.command.ActiveMQDestination destination) BrokerFilter.getDestinations
(org.apache.activemq.command.ActiveMQDestination destination) EmptyBroker.getDestinations
(org.apache.activemq.command.ActiveMQDestination destination) ErrorBroker.getDestinations
(org.apache.activemq.command.ActiveMQDestination destination) Modifier and TypeMethodDescriptionvoid
ProducerBrokerExchange.incrementTimeBlocked
(Destination destination, long timeBlocked) void
Broker.isFull
(ConnectionContext context, Destination destination, org.apache.activemq.usage.Usage<?> usage) Called when a Usage reaches a limitvoid
BrokerFilter.isFull
(ConnectionContext context, Destination destination, org.apache.activemq.usage.Usage<?> usage) void
EmptyBroker.isFull
(ConnectionContext context, Destination destination, org.apache.activemq.usage.Usage<?> usage) void
ErrorBroker.isFull
(ConnectionContext context, Destination destination, org.apache.activemq.usage.Usage<?> usage) void
ConsumerBrokerExchange.setRegionDestination
(Destination regionDestination) void
ProducerBrokerExchange.setRegionDestination
(Destination regionDestination) void
Broker.slowConsumer
(ConnectionContext context, Destination destination, Subscription subs) Called when there is a slow consumervoid
BrokerFilter.slowConsumer
(ConnectionContext context, Destination destination, Subscription subs) void
EmptyBroker.slowConsumer
(ConnectionContext context, Destination destination, Subscription subs) void
ErrorBroker.slowConsumer
(ConnectionContext context, Destination destination, Subscription subs) -
Uses of Destination in org.apache.activemq.broker.jmx
Modifier and TypeMethodDescriptionprotected Destination
ManagedQueueRegion.createDestination
(ConnectionContext context, org.apache.activemq.command.ActiveMQDestination destination) protected Destination
ManagedTempQueueRegion.createDestination
(ConnectionContext context, org.apache.activemq.command.ActiveMQDestination destination) protected Destination
ManagedTempTopicRegion.createDestination
(ConnectionContext context, org.apache.activemq.command.ActiveMQDestination destination) protected Destination
ManagedTopicRegion.createDestination
(ConnectionContext context, org.apache.activemq.command.ActiveMQDestination destination) Modifier and TypeMethodDescriptionvoid
ManagedRegionBroker.register
(org.apache.activemq.command.ActiveMQDestination destName, Destination destination) ModifierConstructorDescriptionDestinationView
(ManagedRegionBroker broker, Destination destination) -
Uses of Destination in org.apache.activemq.broker.region
Modifier and TypeClassDescriptionclass
class
class
The Queue is a List of MessageEntry objects that are dispatched to matching subscriptions.class
The Queue is a List of MessageEntry objects that are dispatched to matching subscriptions.class
The Topic is a destination that sends a copy of a message to every active Subscription registered.class
The Topic is a destination that sends a copy of a message to every active Subscription registered.Modifier and TypeFieldDescriptionprotected final Map<org.apache.activemq.command.ActiveMQDestination,
Destination> AbstractRegion.destinations
protected final CopyOnWriteArrayList<Destination>
AbstractSubscription.destinations
Modifier and TypeMethodDescriptionAbstractRegion.addDestination
(ConnectionContext context, org.apache.activemq.command.ActiveMQDestination destination, boolean createIfTemporary) Region.addDestination
(ConnectionContext context, org.apache.activemq.command.ActiveMQDestination destination, boolean createIfTemporary) Used to create a destination.RegionBroker.addDestination
(ConnectionContext context, org.apache.activemq.command.ActiveMQDestination destination, boolean createIfTemp) protected Destination
AbstractRegion.createDestination
(ConnectionContext context, org.apache.activemq.command.ActiveMQDestination destination) protected Destination
AbstractTempRegion.createDestination
(ConnectionContext context, org.apache.activemq.command.ActiveMQDestination destination) abstract Destination
DestinationFactory.createDestination
(ConnectionContext context, org.apache.activemq.command.ActiveMQDestination destination, DestinationStatistics destinationStatistics) Create destination implementation.DestinationFactoryImpl.createDestination
(ConnectionContext context, org.apache.activemq.command.ActiveMQDestination destination, DestinationStatistics destinationStatistics) DestinationFilter.getNext()
NullMessageReference.getRegionDestination()
CompositeDestinationInterceptor.intercept
(Destination destination) DestinationInterceptor.intercept
(Destination destination) protected Destination
AbstractRegion.lookup
(ConnectionContext context, org.apache.activemq.command.ActiveMQDestination destination, boolean createTemporary) protected Destination
AbstractRegion.lookup
(ConnectionContext context, org.apache.activemq.command.ActiveMQDestination destination, boolean createTemporary, boolean autoCreate) Modifier and TypeMethodDescriptionMap<org.apache.activemq.command.ActiveMQDestination,
Destination> AbstractRegion.getDestinationMap()
Map<org.apache.activemq.command.ActiveMQDestination,
Destination> Region.getDestinationMap()
Returns a reference to the concurrent hash map that holds known destinations, do not modifyMap<org.apache.activemq.command.ActiveMQDestination,
Destination> RegionBroker.getDestinationMap()
Map<org.apache.activemq.command.ActiveMQDestination,
Destination> RegionBroker.getDestinationMap
(org.apache.activemq.command.ActiveMQDestination destination) AbstractRegion.getDestinations
(org.apache.activemq.command.ActiveMQDestination destination) Provide an exact or wildcard lookup of destinations in the regionAbstractSubscription.getDestinations()
Region.getDestinations
(org.apache.activemq.command.ActiveMQDestination destination) Provide an exact or wildcard lookup of destinations in the regionRegionBroker.getDestinations
(org.apache.activemq.command.ActiveMQDestination destination) Modifier and TypeMethodDescriptionvoid
AbstractSubscription.add
(ConnectionContext context, Destination destination) void
DurableTopicSubscription.add
(ConnectionContext context, Destination destination) void
PrefetchSubscription.add
(ConnectionContext context, Destination destination) void
Subscription.add
(ConnectionContext context, Destination destination) The subscription will be receiving messages from the destination.void
AbstractSubscription.addDestination
(Destination destination) Add a destinationprotected List<Subscription>
AbstractRegion.addSubscriptionsForDestination
(ConnectionContext context, Destination dest) protected List<Subscription>
TopicRegion.addSubscriptionsForDestination
(ConnectionContext context, Destination dest) protected void
AbstractRegion.dispose
(ConnectionContext context, Destination dest) protected final void
AbstractTempRegion.dispose
(ConnectionContext context, Destination dest) CompositeDestinationInterceptor.intercept
(Destination destination) DestinationInterceptor.intercept
(Destination destination) List<org.apache.activemq.broker.region.MessageReference>
AbstractSubscription.remove
(ConnectionContext context, Destination destination) void
CompositeDestinationInterceptor.remove
(Destination destination) void
DestinationInterceptor.remove
(Destination destination) List<org.apache.activemq.broker.region.MessageReference>
PrefetchSubscription.remove
(ConnectionContext context, Destination destination) List<org.apache.activemq.broker.region.MessageReference>
PrefetchSubscription.remove
(ConnectionContext context, Destination destination, List<org.apache.activemq.broker.region.MessageReference> dispatched) List<org.apache.activemq.broker.region.MessageReference>
QueueBrowserSubscription.remove
(ConnectionContext context, Destination destination) List<org.apache.activemq.broker.region.MessageReference>
Subscription.remove
(ConnectionContext context, Destination destination) The subscription will be no longer be receiving messages from the destination.List<org.apache.activemq.broker.region.MessageReference>
TopicSubscription.remove
(ConnectionContext context, Destination destination) void
AbstractSubscription.removeDestination
(Destination destination) Remove a destinationabstract void
DestinationFactory.removeDestination
(Destination dest) void
DestinationFactoryImpl.removeDestination
(Destination dest) -
Uses of Destination in org.apache.activemq.broker.region.cursors
Modifier and TypeFieldDescriptionprotected final Destination
AbstractStoreCursor.regionDestination
Modifier and TypeMethodDescriptionvoid
AbstractPendingMessageCursor.add
(ConnectionContext context, Destination destination) void
PendingMessageCursor.add
(ConnectionContext context, Destination destination) Add a destinationvoid
StoreDurableSubscriberCursor.add
(ConnectionContext context, Destination destination) Add a destinationboolean
AbstractPendingMessageCursor.isEmpty
(Destination destination) boolean
PendingMessageCursor.isEmpty
(Destination destination) check if a Destination is Empty for this cursorboolean
StoreDurableSubscriberCursor.isEmpty
(Destination destination) List<org.apache.activemq.broker.region.MessageReference>
AbstractPendingMessageCursor.remove
(ConnectionContext context, Destination destination) List<org.apache.activemq.broker.region.MessageReference>
PendingMessageCursor.remove
(ConnectionContext context, Destination destination) remove a destinationList<org.apache.activemq.broker.region.MessageReference>
StoreDurableSubscriberCursor.remove
(ConnectionContext context, Destination destination) remove a destinationList<org.apache.activemq.broker.region.MessageReference>
VMPendingMessageCursor.remove
(ConnectionContext context, Destination destination) -
Uses of Destination in org.apache.activemq.broker.region.group
Modifier and TypeMethodDescriptionvoid
CachedMessageGroupMap.setDestination
(Destination destination) void
MessageGroupHashBucket.setDestination
(Destination destination) void
MessageGroupMap.setDestination
(Destination destination) void
SimpleMessageGroupMap.setDestination
(Destination destination) -
Uses of Destination in org.apache.activemq.broker.region.policy
Modifier and TypeMethodDescriptionvoid
AbortSlowAckConsumerStrategy.addDestination
(Destination destination) void
AbortSlowConsumerStrategy.addDestination
(Destination destination) void
SlowConsumerStrategy.addDestination
(Destination destination) For Strategies that need to examine assigned destination for slow consumers periodically the destination is assigned here.protected void
QueryBasedSubscriptionRecoveryPolicy.dispatchInitialMessage
(jakarta.jms.Message message, Destination regionDestination, ConnectionContext context, SubscriptionRecovery sub) -
Uses of Destination in org.apache.activemq.broker.region.virtual
Modifier and TypeClassDescriptionclass
Represents a compositeDestination
where send()s are replicated to each Destination instance.class
Creates a mapped Queue that can recover messages from subscription recovery policy of its Virtual Topic.class
class
A Destination which implements Virtual TopicModifier and TypeMethodDescriptionprotected Destination
VirtualDestinationInterceptor.createCompositeDestination
(Destination destination, List<Destination> destinations) protected Destination
MirroredQueue.getMirrorDestination
(Destination destination) CompositeDestination.intercept
(Destination destination) MirroredQueue.intercept
(Destination destination) VirtualDestination.intercept
(Destination destination) Creates a virtual destination from the physical destinationVirtualDestinationInterceptor.intercept
(Destination destination) VirtualTopic.intercept
(Destination destination) CompositeQueue.interceptMappedDestination
(Destination destination) CompositeTopic.interceptMappedDestination
(Destination destination) VirtualDestination.interceptMappedDestination
(Destination destination) Creates a mapped destinationVirtualTopic.interceptMappedDestination
(Destination destination) Modifier and TypeMethodDescriptionprotected Destination
VirtualDestinationInterceptor.createCompositeDestination
(Destination destination, List<Destination> destinations) protected Destination
MirroredQueue.getMirrorDestination
(Destination destination) CompositeDestination.intercept
(Destination destination) MirroredQueue.intercept
(Destination destination) VirtualDestination.intercept
(Destination destination) Creates a virtual destination from the physical destinationVirtualDestinationInterceptor.intercept
(Destination destination) VirtualTopic.intercept
(Destination destination) CompositeQueue.interceptMappedDestination
(Destination destination) CompositeTopic.interceptMappedDestination
(Destination destination) VirtualDestination.interceptMappedDestination
(Destination destination) Creates a mapped destinationVirtualTopic.interceptMappedDestination
(Destination destination) void
CompositeDestination.remove
(Destination destination) void
MirroredQueue.remove
(Destination destination) void
VirtualDestinationInterceptor.remove
(Destination destination) void
VirtualTopic.remove
(Destination destination) protected boolean
SelectorAwareVirtualTopicInterceptor.shouldDispatch
(Broker broker, org.apache.activemq.command.Message message, Destination dest) Respect the selectors of the subscriptions to ensure only matched messages are dispatched to the virtual queues, hence there is no build up of unmatched messages on these destinationsprotected boolean
VirtualTopicInterceptor.shouldDispatch
(Broker broker, org.apache.activemq.command.Message message, Destination dest) Modifier and TypeMethodDescriptionprotected Destination
VirtualDestinationInterceptor.createCompositeDestination
(Destination destination, List<Destination> destinations) ModifierConstructorDescriptionCompositeDestinationFilter
(Destination next, Collection forwardDestinations, boolean forwardOnly, boolean sendWhenNotMatched, boolean concurrentSend) MappedQueueFilter
(org.apache.activemq.command.ActiveMQDestination virtualDestination, Destination destination) SelectorAwareVirtualTopicInterceptor
(Destination next, VirtualTopic virtualTopic) VirtualTopicInterceptor
(Destination next, VirtualTopic virtualTopic) -
Uses of Destination in org.apache.activemq.broker.util
Modifier and TypeMethodDescriptionDestinationPathSeparatorBroker.addDestination
(ConnectionContext context, org.apache.activemq.command.ActiveMQDestination destination, boolean createIfTemporary) DestinationsPlugin.addDestination
(ConnectionContext context, org.apache.activemq.command.ActiveMQDestination destination, boolean createIfTemporary) LoggingBrokerPlugin.addDestination
(ConnectionContext context, org.apache.activemq.command.ActiveMQDestination destination, boolean create) Modifier and TypeMethodDescriptionvoid
LoggingBrokerPlugin.isFull
(ConnectionContext context, Destination destination, org.apache.activemq.usage.Usage<?> usage) void
LoggingBrokerPlugin.slowConsumer
(ConnectionContext context, Destination destination, Subscription subs) -
Uses of Destination in org.apache.activemq.broker.view
Modifier and TypeMethodDescriptionDestinationDotFileInterceptor.addDestination
(ConnectionContext context, org.apache.activemq.command.ActiveMQDestination destination, boolean create) -
Uses of Destination in org.apache.activemq.security
Modifier and TypeClassDescriptionclass
Authorizes addSubscription calls.Modifier and TypeMethodDescriptionAuthorizationBroker.addDestination
(ConnectionContext context, org.apache.activemq.command.ActiveMQDestination destination, boolean create) AuthorizationDestinationInterceptor.intercept
(Destination destination) Modifier and TypeMethodDescriptionAuthorizationDestinationInterceptor.intercept
(Destination destination) void
AuthorizationDestinationInterceptor.remove
(Destination destination) ModifierConstructorDescriptionAuthorizationDestinationFilter
(Destination destination, AuthorizationBroker broker)