Uses of Interface
org.apache.activemq.broker.Broker
Packages that use Broker
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
The policies which can be associated with a particular destination or wildcard.
Implementation classes for Virtual Destinations
The Message Scheduler for delayed (or scheduled) message delivery
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 Broker in org.apache.activemq.advisory
Classes in org.apache.activemq.advisory that implement BrokerModifier and TypeClassDescriptionclassThis broker filter handles tracking the state of the broker for purposes of publishing advisory messages to advisory consumers.Constructors in org.apache.activemq.advisory with parameters of type Broker -
Uses of Broker in org.apache.activemq.broker
Classes in org.apache.activemq.broker that implement BrokerModifier and TypeClassDescriptionclassUsed to add listeners for Broker actionsclassAllows you to intercept broker operation so that features such as security can be implemented as a pluggable filter.classA useful base class for implementing broker plugins.classThis broker filter handles composite destinations.classDumb implementation - used to be overriden by listenersclassImplementation of the broker where all it's methods throw an BrokerStoppedException.classInserts itself into the BrokerStackclassLike a BrokerFilter but it allows you to switch the getNext().broker.classThis broker filter handles the transaction related operations in the Broker interface.classThis broker filter will append the producer's user ID into the JMSXUserID header to allow folks to know reliably who the user was who produced a message.Fields in org.apache.activemq.broker declared as BrokerModifier and TypeFieldDescriptionprotected final BrokerTransportConnection.brokerprotected Broker[]BrokerBroadcaster.listenersprotected final BrokerBrokerFilter.nextFields in org.apache.activemq.broker with type parameters of type BrokerMethods in org.apache.activemq.broker that return BrokerModifier and TypeMethodDescriptionprotected BrokerBrokerService.addInterceptors(Broker broker) Strategy method to add interceptors to the brokerprotected BrokerBrokerService.createBroker()Factory method to create a new brokerprotected BrokerBrokerService.createRegionBroker()Factory method to create the core region broker onto which interceptors are addedprotected BrokerBrokerService.createRegionBroker(DestinationInterceptor destinationInterceptor) Broker.getAdaptor(Class<?> type) Get a Broker from the Broker Stack that is a particular classBrokerFilter.getAdaptor(Class<?> type) EmptyBroker.getAdaptor(Class<?> type) ErrorBroker.getAdaptor(Class<?> type) MutableBrokerFilter.getAdaptor(Class<?> type) BrokerService.getBroker()Returns the message brokerConnectionContext.getBroker()TransportConnector.getBroker()protected Broker[]BrokerBroadcaster.getListeners()BrokerFilter.getNext()MutableBrokerFilter.getNext()BrokerService.getRegionBroker()Broker.getRoot()Ensure we get the Broker at the top of the StackBrokerFilter.getRoot()EmptyBroker.getRoot()ErrorBroker.getRoot()BrokerPlugin.installPlugin(Broker broker) Installs the plugin into the interceptor chain of the broker, returning the new intercepted broker to use.BrokerPluginSupport.installPlugin(Broker broker) Methods in org.apache.activemq.broker that return types with arguments of type BrokerMethods in org.apache.activemq.broker with parameters of type BrokerModifier and TypeMethodDescriptionprotected BrokerBrokerService.addInterceptors(Broker broker) Strategy method to add interceptors to the brokervoidBrokerBroadcaster.addListener(Broker broker) BrokerPlugin.installPlugin(Broker broker) Installs the plugin into the interceptor chain of the broker, returning the new intercepted broker to use.BrokerPluginSupport.installPlugin(Broker broker) voidBrokerBroadcaster.removeListener(Broker broker) voidvoidvoidBrokerService.setRegionBroker(Broker regionBroker) Constructors in org.apache.activemq.broker with parameters of type BrokerModifierConstructorDescriptionBrokerBroadcaster(Broker next) BrokerFilter(Broker next) MutableBrokerFilter(Broker next) TransactionBroker(Broker next, TransactionStore transactionStore) TransportConnection(TransportConnector connector, org.apache.activemq.transport.Transport transport, Broker broker, org.apache.activemq.thread.TaskRunnerFactory taskRunnerFactory, org.apache.activemq.thread.TaskRunnerFactory stopTaskRunnerFactory) UserIDBroker(Broker next) -
Uses of Broker in org.apache.activemq.broker.cluster
Classes in org.apache.activemq.broker.cluster that implement BrokerModifier and TypeClassDescriptionclassMonitors for client connections that may fail to another broker - but this broker isn't aware they've gone.Constructors in org.apache.activemq.broker.cluster with parameters of type Broker -
Uses of Broker in org.apache.activemq.broker.jmx
Classes in org.apache.activemq.broker.jmx that implement BrokerMethods in org.apache.activemq.broker.jmx that return BrokerMethods in org.apache.activemq.broker.jmx with parameters of type BrokerModifier and TypeMethodDescriptionvoidManagedRegionBroker.setContextBroker(Broker contextBroker) Constructors in org.apache.activemq.broker.jmx with parameters of type BrokerModifierConstructorDescriptionManagedTransportConnection(TransportConnector connector, org.apache.activemq.transport.Transport transport, Broker broker, org.apache.activemq.thread.TaskRunnerFactory factory, org.apache.activemq.thread.TaskRunnerFactory stopFactory, ManagementContext context, ObjectName connectorName) -
Uses of Broker in org.apache.activemq.broker.region
Classes in org.apache.activemq.broker.region that implement BrokerModifier and TypeClassDescriptionclassRoutes Broker operations to the correct messaging regions for processing.Fields in org.apache.activemq.broker.region declared as BrokerModifier and TypeFieldDescriptionprotected BrokerAbstractSubscription.brokerprotected final BrokerBaseDestination.brokerprotected final BrokerBaseDestination.regionBrokerMethods in org.apache.activemq.broker.region that return BrokerMethods in org.apache.activemq.broker.region with parameters of type BrokerModifier and TypeMethodDescriptionvoidCompositeDestinationInterceptor.create(Broker broker, ConnectionContext context, org.apache.activemq.command.ActiveMQDestination destination) voidDestinationInterceptor.create(Broker broker, ConnectionContext context, org.apache.activemq.command.ActiveMQDestination destination) Constructors in org.apache.activemq.broker.region with parameters of type BrokerModifierConstructorDescriptionAbstractSubscription(Broker broker, ConnectionContext context, org.apache.activemq.command.ConsumerInfo info) DurableTopicSubscription(Broker broker, SystemUsage usageManager, ConnectionContext context, org.apache.activemq.command.ConsumerInfo info, boolean keepDurableSubsActive) PrefetchSubscription(Broker broker, SystemUsage usageManager, ConnectionContext context, org.apache.activemq.command.ConsumerInfo info) PrefetchSubscription(Broker broker, SystemUsage usageManager, ConnectionContext context, org.apache.activemq.command.ConsumerInfo info, PendingMessageCursor cursor) QueueBrowserSubscription(Broker broker, SystemUsage usageManager, ConnectionContext context, org.apache.activemq.command.ConsumerInfo info) QueueSubscription(Broker broker, SystemUsage usageManager, ConnectionContext context, org.apache.activemq.command.ConsumerInfo info) TopicSubscription(Broker broker, ConnectionContext context, org.apache.activemq.command.ConsumerInfo info, SystemUsage usageManager) -
Uses of Broker in org.apache.activemq.broker.region.cursors
Fields in org.apache.activemq.broker.region.cursors declared as BrokerMethods in org.apache.activemq.broker.region.cursors with parameters of type BrokerModifier and TypeMethodDescriptionstatic booleanAbstractPendingMessageCursor.isPrioritizedMessageSubscriber(Broker broker, Subscription sub) Constructors in org.apache.activemq.broker.region.cursors with parameters of type BrokerModifierConstructorDescriptionFilePendingMessageCursor(Broker broker, String name, boolean prioritizedMessages) StoreDurableSubscriberCursor(Broker broker, String clientId, String subscriberName, int maxBatchSize, DurableTopicSubscription subscription) StoreQueueCursor(Broker broker, Queue queue) Construct -
Uses of Broker in org.apache.activemq.broker.region.policy
Fields in org.apache.activemq.broker.region.policy declared as BrokerMethods in org.apache.activemq.broker.region.policy with parameters of type BrokerModifier and TypeMethodDescriptionvoidPolicyEntry.baseConfiguration(Broker broker, BaseDestination destination) voidvoidvoidPolicyEntry.configure(Broker broker, SystemUsage memoryManager, DurableTopicSubscription sub) voidPolicyEntry.configure(Broker broker, SystemUsage memoryManager, QueueBrowserSubscription sub) voidPolicyEntry.configure(Broker broker, SystemUsage memoryManager, QueueSubscription sub) voidPolicyEntry.configure(Broker broker, SystemUsage memoryManager, TopicSubscription subscription) FilePendingQueueMessageStoragePolicy.getQueuePendingMessageCursor(Broker broker, Queue queue) PendingQueueMessageStoragePolicy.getQueuePendingMessageCursor(Broker broker, Queue queue) Retrieve the configured pending message storage cursor;StorePendingQueueMessageStoragePolicy.getQueuePendingMessageCursor(Broker broker, Queue queue) VMPendingQueueMessageStoragePolicy.getQueuePendingMessageCursor(Broker broker, Queue queue) FilePendingDurableSubscriberMessageStoragePolicy.getSubscriberPendingMessageCursor(Broker broker, String clientId, String name, int maxBatchSize, DurableTopicSubscription sub) Retrieve the configured pending message storage cursor;FilePendingSubscriberMessageStoragePolicy.getSubscriberPendingMessageCursor(Broker broker, String name, int maxBatchSize, Subscription subs) PendingDurableSubscriberMessageStoragePolicy.getSubscriberPendingMessageCursor(Broker broker, String clientId, String name, int maxBatchSize, DurableTopicSubscription sub) Retrieve the configured pending message storage cursor;PendingSubscriberMessageStoragePolicy.getSubscriberPendingMessageCursor(Broker broker, String name, int maxBatchSize, Subscription subs) Retrieve the configured pending message storage cursor;StorePendingDurableSubscriberMessageStoragePolicy.getSubscriberPendingMessageCursor(Broker broker, String clientId, String name, int maxBatchSize, DurableTopicSubscription sub) Retrieve the configured pending message storage cursor;VMPendingDurableSubscriberMessageStoragePolicy.getSubscriberPendingMessageCursor(Broker broker, String clientId, String name, int maxBatchSize, DurableTopicSubscription sub) Retrieve the configured pending message storage cursor;VMPendingSubscriberMessageStoragePolicy.getSubscriberPendingMessageCursor(Broker broker, String name, int maxBatchSize, Subscription subs) voidvoidvoidvoidvoidvoidvoidvoidvoidAbortSlowAckConsumerStrategy.setBrokerService(Broker broker) voidAbortSlowConsumerStrategy.setBrokerService(Broker broker) voidSlowConsumerStrategy.setBrokerService(Broker broker) Sets the Broker instance which can provide a Scheduler among other things. -
Uses of Broker in org.apache.activemq.broker.region.virtual
Methods in org.apache.activemq.broker.region.virtual with parameters of type BrokerModifier and TypeMethodDescriptionvoidCompositeDestination.create(Broker broker, ConnectionContext context, org.apache.activemq.command.ActiveMQDestination destination) voidMirroredQueue.create(Broker broker, ConnectionContext context, org.apache.activemq.command.ActiveMQDestination destination) voidVirtualDestinationInterceptor.create(Broker broker, ConnectionContext context, org.apache.activemq.command.ActiveMQDestination destination) voidVirtualTopic.create(Broker broker, ConnectionContext context, org.apache.activemq.command.ActiveMQDestination destination) protected booleanSelectorAwareVirtualTopicInterceptor.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 booleanVirtualTopicInterceptor.shouldDispatch(Broker broker, org.apache.activemq.command.Message message, Destination dest) -
Uses of Broker in org.apache.activemq.broker.scheduler
Classes in org.apache.activemq.broker.scheduler that implement BrokerConstructors in org.apache.activemq.broker.scheduler with parameters of type BrokerModifierConstructorDescriptionSchedulerBroker(BrokerService brokerService, Broker next, JobSchedulerStore store) -
Uses of Broker in org.apache.activemq.broker.util
Classes in org.apache.activemq.broker.util that implement BrokerModifier and TypeClassDescriptionclassclassA simple plugin that can be used to export/import runtime destinations.classA simple Broker intercepter which allows you to enable/disable logging.classA Broker interceptor which allows you to trace all operations to a Multicast socket.classReplace regular DLQ handling with redelivery via a resend to the original destination after a delay A destination matching RedeliveryPolicy controls the quantity and delay for re-sends If there is no matching policy or an existing policy limit is exceeded by default regular DLQ processing resumes.classA Broker interceptor which updates a JMS Client's timestamp on the message with a broker timestamp.classThe TraceBrokerPathPlugin can be used in a network of Brokers.classA Broker interceptor which allows you to trace all operations to a UDP socket.Methods in org.apache.activemq.broker.util that return BrokerMethods in org.apache.activemq.broker.util with parameters of type Broker -
Uses of Broker in org.apache.activemq.broker.view
Classes in org.apache.activemq.broker.view that implement BrokerModifier and TypeClassDescriptionclassclassclassUseful base classMethods in org.apache.activemq.broker.view that return BrokerModifier and TypeMethodDescriptionConnectionDotFilePlugin.installPlugin(Broker broker) DestinationDotFilePlugin.installPlugin(Broker broker) Methods in org.apache.activemq.broker.view with parameters of type BrokerModifier and TypeMethodDescriptionConnectionDotFilePlugin.installPlugin(Broker broker) DestinationDotFilePlugin.installPlugin(Broker broker) Constructors in org.apache.activemq.broker.view with parameters of type BrokerModifierConstructorDescriptionConnectionDotFileInterceptor(Broker next, String file, boolean redrawOnRemove) DestinationDotFileInterceptor(Broker next, String file) DotFileInterceptorSupport(Broker next, String file) -
Uses of Broker in org.apache.activemq.plugin
Classes in org.apache.activemq.plugin that implement BrokerModifier and TypeClassDescriptionclassclassA Plugin which allows to force every incoming message to be PERSISTENT or NON-PERSISTENT.classA StatisticsBroker You can retrieve a Map Message for a Destination - or Broker containing statistics as key-value pairs The message must contain a replyTo Destination - else its ignoredclassA plugin which allows the caching of the selector from a subscription queue.Methods in org.apache.activemq.plugin that return BrokerModifier and TypeMethodDescriptionDiscardingDLQBrokerPlugin.installPlugin(Broker broker) Installs the plugin into the intercepter chain of the broker, returning the new intercepted broker to use.ForcePersistencyModeBrokerPlugin.installPlugin(Broker broker) StatisticsBrokerPlugin.installPlugin(Broker broker) SubQueueSelectorCacheBrokerPlugin.installPlugin(Broker broker) Methods in org.apache.activemq.plugin with parameters of type BrokerModifier and TypeMethodDescriptionDiscardingDLQBrokerPlugin.installPlugin(Broker broker) Installs the plugin into the intercepter chain of the broker, returning the new intercepted broker to use.ForcePersistencyModeBrokerPlugin.installPlugin(Broker broker) StatisticsBrokerPlugin.installPlugin(Broker broker) SubQueueSelectorCacheBrokerPlugin.installPlugin(Broker broker) Constructors in org.apache.activemq.plugin with parameters of type BrokerModifierConstructorDescriptionDiscardingDLQBroker(Broker next) ConstructorStatisticsBroker(Broker next) ConstructorSubQueueSelectorCacheBroker(Broker next, File persistFile) Constructor -
Uses of Broker in org.apache.activemq.security
Classes in org.apache.activemq.security that implement BrokerModifier and TypeClassDescriptionclassclassVerifies if a authenticated user can do an operation against the broker using an authorization map.classLogs a user in using JAAS.classA JAAS Authentication Broker that uses SSL Certificates.classA JAAS Authentication Broker that uses different JAAS domain configurations depending if the connection is over an SSL enabled Connector or not.classHandles authenticating a users against a simple user name/password map.Methods in org.apache.activemq.security that return BrokerModifier and TypeMethodDescriptionAuthorizationPlugin.installPlugin(Broker broker) JaasAuthenticationPlugin.installPlugin(Broker broker) JaasCertificateAuthenticationPlugin.installPlugin(Broker broker) JaasDualAuthenticationPlugin.installPlugin(Broker broker) SimpleAuthenticationPlugin.installPlugin(Broker parent) Methods in org.apache.activemq.security with parameters of type BrokerModifier and TypeMethodDescriptionvoidAuthorizationDestinationInterceptor.create(Broker broker, ConnectionContext context, org.apache.activemq.command.ActiveMQDestination destination) AuthorizationPlugin.installPlugin(Broker broker) JaasAuthenticationPlugin.installPlugin(Broker broker) JaasCertificateAuthenticationPlugin.installPlugin(Broker broker) JaasDualAuthenticationPlugin.installPlugin(Broker broker) SimpleAuthenticationPlugin.installPlugin(Broker parent) Constructors in org.apache.activemq.security with parameters of type BrokerModifierConstructorDescriptionAuthorizationBroker(Broker next, AuthorizationMap authorizationMap) JaasAuthenticationBroker(Broker next, String jassConfiguration) JaasCertificateAuthenticationBroker(Broker next, String jaasConfiguration) Simple constructor.JaasDualAuthenticationBroker(Broker next, String jaasConfiguration, String jaasSslConfiguration) Simple constructor.SimpleAuthenticationBroker(Broker next, Map<String, String> userPasswords, Map<String, Set<Principal>> userGroups) -
Uses of Broker in org.apache.activemq.util
Methods in org.apache.activemq.util with parameters of type BrokerModifier and TypeMethodDescriptionprotected static ConnectionContextBrokerSupport.createAdminConnectionContext(Broker broker) Factory method to create the new administration connection context object.static ConnectionContextBrokerSupport.getConnectionContext(Broker broker) Returns the broker's administration connection context used for configuring the broker at startup