Uses of Class
org.apache.activemq.broker.ConnectionContext
-
Packages that use ConnectionContext Package Description org.apache.activemq.advisory Support for JMS Advisory messages as well as some helper listeners to listen to the clients, producers and consumers available.org.apache.activemq.broker The core classes for the ActiveMQ Message Broker and its connectors.org.apache.activemq.broker.cluster org.apache.activemq.broker.jmx JMX MBeans for the broker and its core connectors.org.apache.activemq.broker.region Region abstraction and implementations in the Broker.org.apache.activemq.broker.region.cursors Cursors used to page persistent messages into the broker from the storeorg.apache.activemq.broker.region.policy The policies which can be associated with a particular destination or wildcard.org.apache.activemq.broker.region.virtual Implementation classes for Virtual Destinationsorg.apache.activemq.broker.scheduler The Message Scheduler for delayed (or scheduled) message deliveryorg.apache.activemq.broker.util Some utility Broker Pluginsorg.apache.activemq.broker.view Broker Plugins for visualising the current systemorg.apache.activemq.partition org.apache.activemq.plugin org.apache.activemq.security Plugable Security Adapter framework along with default implementations such as the JAAS implementation.org.apache.activemq.shiro org.apache.activemq.shiro.authc org.apache.activemq.shiro.authz org.apache.activemq.shiro.subject org.apache.activemq.store The APIs which need to be implemented for persistent message stores for durable messagingorg.apache.activemq.store.jdbc Message persistence implemented using JDBCorg.apache.activemq.store.journal Message persistence using a high performance transaction log via the Journal interface.org.apache.activemq.store.kahadb org.apache.activemq.store.memory VM based implementation of message persistenceorg.apache.activemq.transaction org.apache.activemq.util -
-
Uses of ConnectionContext in org.apache.activemq.advisory
Methods in org.apache.activemq.advisory with parameters of type ConnectionContext Modifier and Type Method Description voidAdvisoryBroker. addConnection(ConnectionContext context, ConnectionInfo info)SubscriptionAdvisoryBroker. addConsumer(ConnectionContext context, ConsumerInfo info)DestinationAdvisoryBroker. addDestination(ConnectionContext context, ActiveMQDestination destination, boolean create)voidAdvisoryBroker. addDestinationInfo(ConnectionContext context, DestinationInfo info)voidAdvisoryBroker. addProducer(ConnectionContext context, ProducerInfo info)voidAdvisoryBroker. fastProducer(ConnectionContext context, ProducerInfo producerInfo, ActiveMQDestination destination)protected voidAdvisoryBroker. fireAdvisory(ConnectionContext context, ActiveMQTopic topic, Command command)protected voidAdvisoryBroker. fireAdvisory(ConnectionContext context, ActiveMQTopic topic, Command command, ConsumerId targetConsumerId)voidAdvisoryBroker. fireAdvisory(ConnectionContext context, ActiveMQTopic topic, Command command, ConsumerId targetConsumerId, ActiveMQMessage advisoryMessage)protected voidAdvisoryBroker. fireConsumerAdvisory(ConnectionContext context, ActiveMQDestination consumerDestination, ActiveMQTopic topic, Command command)protected voidAdvisoryBroker. fireConsumerAdvisory(ConnectionContext context, ActiveMQDestination consumerDestination, ActiveMQTopic topic, Command command, ConsumerId targetConsumerId)protected voidAdvisoryBroker. fireProducerAdvisory(ConnectionContext context, ActiveMQDestination producerDestination, ActiveMQTopic topic, Command command)protected voidAdvisoryBroker. fireProducerAdvisory(ConnectionContext context, ActiveMQDestination producerDestination, ActiveMQTopic topic, Command command, ConsumerId targetConsumerId)voidAdvisoryBroker. isFull(ConnectionContext context, Destination destination, Usage<?> usage)voidAdvisoryBroker. messageConsumed(ConnectionContext context, MessageReference messageReference)voidAdvisoryBroker. messageDelivered(ConnectionContext context, MessageReference messageReference)voidAdvisoryBroker. messageDiscarded(ConnectionContext context, Subscription sub, MessageReference messageReference)voidAdvisoryBroker. messageExpired(ConnectionContext context, MessageReference messageReference, Subscription subscription)voidAdvisoryBroker. removeConnection(ConnectionContext context, ConnectionInfo info, Throwable error)voidAdvisoryBroker. removeConsumer(ConnectionContext context, ConsumerInfo info)voidAdvisoryBroker. removeDestination(ConnectionContext context, ActiveMQDestination destination, long timeout)voidAdvisoryBroker. removeDestinationInfo(ConnectionContext context, DestinationInfo destInfo)voidAdvisoryBroker. removeProducer(ConnectionContext context, ProducerInfo info)voidAdvisoryBroker. removeSubscription(ConnectionContext context, RemoveSubscriptionInfo info)booleanAdvisoryBroker. sendToDeadLetterQueue(ConnectionContext context, MessageReference messageReference, Subscription subscription, Throwable poisonCause)voidAdvisoryBroker. slowConsumer(ConnectionContext context, Destination destination, Subscription subs)voidAdvisoryBroker. virtualDestinationAdded(ConnectionContext context, VirtualDestination virtualDestination)voidAdvisoryBroker. virtualDestinationRemoved(ConnectionContext context, VirtualDestination virtualDestination) -
Uses of ConnectionContext in org.apache.activemq.broker
Methods in org.apache.activemq.broker that return ConnectionContext Modifier and Type Method Description ConnectionContextConnectionContext. copy()ConnectionContextBroker. getAdminConnectionContext()ConnectionContextBrokerFilter. getAdminConnectionContext()ConnectionContextBrokerService. getAdminConnectionContext()Returns the broker's administration connection context used for configuring the broker at startupConnectionContextEmptyBroker. getAdminConnectionContext()ConnectionContextErrorBroker. getAdminConnectionContext()ConnectionContextConsumerBrokerExchange. getConnectionContext()ConnectionContextProducerBrokerExchange. getConnectionContext()ConnectionContextTransportConnectionState. getContext()Methods in org.apache.activemq.broker with parameters of type ConnectionContext Modifier and Type Method Description voidBroker. addConnection(ConnectionContext context, ConnectionInfo info)A client is establishing a connection with the broker.voidBrokerBroadcaster. addConnection(ConnectionContext context, ConnectionInfo info)voidBrokerFilter. addConnection(ConnectionContext context, ConnectionInfo info)voidEmptyBroker. addConnection(ConnectionContext context, ConnectionInfo info)voidErrorBroker. addConnection(ConnectionContext context, ConnectionInfo info)SubscriptionBrokerBroadcaster. addConsumer(ConnectionContext context, ConsumerInfo info)SubscriptionBrokerFilter. addConsumer(ConnectionContext context, ConsumerInfo info)SubscriptionEmptyBroker. addConsumer(ConnectionContext context, ConsumerInfo info)SubscriptionErrorBroker. addConsumer(ConnectionContext context, ConsumerInfo info)DestinationBrokerBroadcaster. addDestination(ConnectionContext context, ActiveMQDestination destination, boolean createIfTemporary)DestinationBrokerFilter. addDestination(ConnectionContext context, ActiveMQDestination destination, boolean createIfTemporary)DestinationEmptyBroker. addDestination(ConnectionContext context, ActiveMQDestination destination, boolean flag)DestinationErrorBroker. addDestination(ConnectionContext context, ActiveMQDestination destination, boolean flag)voidBroker. addDestinationInfo(ConnectionContext context, DestinationInfo info)Add and process a DestinationInfo objectvoidBrokerFilter. addDestinationInfo(ConnectionContext context, DestinationInfo info)voidEmptyBroker. addDestinationInfo(ConnectionContext context, DestinationInfo info)voidErrorBroker. addDestinationInfo(ConnectionContext context, DestinationInfo info)voidBroker. addProducer(ConnectionContext context, ProducerInfo info)Adds a producer.voidBrokerBroadcaster. addProducer(ConnectionContext context, ProducerInfo info)voidBrokerFilter. addProducer(ConnectionContext context, ProducerInfo info)voidCompositeDestinationBroker. addProducer(ConnectionContext context, ProducerInfo info)A producer may register to send to multiple destinations via a composite destination.voidEmptyBroker. addProducer(ConnectionContext context, ProducerInfo info)voidErrorBroker. addProducer(ConnectionContext context, ProducerInfo info)voidBroker. addSession(ConnectionContext context, SessionInfo info)Adds a session.voidBrokerBroadcaster. addSession(ConnectionContext context, SessionInfo info)voidBrokerFilter. addSession(ConnectionContext context, SessionInfo info)voidEmptyBroker. addSession(ConnectionContext context, SessionInfo info)voidErrorBroker. addSession(ConnectionContext context, SessionInfo info)voidBroker. beginTransaction(ConnectionContext context, TransactionId xid)Starts a transaction.voidBrokerBroadcaster. beginTransaction(ConnectionContext context, TransactionId xid)voidBrokerFilter. beginTransaction(ConnectionContext context, TransactionId xid)voidEmptyBroker. beginTransaction(ConnectionContext context, TransactionId xid)voidErrorBroker. beginTransaction(ConnectionContext context, TransactionId xid)voidTransactionBroker. beginTransaction(ConnectionContext context, TransactionId xid)voidBroker. commitTransaction(ConnectionContext context, TransactionId xid, boolean onePhase)Commits a transaction.voidBrokerBroadcaster. commitTransaction(ConnectionContext context, TransactionId xid, boolean onePhase)voidBrokerFilter. commitTransaction(ConnectionContext context, TransactionId xid, boolean onePhase)voidEmptyBroker. commitTransaction(ConnectionContext context, TransactionId xid, boolean onePhase)voidErrorBroker. commitTransaction(ConnectionContext context, TransactionId xid, boolean onePhase)voidTransactionBroker. commitTransaction(ConnectionContext context, TransactionId xid, boolean onePhase)voidBroker. fastProducer(ConnectionContext context, ProducerInfo producerInfo, ActiveMQDestination destination)Called to notify a producer is too fastvoidBrokerFilter. fastProducer(ConnectionContext context, ProducerInfo producerInfo, ActiveMQDestination destination)voidEmptyBroker. fastProducer(ConnectionContext context, ProducerInfo producerInfo, ActiveMQDestination destination)voidErrorBroker. fastProducer(ConnectionContext context, ProducerInfo producerInfo, ActiveMQDestination destination)voidBroker. forgetTransaction(ConnectionContext context, TransactionId transactionId)Forgets a transaction.voidBrokerBroadcaster. forgetTransaction(ConnectionContext context, TransactionId transactionId)voidBrokerFilter. forgetTransaction(ConnectionContext context, TransactionId transactionId)voidEmptyBroker. forgetTransaction(ConnectionContext context, TransactionId transactionId)voidErrorBroker. forgetTransaction(ConnectionContext context, TransactionId transactionId)voidTransactionBroker. forgetTransaction(ConnectionContext context, TransactionId xid)TransactionId[]Broker. getPreparedTransactions(ConnectionContext context)Gets a list of all the prepared xa transactions.TransactionId[]BrokerFilter. getPreparedTransactions(ConnectionContext context)TransactionId[]EmptyBroker. getPreparedTransactions(ConnectionContext context)TransactionId[]ErrorBroker. getPreparedTransactions(ConnectionContext context)TransactionId[]TransactionBroker. getPreparedTransactions(ConnectionContext context)TransactionTransactionBroker. getTransaction(ConnectionContext context, TransactionId xid, boolean mightBePrepared)voidBroker. isFull(ConnectionContext context, Destination destination, Usage<?> usage)Called when a Usage reaches a limitvoidBrokerFilter. isFull(ConnectionContext context, Destination destination, Usage<?> usage)voidEmptyBroker. isFull(ConnectionContext context, Destination destination, Usage<?> usage)voidErrorBroker. isFull(ConnectionContext context, Destination destination, Usage<?> usage)voidBroker. messageConsumed(ConnectionContext context, MessageReference messageReference)called when message is consumedvoidBrokerFilter. messageConsumed(ConnectionContext context, MessageReference messageReference)voidEmptyBroker. messageConsumed(ConnectionContext context, MessageReference messageReference)voidErrorBroker. messageConsumed(ConnectionContext context, MessageReference messageReference)voidBroker. messageDelivered(ConnectionContext context, MessageReference messageReference)Called when message is delivered to the brokervoidBrokerFilter. messageDelivered(ConnectionContext context, MessageReference messageReference)voidEmptyBroker. messageDelivered(ConnectionContext context, MessageReference messageReference)voidErrorBroker. messageDelivered(ConnectionContext context, MessageReference messageReference)voidBroker. messageDiscarded(ConnectionContext context, Subscription sub, MessageReference messageReference)Called when a message is discarded - e.g.voidBrokerFilter. messageDiscarded(ConnectionContext context, Subscription sub, MessageReference messageReference)voidEmptyBroker. messageDiscarded(ConnectionContext context, Subscription sub, MessageReference messageReference)voidErrorBroker. messageDiscarded(ConnectionContext context, Subscription sub, MessageReference messageReference)voidBroker. messageExpired(ConnectionContext context, MessageReference messageReference, Subscription subscription)A Message has ExpiredvoidBrokerFilter. messageExpired(ConnectionContext context, MessageReference message, Subscription subscription)voidEmptyBroker. messageExpired(ConnectionContext context, MessageReference message, Subscription subscription)voidErrorBroker. messageExpired(ConnectionContext context, MessageReference message, Subscription subscription)ResponseBrokerFilter. messagePull(ConnectionContext context, MessagePull pull)ResponseEmptyBroker. messagePull(ConnectionContext context, MessagePull pull)ResponseErrorBroker. messagePull(ConnectionContext context, MessagePull pull)intBroker. prepareTransaction(ConnectionContext context, TransactionId xid)Prepares a transaction.intBrokerBroadcaster. prepareTransaction(ConnectionContext context, TransactionId xid)intBrokerFilter. prepareTransaction(ConnectionContext context, TransactionId xid)intEmptyBroker. prepareTransaction(ConnectionContext context, TransactionId xid)intErrorBroker. prepareTransaction(ConnectionContext context, TransactionId xid)intTransactionBroker. prepareTransaction(ConnectionContext context, TransactionId xid)voidBroker. removeConnection(ConnectionContext context, ConnectionInfo info, Throwable error)A client is disconnecting from the broker.voidBrokerBroadcaster. removeConnection(ConnectionContext context, ConnectionInfo info, Throwable error)voidBrokerFilter. removeConnection(ConnectionContext context, ConnectionInfo info, Throwable error)voidEmptyBroker. removeConnection(ConnectionContext context, ConnectionInfo info, Throwable error)voidErrorBroker. removeConnection(ConnectionContext context, ConnectionInfo info, Throwable error)voidTransactionBroker. removeConnection(ConnectionContext context, ConnectionInfo info, Throwable error)voidBrokerBroadcaster. removeConsumer(ConnectionContext context, ConsumerInfo info)voidBrokerFilter. removeConsumer(ConnectionContext context, ConsumerInfo info)voidEmptyBroker. removeConsumer(ConnectionContext context, ConsumerInfo info)voidErrorBroker. removeConsumer(ConnectionContext context, ConsumerInfo info)voidBrokerBroadcaster. removeDestination(ConnectionContext context, ActiveMQDestination destination, long timeout)voidBrokerFilter. removeDestination(ConnectionContext context, ActiveMQDestination destination, long timeout)voidEmptyBroker. removeDestination(ConnectionContext context, ActiveMQDestination destination, long timeout)voidErrorBroker. removeDestination(ConnectionContext context, ActiveMQDestination destination, long timeout)voidBroker. removeDestinationInfo(ConnectionContext context, DestinationInfo info)Remove and process a DestinationInfo objectvoidBrokerFilter. removeDestinationInfo(ConnectionContext context, DestinationInfo info)voidEmptyBroker. removeDestinationInfo(ConnectionContext context, DestinationInfo info)voidErrorBroker. removeDestinationInfo(ConnectionContext context, DestinationInfo info)voidBroker. removeProducer(ConnectionContext context, ProducerInfo info)Removes a producer.voidBrokerBroadcaster. removeProducer(ConnectionContext context, ProducerInfo info)voidBrokerFilter. removeProducer(ConnectionContext context, ProducerInfo info)voidCompositeDestinationBroker. removeProducer(ConnectionContext context, ProducerInfo info)A producer may de-register from sending to multiple destinations via a composite destination.voidEmptyBroker. removeProducer(ConnectionContext context, ProducerInfo info)voidErrorBroker. removeProducer(ConnectionContext context, ProducerInfo info)voidBroker. removeSession(ConnectionContext context, SessionInfo info)Removes a session.voidBrokerBroadcaster. removeSession(ConnectionContext context, SessionInfo info)voidBrokerFilter. removeSession(ConnectionContext context, SessionInfo info)voidEmptyBroker. removeSession(ConnectionContext context, SessionInfo info)voidErrorBroker. removeSession(ConnectionContext context, SessionInfo info)voidBrokerBroadcaster. removeSubscription(ConnectionContext context, RemoveSubscriptionInfo info)voidBrokerFilter. removeSubscription(ConnectionContext context, RemoveSubscriptionInfo info)voidEmptyBroker. removeSubscription(ConnectionContext context, RemoveSubscriptionInfo info)voidErrorBroker. removeSubscription(ConnectionContext context, RemoveSubscriptionInfo info)voidBroker. rollbackTransaction(ConnectionContext context, TransactionId xid)Rollsback a transaction.voidBrokerBroadcaster. rollbackTransaction(ConnectionContext context, TransactionId xid)voidBrokerFilter. rollbackTransaction(ConnectionContext context, TransactionId xid)voidEmptyBroker. rollbackTransaction(ConnectionContext context, TransactionId xid)voidErrorBroker. rollbackTransaction(ConnectionContext context, TransactionId xid)voidTransactionBroker. rollbackTransaction(ConnectionContext context, TransactionId xid)booleanBroker. sendToDeadLetterQueue(ConnectionContext context, MessageReference messageReference, Subscription subscription, Throwable poisonCause)A message needs to go the a DLQbooleanBrokerFilter. sendToDeadLetterQueue(ConnectionContext context, MessageReference messageReference, Subscription subscription, Throwable poisonCause)booleanEmptyBroker. sendToDeadLetterQueue(ConnectionContext context, MessageReference messageReference, Subscription subscription, Throwable poisonCause)booleanErrorBroker. sendToDeadLetterQueue(ConnectionContext context, MessageReference messageReference, Subscription subscription, Throwable poisonCause)voidBroker. setAdminConnectionContext(ConnectionContext adminConnectionContext)Sets the default administration connection context used when configuring the broker on startup or via JMXvoidBrokerFilter. setAdminConnectionContext(ConnectionContext adminConnectionContext)voidEmptyBroker. setAdminConnectionContext(ConnectionContext adminConnectionContext)voidErrorBroker. setAdminConnectionContext(ConnectionContext adminConnectionContext)voidConsumerBrokerExchange. setConnectionContext(ConnectionContext connectionContext)voidProducerBrokerExchange. setConnectionContext(ConnectionContext connectionContext)voidTransportConnectionState. setContext(ConnectionContext context)voidBroker. slowConsumer(ConnectionContext context, Destination destination, Subscription subs)Called when there is a slow consumervoidBrokerFilter. slowConsumer(ConnectionContext context, Destination destination, Subscription subs)voidEmptyBroker. slowConsumer(ConnectionContext context, Destination destination, Subscription subs)voidErrorBroker. slowConsumer(ConnectionContext context, Destination destination, Subscription subs)voidBroker. virtualDestinationAdded(ConnectionContext context, VirtualDestination virtualDestination)voidBrokerFilter. virtualDestinationAdded(ConnectionContext context, VirtualDestination virtualDestination)voidEmptyBroker. virtualDestinationAdded(ConnectionContext context, VirtualDestination virtualDestination)voidErrorBroker. virtualDestinationAdded(ConnectionContext context, VirtualDestination virtualDestination)voidBroker. virtualDestinationRemoved(ConnectionContext context, VirtualDestination virtualDestination)voidBrokerFilter. virtualDestinationRemoved(ConnectionContext context, VirtualDestination virtualDestination)voidEmptyBroker. virtualDestinationRemoved(ConnectionContext context, VirtualDestination virtualDestination)voidErrorBroker. virtualDestinationRemoved(ConnectionContext context, VirtualDestination virtualDestination) -
Uses of ConnectionContext in org.apache.activemq.broker.cluster
Methods in org.apache.activemq.broker.cluster with parameters of type ConnectionContext Modifier and Type Method Description SubscriptionConnectionSplitBroker. addConsumer(ConnectionContext context, ConsumerInfo info)voidConnectionSplitBroker. removeConsumer(ConnectionContext context, ConsumerInfo info) -
Uses of ConnectionContext in org.apache.activemq.broker.jmx
-
Uses of ConnectionContext in org.apache.activemq.broker.region
Fields in org.apache.activemq.broker.region declared as ConnectionContext Modifier and Type Field Description protected ConnectionContextAbstractSubscription. contextMethods in org.apache.activemq.broker.region that return ConnectionContext Modifier and Type Method Description ConnectionContextBaseDestination. createConnectionContext()ConnectionContextRegionBroker. getAdminConnectionContext()ConnectionContextRegionBroker. getConnectionContext(String clientId)ConnectionContextAbstractSubscription. getContext()ConnectionContextSubscription. getContext()Methods in org.apache.activemq.broker.region with parameters of type ConnectionContext Modifier and Type Method Description voidAbstractSubscription. acknowledge(ConnectionContext context, MessageAck ack)voidDestination. acknowledge(ConnectionContext context, Subscription sub, MessageAck ack, MessageReference node)voidDestinationFilter. acknowledge(ConnectionContext context, Subscription sub, MessageAck ack, MessageReference node)protected voidDurableTopicSubscription. acknowledge(ConnectionContext context, MessageAck ack, MessageReference node)voidPrefetchSubscription. acknowledge(ConnectionContext context, MessageAck ack)protected abstract voidPrefetchSubscription. acknowledge(ConnectionContext context, MessageAck ack, MessageReference node)Used during acknowledgment to remove the message.voidQueue. acknowledge(ConnectionContext context, Subscription sub, MessageAck ack, MessageReference node)protected voidQueueBrowserSubscription. acknowledge(ConnectionContext context, MessageAck ack, MessageReference n)Since we are a browser we don't really remove the message from the queue.protected voidQueueSubscription. acknowledge(ConnectionContext context, MessageAck ack, MessageReference n)In the queue case, mark the node as dropped and then a gc cycle will remove it from the queue.voidSubscription. acknowledge(ConnectionContext context, MessageAck ack)Used when client acknowledge receipt of dispatched message.voidTopic. acknowledge(ConnectionContext context, Subscription sub, MessageAck ack, MessageReference node)voidTopicSubscription. acknowledge(ConnectionContext context, MessageAck ack)voidDurableTopicSubscription. activate(SystemUsage memoryManager, ConnectionContext context, ConsumerInfo info, RegionBroker regionBroker)voidTopic. activate(ConnectionContext context, DurableTopicSubscription subscription)voidAbstractSubscription. add(ConnectionContext context, Destination destination)voidDurableTopicSubscription. add(ConnectionContext context, Destination destination)voidPrefetchSubscription. add(ConnectionContext context, Destination destination)voidSubscription. add(ConnectionContext context, Destination destination)The subscription will be receiving messages from the destination.voidRegionBroker. addConnection(ConnectionContext context, ConnectionInfo info)SubscriptionAbstractRegion. addConsumer(ConnectionContext context, ConsumerInfo info)SubscriptionRegion. addConsumer(ConnectionContext context, ConsumerInfo info)Adds a consumer.SubscriptionRegionBroker. addConsumer(ConnectionContext context, ConsumerInfo info)SubscriptionTopicRegion. addConsumer(ConnectionContext context, ConsumerInfo info)DestinationAbstractRegion. addDestination(ConnectionContext context, ActiveMQDestination destination, boolean createIfTemporary)DestinationRegion. addDestination(ConnectionContext context, ActiveMQDestination destination, boolean createIfTemporary)Used to create a destination.DestinationRegionBroker. addDestination(ConnectionContext context, ActiveMQDestination destination, boolean createIfTemp)voidRegionBroker. addDestinationInfo(ConnectionContext context, DestinationInfo info)voidAbstractRegion. addProducer(ConnectionContext context, ProducerInfo info)voidBaseDestination. addProducer(ConnectionContext context, ProducerInfo info)voidDestination. addProducer(ConnectionContext context, ProducerInfo info)voidDestinationFilter. addProducer(ConnectionContext context, ProducerInfo info)voidRegion. addProducer(ConnectionContext context, ProducerInfo info)Adds a Producer.voidRegionBroker. addProducer(ConnectionContext context, ProducerInfo info)booleanAbstractSubscription. addRecoveredMessage(ConnectionContext context, MessageReference message)booleanSubscriptionRecovery. addRecoveredMessage(ConnectionContext context, MessageReference message)Add a message to the SubscriptionRecoveryvoidBaseDestination. addSubscription(ConnectionContext context, Subscription sub)voidDestination. addSubscription(ConnectionContext context, Subscription sub)voidDestinationFilter. addSubscription(ConnectionContext context, Subscription sub)voidQueue. addSubscription(ConnectionContext context, Subscription sub)voidTempQueue. addSubscription(ConnectionContext context, Subscription sub)voidTempTopic. addSubscription(ConnectionContext context, Subscription sub)voidTopic. addSubscription(ConnectionContext context, Subscription sub)protected List<Subscription>AbstractRegion. addSubscriptionsForDestination(ConnectionContext context, Destination dest)protected List<Subscription>TopicRegion. addSubscriptionsForDestination(ConnectionContext context, Destination dest)voidRegionBroker. beginTransaction(ConnectionContext context, TransactionId xid)voidRegionBroker. commitTransaction(ConnectionContext context, TransactionId xid, boolean onePhase)intQueue. copyMatchingMessages(ConnectionContext context, MessageReferenceFilter filter, ActiveMQDestination dest, int maximumMessages)Copies the messages matching the given filter up to the maximum number of matched messagesintQueue. copyMatchingMessagesTo(ConnectionContext context, String selector, ActiveMQDestination dest)Copies the messages matching the given selectorintQueue. copyMatchingMessagesTo(ConnectionContext context, String selector, ActiveMQDestination dest, int maximumMessages)Copies the messages matching the given selector up to the maximum number of matched messagesbooleanQueue. copyMessageTo(ConnectionContext context, String messageId, ActiveMQDestination dest)Copies the message matching the given messageIdvoidCompositeDestinationInterceptor. create(Broker broker, ConnectionContext context, ActiveMQDestination destination)voidDestinationInterceptor. create(Broker broker, ConnectionContext context, ActiveMQDestination destination)protected DestinationAbstractRegion. createDestination(ConnectionContext context, ActiveMQDestination destination)protected DestinationAbstractTempRegion. createDestination(ConnectionContext context, ActiveMQDestination destination)abstract DestinationDestinationFactory. createDestination(ConnectionContext context, ActiveMQDestination destination, DestinationStatistics destinationStatistics)Create destination implementation.DestinationDestinationFactoryImpl. createDestination(ConnectionContext context, ActiveMQDestination destination, DestinationStatistics destinationStatistics)protected abstract SubscriptionAbstractRegion. createSubscription(ConnectionContext context, ConsumerInfo info)protected SubscriptionQueueRegion. createSubscription(ConnectionContext context, ConsumerInfo info)protected SubscriptionTempQueueRegion. createSubscription(ConnectionContext context, ConsumerInfo info)protected SubscriptionTempTopicRegion. createSubscription(ConnectionContext context, ConsumerInfo info)protected SubscriptionTopicRegion. createSubscription(ConnectionContext context, ConsumerInfo info)voidTopic. deactivate(ConnectionContext context, DurableTopicSubscription sub, List<MessageReference> dispatched)voidDestinationFilter. deleteSubscription(ConnectionContext context, SubscriptionKey key)voidTopic. deleteSubscription(ConnectionContext context, SubscriptionKey key)protected voidTopic. dispatch(ConnectionContext context, Message message)protected voidAbstractRegion. dispose(ConnectionContext context, Destination dest)protected voidAbstractTempRegion. dispose(ConnectionContext context, Destination dest)voidBaseDestination. dispose(ConnectionContext context)voidDestination. dispose(ConnectionContext context)voidDestinationFilter. dispose(ConnectionContext context)voidTempQueue. dispose(ConnectionContext context)protected voidQueue. doBrowseList(List<Message> browseList, int max, PendingList list, ReentrantReadWriteLock lock, ConnectionContext connectionContext, String name)booleanMessageReferenceFilter. evaluate(ConnectionContext context, MessageReference messageReference)voidBaseDestination. fastProducer(ConnectionContext context, ProducerInfo producerInfo)Called to notify a producer is too fastvoidDestination. fastProducer(ConnectionContext context, ProducerInfo producerInfo)Called to notify a producer is too fastvoidDestinationFilter. fastProducer(ConnectionContext context, ProducerInfo producerInfo)voidRegionBroker. forgetTransaction(ConnectionContext context, TransactionId transactionId)TransactionId[]RegionBroker. getPreparedTransactions(ConnectionContext context)voidBaseDestination. isFull(ConnectionContext context, Usage<?> usage)Called when a Usage reaches a limitvoidDestination. isFull(ConnectionContext context, Usage<?> usage)Called when a Usage reaches a limitvoidDestinationFilter. isFull(ConnectionContext context, Usage<?> usage)protected DestinationAbstractRegion. lookup(ConnectionContext context, ActiveMQDestination destination, boolean createTemporary)voidBaseDestination. messageConsumed(ConnectionContext context, MessageReference messageReference)called when message is consumedvoidDestination. messageConsumed(ConnectionContext context, MessageReference messageReference)called when message is consumedvoidDestinationFilter. messageConsumed(ConnectionContext context, MessageReference messageReference)voidBaseDestination. messageDelivered(ConnectionContext context, MessageReference messageReference)Called when message is delivered to the brokervoidDestination. messageDelivered(ConnectionContext context, MessageReference messageReference)Called when message is delivered to the brokervoidDestinationFilter. messageDelivered(ConnectionContext context, MessageReference messageReference)voidBaseDestination. messageDiscarded(ConnectionContext context, Subscription sub, MessageReference messageReference)Called when a message is discarded - e.g.voidDestination. messageDiscarded(ConnectionContext context, Subscription sub, MessageReference messageReference)Called when a message is discarded - e.g.voidDestinationFilter. messageDiscarded(ConnectionContext context, Subscription sub, MessageReference messageReference)voidDestination. messageExpired(ConnectionContext context, Subscription subs, MessageReference node)Inform the Destination a message has expiredvoidDestinationFilter. messageExpired(ConnectionContext context, PrefetchSubscription prefetchSubscription, MessageReference node)voidDestinationFilter. messageExpired(ConnectionContext context, Subscription subs, MessageReference node)voidQueue. messageExpired(ConnectionContext context, MessageReference reference)voidQueue. messageExpired(ConnectionContext context, Subscription subs, MessageReference reference)voidRegionBroker. messageExpired(ConnectionContext context, MessageReference node, Subscription subscription)voidTopic. messageExpired(ConnectionContext context, Subscription subs, MessageReference reference)ResponseAbstractRegion. messagePull(ConnectionContext context, MessagePull pull)ResponseRegion. messagePull(ConnectionContext context, MessagePull pull)Allows a consumer to pull a message from a queueResponseRegionBroker. messagePull(ConnectionContext context, MessagePull pull)intQueue. moveMatchingMessagesTo(ConnectionContext context, String selector, ActiveMQDestination dest)Moves the messages matching the given selectorintQueue. moveMatchingMessagesTo(ConnectionContext context, String selector, ActiveMQDestination dest, int maximumMessages)Moves the messages matching the given selector up to the maximum number of matched messagesintQueue. moveMatchingMessagesTo(ConnectionContext context, MessageReferenceFilter filter, ActiveMQDestination dest, int maximumMessages)Moves the messages matching the given filter up to the maximum number of matched messagesbooleanQueue. moveMessageTo(ConnectionContext context, String messageId, ActiveMQDestination dest)Moves the message matching the given messageIdbooleanQueue. moveMessageTo(ConnectionContext context, QueueMessageReference m, ActiveMQDestination dest)Move a messageprotected voidBaseDestination. onMessageWithNoConsumers(ConnectionContext context, Message msg)Provides a hook to allow messages with no consumer to be processed in some way - such as to send to a dead letter queue or something..intRegionBroker. prepareTransaction(ConnectionContext context, TransactionId xid)ResponsePrefetchSubscription. pullMessage(ConnectionContext context, MessagePull pull)Allows a message to be pulled on demand by a clientResponseSubscription. pullMessage(ConnectionContext context, MessagePull pull)Allows a consumer to pull a message on demandResponseTopicSubscription. pullMessage(ConnectionContext context, MessagePull pull)voidTopic. recoverRetroactiveMessages(ConnectionContext context, Subscription subscription)List<MessageReference>AbstractSubscription. remove(ConnectionContext context, Destination destination)List<MessageReference>PrefetchSubscription. remove(ConnectionContext context, Destination destination)List<MessageReference>PrefetchSubscription. remove(ConnectionContext context, Destination destination, List<MessageReference> dispatched)List<MessageReference>QueueBrowserSubscription. remove(ConnectionContext context, Destination destination)List<MessageReference>Subscription. remove(ConnectionContext context, Destination destination)The subscription will be no longer be receiving messages from the destination.voidRegionBroker. removeConnection(ConnectionContext context, ConnectionInfo info, Throwable error)voidAbstractRegion. removeConsumer(ConnectionContext context, ConsumerInfo info)voidRegion. removeConsumer(ConnectionContext context, ConsumerInfo info)Removes a consumer.voidRegionBroker. removeConsumer(ConnectionContext context, ConsumerInfo info)voidTopicRegion. removeConsumer(ConnectionContext context, ConsumerInfo info)voidAbstractRegion. removeDestination(ConnectionContext context, ActiveMQDestination destination, long timeout)voidRegion. removeDestination(ConnectionContext context, ActiveMQDestination destination, long timeout)Used to destroy a destination.voidRegionBroker. removeDestination(ConnectionContext context, ActiveMQDestination destination, long timeout)voidTempQueueRegion. removeDestination(ConnectionContext context, ActiveMQDestination destination, long timeout)voidTempTopicRegion. removeDestination(ConnectionContext context, ActiveMQDestination destination, long timeout)voidRegionBroker. removeDestinationInfo(ConnectionContext context, DestinationInfo info)protected voidQueue. removeMessage(ConnectionContext c, QueueMessageReference r)protected voidQueue. removeMessage(ConnectionContext c, Subscription subs, QueueMessageReference r)protected voidQueue. removeMessage(ConnectionContext context, Subscription sub, QueueMessageReference reference, MessageAck ack)voidAbstractRegion. removeProducer(ConnectionContext context, ProducerInfo info)Removes a Producer.voidBaseDestination. removeProducer(ConnectionContext context, ProducerInfo info)voidDestination. removeProducer(ConnectionContext context, ProducerInfo info)voidDestinationFilter. removeProducer(ConnectionContext context, ProducerInfo info)voidRegion. removeProducer(ConnectionContext context, ProducerInfo info)Removes a Producer.voidRegionBroker. removeProducer(ConnectionContext context, ProducerInfo info)voidAbstractRegion. removeSubscription(ConnectionContext context, RemoveSubscriptionInfo info)voidBaseDestination. removeSubscription(ConnectionContext context, Subscription sub, long lastDeliveredSequenceId)voidDestination. removeSubscription(ConnectionContext context, Subscription sub, long lastDeliveredSequenceId)voidDestinationFilter. removeSubscription(ConnectionContext context, Subscription sub, long lastDeliveredSequenceId)voidQueue. removeSubscription(ConnectionContext context, Subscription sub, long lastDeliveredSequenceId)voidRegion. removeSubscription(ConnectionContext context, RemoveSubscriptionInfo info)Deletes a durable subscription.voidRegionBroker. removeSubscription(ConnectionContext context, RemoveSubscriptionInfo info)voidTopic. removeSubscription(ConnectionContext context, Subscription sub, long lastDeliveredSequenceId)voidTopicRegion. removeSubscription(ConnectionContext context, RemoveSubscriptionInfo info)intQueue. retryMessages(ConnectionContext context, int maximumMessages)voidRegionBroker. rollbackTransaction(ConnectionContext context, TransactionId xid)booleanRegionBroker. sendToDeadLetterQueue(ConnectionContext context, MessageReference node, Subscription subscription, Throwable poisonCause)protected voidPrefetchSubscription. sendToDLQ(ConnectionContext context, MessageReference node, Throwable poisonCause)voidRegionBroker. setAdminConnectionContext(ConnectionContext adminConnectionContext)voidBaseDestination. slowConsumer(ConnectionContext context, Subscription subs)Called when there is a slow consumervoidDestination. slowConsumer(ConnectionContext context, Subscription subs)Called when there is a slow consumervoidDestinationFilter. slowConsumer(ConnectionContext context, Subscription subs)protected voidBaseDestination. waitForSpace(ConnectionContext context, ProducerBrokerExchange producerBrokerExchange, Usage<?> usage, int highWaterMark, String warning)protected voidBaseDestination. waitForSpace(ConnectionContext context, ProducerBrokerExchange producerBrokerExchange, Usage<?> usage, String warning)Constructors in org.apache.activemq.broker.region with parameters of type ConnectionContext Constructor Description AbstractSubscription(Broker broker, ConnectionContext context, ConsumerInfo info)DurableTopicSubscription(Broker broker, SystemUsage usageManager, ConnectionContext context, ConsumerInfo info, boolean keepDurableSubsActive)PrefetchSubscription(Broker broker, SystemUsage usageManager, ConnectionContext context, ConsumerInfo info)PrefetchSubscription(Broker broker, SystemUsage usageManager, ConnectionContext context, ConsumerInfo info, PendingMessageCursor cursor)QueueBrowserSubscription(Broker broker, SystemUsage usageManager, ConnectionContext context, ConsumerInfo info)QueueSubscription(Broker broker, SystemUsage usageManager, ConnectionContext context, ConsumerInfo info)TopicSubscription(Broker broker, ConnectionContext context, ConsumerInfo info, SystemUsage usageManager) -
Uses of ConnectionContext in org.apache.activemq.broker.region.cursors
Methods in org.apache.activemq.broker.region.cursors with parameters of type ConnectionContext Modifier and Type Method Description voidAbstractPendingMessageCursor. add(ConnectionContext context, Destination destination)voidPendingMessageCursor. add(ConnectionContext context, Destination destination)Add a destinationvoidStoreDurableSubscriberCursor. add(ConnectionContext context, Destination destination)Add a destinationList<MessageReference>AbstractPendingMessageCursor. remove(ConnectionContext context, Destination destination)List<MessageReference>PendingMessageCursor. remove(ConnectionContext context, Destination destination)remove a destinationList<MessageReference>StoreDurableSubscriberCursor. remove(ConnectionContext context, Destination destination)remove a destinationList<MessageReference>VMPendingMessageCursor. remove(ConnectionContext context, Destination destination) -
Uses of ConnectionContext in org.apache.activemq.broker.region.policy
Methods in org.apache.activemq.broker.region.policy with parameters of type ConnectionContext Modifier and Type Method Description booleanFixedCountSubscriptionRecoveryPolicy. add(ConnectionContext context, MessageReference node)booleanFixedSizedSubscriptionRecoveryPolicy. add(ConnectionContext context, MessageReference message)booleanLastImageSubscriptionRecoveryPolicy. add(ConnectionContext context, MessageReference node)booleanNoSubscriptionRecoveryPolicy. add(ConnectionContext context, MessageReference node)booleanQueryBasedSubscriptionRecoveryPolicy. add(ConnectionContext context, MessageReference message)booleanRetainedMessageSubscriptionRecoveryPolicy. add(ConnectionContext context, MessageReference node)booleanSubscriptionRecoveryPolicy. add(ConnectionContext context, MessageReference message)A message was sent to the destination.booleanTimedSubscriptionRecoveryPolicy. add(ConnectionContext context, MessageReference message)protected voidQueryBasedSubscriptionRecoveryPolicy. dispatchInitialMessage(Message message, Destination regionDestination, ConnectionContext context, SubscriptionRecovery sub)voidFixedCountSubscriptionRecoveryPolicy. recover(ConnectionContext context, Topic topic, SubscriptionRecovery sub)voidFixedSizedSubscriptionRecoveryPolicy. recover(ConnectionContext context, Topic topic, SubscriptionRecovery sub)voidLastImageSubscriptionRecoveryPolicy. recover(ConnectionContext context, Topic topic, SubscriptionRecovery sub)voidNoSubscriptionRecoveryPolicy. recover(ConnectionContext context, Topic topic, SubscriptionRecovery sub)voidQueryBasedSubscriptionRecoveryPolicy. recover(ConnectionContext context, Topic topic, SubscriptionRecovery sub)voidRetainedMessageSubscriptionRecoveryPolicy. recover(ConnectionContext context, Topic topic, SubscriptionRecovery sub)voidSubscriptionRecoveryPolicy. recover(ConnectionContext context, Topic topic, SubscriptionRecovery sub)Let a subscription recover message held by the policy.voidTimedSubscriptionRecoveryPolicy. recover(ConnectionContext context, Topic topic, SubscriptionRecovery sub)voidAbortSlowAckConsumerStrategy. slowConsumer(ConnectionContext context, Subscription subs)voidAbortSlowConsumerStrategy. slowConsumer(ConnectionContext context, Subscription subs)voidSlowConsumerStrategy. slowConsumer(ConnectionContext context, Subscription subs)Slow consumer event. -
Uses of ConnectionContext in org.apache.activemq.broker.region.virtual
Methods in org.apache.activemq.broker.region.virtual with parameters of type ConnectionContext Modifier and Type Method Description voidMappedQueueFilter. addSubscription(ConnectionContext context, Subscription sub)voidCompositeDestination. create(Broker broker, ConnectionContext context, ActiveMQDestination destination)voidMirroredQueue. create(Broker broker, ConnectionContext context, ActiveMQDestination destination)voidVirtualDestinationInterceptor. create(Broker broker, ConnectionContext context, ActiveMQDestination destination)voidVirtualTopic. create(Broker broker, ConnectionContext context, ActiveMQDestination destination)voidMappedQueueFilter. deleteSubscription(ConnectionContext context, SubscriptionKey key)voidMappedQueueFilter. removeSubscription(ConnectionContext context, Subscription sub, long lastDeliveredSequenceId) -
Uses of ConnectionContext in org.apache.activemq.broker.scheduler
Methods in org.apache.activemq.broker.scheduler with parameters of type ConnectionContext Modifier and Type Method Description protected voidSchedulerBroker. sendScheduledJob(ConnectionContext context, Job job, ActiveMQDestination replyTo) -
Uses of ConnectionContext in org.apache.activemq.broker.util
Methods in org.apache.activemq.broker.util with parameters of type ConnectionContext Modifier and Type Method Description voidLoggingBrokerPlugin. addConnection(ConnectionContext context, ConnectionInfo info)voidUDPTraceBrokerPlugin. addConnection(ConnectionContext context, ConnectionInfo info)SubscriptionDestinationPathSeparatorBroker. addConsumer(ConnectionContext context, ConsumerInfo info)SubscriptionLoggingBrokerPlugin. addConsumer(ConnectionContext context, ConsumerInfo info)SubscriptionUDPTraceBrokerPlugin. addConsumer(ConnectionContext context, ConsumerInfo info)DestinationDestinationPathSeparatorBroker. addDestination(ConnectionContext context, ActiveMQDestination destination, boolean createIfTemporary)DestinationDestinationsPlugin. addDestination(ConnectionContext context, ActiveMQDestination destination, boolean createIfTemporary)DestinationLoggingBrokerPlugin. addDestination(ConnectionContext context, ActiveMQDestination destination, boolean create)voidDestinationPathSeparatorBroker. addDestinationInfo(ConnectionContext context, DestinationInfo info)voidLoggingBrokerPlugin. addDestinationInfo(ConnectionContext context, DestinationInfo info)voidUDPTraceBrokerPlugin. addDestinationInfo(ConnectionContext context, DestinationInfo info)voidDestinationPathSeparatorBroker. addProducer(ConnectionContext context, ProducerInfo info)voidLoggingBrokerPlugin. addProducer(ConnectionContext context, ProducerInfo info)voidUDPTraceBrokerPlugin. addProducer(ConnectionContext context, ProducerInfo info)voidLoggingBrokerPlugin. addSession(ConnectionContext context, SessionInfo info)voidUDPTraceBrokerPlugin. addSession(ConnectionContext context, SessionInfo info)voidLoggingBrokerPlugin. beginTransaction(ConnectionContext context, TransactionId xid)voidUDPTraceBrokerPlugin. beginTransaction(ConnectionContext context, TransactionId xid)voidLoggingBrokerPlugin. commitTransaction(ConnectionContext context, TransactionId xid, boolean onePhase)voidUDPTraceBrokerPlugin. commitTransaction(ConnectionContext context, TransactionId xid, boolean onePhase)voidLoggingBrokerPlugin. fastProducer(ConnectionContext context, ProducerInfo producerInfo, ActiveMQDestination destination)voidLoggingBrokerPlugin. forgetTransaction(ConnectionContext context, TransactionId transactionId)voidUDPTraceBrokerPlugin. forgetTransaction(ConnectionContext context, TransactionId xid)TransactionId[]LoggingBrokerPlugin. getPreparedTransactions(ConnectionContext context)voidLoggingBrokerPlugin. isFull(ConnectionContext context, Destination destination, Usage<?> usage)voidLoggingBrokerPlugin. messageConsumed(ConnectionContext context, MessageReference messageReference)voidLoggingBrokerPlugin. messageDelivered(ConnectionContext context, MessageReference messageReference)voidLoggingBrokerPlugin. messageDiscarded(ConnectionContext context, Subscription sub, MessageReference messageReference)voidLoggingBrokerPlugin. messageExpired(ConnectionContext context, MessageReference message, Subscription subscription)ResponseDestinationPathSeparatorBroker. messagePull(ConnectionContext context, MessagePull pull)ResponseLoggingBrokerPlugin. messagePull(ConnectionContext context, MessagePull pull)ResponseUDPTraceBrokerPlugin. messagePull(ConnectionContext context, MessagePull pull)intLoggingBrokerPlugin. prepareTransaction(ConnectionContext context, TransactionId xid)intUDPTraceBrokerPlugin. prepareTransaction(ConnectionContext context, TransactionId xid)voidLoggingBrokerPlugin. removeConnection(ConnectionContext context, ConnectionInfo info, Throwable error)voidUDPTraceBrokerPlugin. removeConnection(ConnectionContext context, ConnectionInfo info, Throwable error)voidDestinationPathSeparatorBroker. removeConsumer(ConnectionContext context, ConsumerInfo info)voidLoggingBrokerPlugin. removeConsumer(ConnectionContext context, ConsumerInfo info)voidUDPTraceBrokerPlugin. removeConsumer(ConnectionContext context, ConsumerInfo info)voidDestinationPathSeparatorBroker. removeDestination(ConnectionContext context, ActiveMQDestination destination, long timeout)voidDestinationsPlugin. removeDestination(ConnectionContext context, ActiveMQDestination destination, long timeout)voidLoggingBrokerPlugin. removeDestination(ConnectionContext context, ActiveMQDestination destination, long timeout)voidUDPTraceBrokerPlugin. removeDestination(ConnectionContext context, ActiveMQDestination destination, long timeout)voidDestinationPathSeparatorBroker. removeDestinationInfo(ConnectionContext context, DestinationInfo info)voidLoggingBrokerPlugin. removeDestinationInfo(ConnectionContext context, DestinationInfo info)voidUDPTraceBrokerPlugin. removeDestinationInfo(ConnectionContext context, DestinationInfo info)voidDestinationPathSeparatorBroker. removeProducer(ConnectionContext context, ProducerInfo info)voidLoggingBrokerPlugin. removeProducer(ConnectionContext context, ProducerInfo info)voidUDPTraceBrokerPlugin. removeProducer(ConnectionContext context, ProducerInfo info)voidLoggingBrokerPlugin. removeSession(ConnectionContext context, SessionInfo info)voidUDPTraceBrokerPlugin. removeSession(ConnectionContext context, SessionInfo info)voidLoggingBrokerPlugin. removeSubscription(ConnectionContext context, RemoveSubscriptionInfo info)voidUDPTraceBrokerPlugin. removeSubscription(ConnectionContext context, RemoveSubscriptionInfo info)voidLoggingBrokerPlugin. rollbackTransaction(ConnectionContext context, TransactionId xid)voidUDPTraceBrokerPlugin. rollbackTransaction(ConnectionContext context, TransactionId xid)booleanLoggingBrokerPlugin. sendToDeadLetterQueue(ConnectionContext context, MessageReference messageReference, Subscription subscription, Throwable poisonCause)booleanRedeliveryPlugin. sendToDeadLetterQueue(ConnectionContext context, MessageReference messageReference, Subscription subscription, Throwable poisonCause)voidLoggingBrokerPlugin. slowConsumer(ConnectionContext context, Destination destination, Subscription subs) -
Uses of ConnectionContext in org.apache.activemq.broker.view
Methods in org.apache.activemq.broker.view with parameters of type ConnectionContext Modifier and Type Method Description SubscriptionConnectionDotFileInterceptor. addConsumer(ConnectionContext context, ConsumerInfo info)DestinationDestinationDotFileInterceptor. addDestination(ConnectionContext context, ActiveMQDestination destination, boolean create)voidConnectionDotFileInterceptor. addProducer(ConnectionContext context, ProducerInfo info)voidConnectionDotFileInterceptor. removeConsumer(ConnectionContext context, ConsumerInfo info)voidDestinationDotFileInterceptor. removeDestination(ConnectionContext context, ActiveMQDestination destination, long timeout)voidConnectionDotFileInterceptor. removeProducer(ConnectionContext context, ProducerInfo info) -
Uses of ConnectionContext in org.apache.activemq.partition
Methods in org.apache.activemq.partition with parameters of type ConnectionContext Modifier and Type Method Description voidPartitionBroker. addConnection(ConnectionContext context, ConnectionInfo info)voidPartitionBroker. removeConnection(ConnectionContext context, ConnectionInfo info, Throwable error) -
Uses of ConnectionContext in org.apache.activemq.plugin
Methods in org.apache.activemq.plugin with parameters of type ConnectionContext Modifier and Type Method Description voidAbstractRuntimeConfigurationBroker. addConnection(ConnectionContext context, ConnectionInfo info)SubscriptionSubQueueSelectorCacheBroker. addConsumer(ConnectionContext context, ConsumerInfo info)DestinationAbstractRuntimeConfigurationBroker. addDestination(ConnectionContext context, ActiveMQDestination destination, boolean createIfTemporary)voidSubQueueSelectorCacheBroker. removeConsumer(ConnectionContext context, ConsumerInfo info)protected voidStatisticsBroker. sendStats(ConnectionContext context, ActiveMQMapMessage msg, ActiveMQDestination replyTo)protected voidStatisticsBroker. sendSubStats(ConnectionContext context, ObjectName[] subscribers, ActiveMQDestination replyTo)booleanDiscardingDLQBroker. sendToDeadLetterQueue(ConnectionContext ctx, MessageReference msgRef, Subscription subscription, Throwable poisonCause) -
Uses of ConnectionContext in org.apache.activemq.security
Methods in org.apache.activemq.security with parameters of type ConnectionContext Modifier and Type Method Description voidJaasAuthenticationBroker. addConnection(ConnectionContext context, ConnectionInfo info)voidJaasCertificateAuthenticationBroker. addConnection(ConnectionContext context, ConnectionInfo info)Overridden to allow for authentication based on client certificates.voidJaasDualAuthenticationBroker. addConnection(ConnectionContext context, ConnectionInfo info)Overridden to allow for authentication using different Jaas configurations depending on if the connection is SSL or not.voidSimpleAuthenticationBroker. addConnection(ConnectionContext context, ConnectionInfo info)SubscriptionAuthorizationBroker. addConsumer(ConnectionContext context, ConsumerInfo info)DestinationAuthorizationBroker. addDestination(ConnectionContext context, ActiveMQDestination destination, boolean create)voidAuthorizationBroker. addDestinationInfo(ConnectionContext context, DestinationInfo info)voidAuthorizationBroker. addProducer(ConnectionContext context, ProducerInfo info)voidAuthorizationDestinationFilter. addSubscription(ConnectionContext context, Subscription sub)protected SecurityContextAuthorizationBroker. checkSecurityContext(ConnectionContext context)voidAuthorizationDestinationInterceptor. create(Broker broker, ConnectionContext context, ActiveMQDestination destination)booleanMessageAuthorizationPolicy. isAllowedToConsume(ConnectionContext context, Message message)Returns true if the given message is able to be dispatched to the connection performing any uservoidAbstractAuthenticationBroker. removeConnection(ConnectionContext context, ConnectionInfo info, Throwable error)voidJaasCertificateAuthenticationBroker. removeConnection(ConnectionContext context, ConnectionInfo info, Throwable error)Overriding removeConnection to make sure the security context is cleaned.voidJaasDualAuthenticationBroker. removeConnection(ConnectionContext context, ConnectionInfo info, Throwable error)Overriding removeConnection to make sure the security context is cleaned.voidAbstractAuthenticationBroker. removeDestination(ConnectionContext context, ActiveMQDestination destination, long timeout)voidAuthorizationBroker. removeDestination(ConnectionContext context, ActiveMQDestination destination, long timeout)voidJaasDualAuthenticationBroker. removeDestination(ConnectionContext context, ActiveMQDestination destination, long timeout)voidAuthorizationBroker. removeDestinationInfo(ConnectionContext context, DestinationInfo info) -
Uses of ConnectionContext in org.apache.activemq.shiro
Methods in org.apache.activemq.shiro that return ConnectionContext Modifier and Type Method Description ConnectionContextConnectionReference. getConnectionContext()Constructors in org.apache.activemq.shiro with parameters of type ConnectionContext Constructor Description ConnectionReference(ConnectionContext connCtx, ConnectionInfo connInfo, org.apache.shiro.env.Environment environment) -
Uses of ConnectionContext in org.apache.activemq.shiro.authc
Methods in org.apache.activemq.shiro.authc with parameters of type ConnectionContext Modifier and Type Method Description voidAuthenticationFilter. addConnection(ConnectionContext context, ConnectionInfo info)voidAuthenticationFilter. removeConnection(ConnectionContext context, ConnectionInfo info, Throwable error) -
Uses of ConnectionContext in org.apache.activemq.shiro.authz
Methods in org.apache.activemq.shiro.authz that return ConnectionContext Modifier and Type Method Description ConnectionContextDestinationAction. getConnectionContext()Methods in org.apache.activemq.shiro.authz with parameters of type ConnectionContext Modifier and Type Method Description SubscriptionAuthorizationFilter. addConsumer(ConnectionContext context, ConsumerInfo info)DestinationAuthorizationFilter. addDestination(ConnectionContext context, ActiveMQDestination destination, boolean create)voidAuthorizationFilter. addDestinationInfo(ConnectionContext context, DestinationInfo info)voidAuthorizationFilter. addProducer(ConnectionContext context, ProducerInfo info)protected org.apache.shiro.subject.SubjectAuthorizationFilter. getSubject(ConnectionContext ctx)Returns theSubjectassociated with the specified connection using aConnectionSubjectResolver.voidAuthorizationFilter. removeDestination(ConnectionContext context, ActiveMQDestination destination, long timeout)voidAuthorizationFilter. removeDestinationInfo(ConnectionContext context, DestinationInfo info)Constructors in org.apache.activemq.shiro.authz with parameters of type ConnectionContext Constructor Description DestinationAction(ConnectionContext connectionContext, ActiveMQDestination destination, String verb) -
Uses of ConnectionContext in org.apache.activemq.shiro.subject
Methods in org.apache.activemq.shiro.subject with parameters of type ConnectionContext Modifier and Type Method Description voidSubjectFilter. addConnection(ConnectionContext context, ConnectionInfo info)Creates aSubjectinstance reflecting the specified Connection.voidSubjectFilter. removeConnection(ConnectionContext context, ConnectionInfo info, Throwable error)Constructors in org.apache.activemq.shiro.subject with parameters of type ConnectionContext Constructor Description ConnectionSubjectResolver(ConnectionContext connCtx)SubjectConnectionReference(ConnectionContext connCtx, ConnectionInfo connInfo, org.apache.shiro.env.Environment environment, org.apache.shiro.subject.Subject subject) -
Uses of ConnectionContext in org.apache.activemq.store
Fields in org.apache.activemq.store declared as ConnectionContext Modifier and Type Field Description ConnectionContextIndexListener.MessageContext. contextMethods in org.apache.activemq.store with parameters of type ConnectionContext Modifier and Type Method Description voidProxyTopicMessageStore. acknowledge(ConnectionContext context, String clientId, String subscriptionName, MessageId messageId, MessageAck ack)voidTopicMessageStore. acknowledge(ConnectionContext context, String clientId, String subscriptionName, MessageId messageId, MessageAck ack)Stores the last acknowledged messgeID for the given subscription so that we can recover and commence dispatching messages from the last checkpointbooleanTopicReferenceStore. acknowledgeReference(ConnectionContext context, String clientId, String subscriptionName, MessageId messageId)Removes the last acknowledged messgeID for the given subscription so that we can recover and commence dispatching messages from the last checkpoint N.B.voidAbstractMessageStore. addMessage(ConnectionContext context, Message message, boolean canOptimizeHint)voidMessageStore. addMessage(ConnectionContext context, Message message)Adds a message to the message storevoidMessageStore. addMessage(ConnectionContext context, Message message, boolean canOptimizeHint)Adds a message to the message storevoidProxyMessageStore. addMessage(ConnectionContext context, Message message)voidProxyMessageStore. addMessage(ConnectionContext context, Message message, boolean canOptimizeHint)voidProxyTopicMessageStore. addMessage(ConnectionContext context, Message message)voidProxyTopicMessageStore. addMessage(ConnectionContext context, Message message, boolean canOptimizeHint)booleanReferenceStore. addMessageReference(ConnectionContext context, MessageId messageId, ReferenceStore.ReferenceData data)Adds a message reference to the message storeListenableFuture<Object>AbstractMessageStore. asyncAddQueueMessage(ConnectionContext context, Message message)ListenableFuture<Object>AbstractMessageStore. asyncAddQueueMessage(ConnectionContext context, Message message, boolean canOptimizeHint)ListenableFuture<Object>MessageStore. asyncAddQueueMessage(ConnectionContext context, Message message)Adds a message to the message storeListenableFuture<Object>MessageStore. asyncAddQueueMessage(ConnectionContext context, Message message, boolean canOptimizeHint)Adds a message to the message storeListenableFuture<Object>ProxyMessageStore. asyncAddQueueMessage(ConnectionContext context, Message message)ListenableFuture<Object>ProxyMessageStore. asyncAddQueueMessage(ConnectionContext context, Message message, boolean canOptimizeHint)ListenableFuture<Object>ProxyTopicMessageStore. asyncAddQueueMessage(ConnectionContext context, Message message)ListenableFuture<Object>ProxyTopicMessageStore. asyncAddQueueMessage(ConnectionContext context, Message message, boolean canOptimizeHint)ListenableFuture<Object>AbstractMessageStore. asyncAddTopicMessage(ConnectionContext context, Message message)ListenableFuture<Object>AbstractMessageStore. asyncAddTopicMessage(ConnectionContext context, Message message, boolean canOptimizeHint)ListenableFuture<Object>MessageStore. asyncAddTopicMessage(ConnectionContext context, Message message)Adds a message to the message storeListenableFuture<Object>MessageStore. asyncAddTopicMessage(ConnectionContext context, Message message, boolean canOptimizeHint)Adds a message to the message storeListenableFuture<Object>ProxyMessageStore. asyncAddTopicMessage(ConnectionContext context, Message message)ListenableFuture<Object>ProxyMessageStore. asyncAddTopicMessage(ConnectionContext context, Message message, boolean canOptimizeHint)ListenableFuture<Object>ProxyTopicMessageStore. asyncAddTopicMessage(ConnectionContext context, Message message)ListenableFuture<Object>ProxyTopicMessageStore. asyncAddTopicMessage(ConnectionContext context, Message message, boolean canOptimizeHint)voidPersistenceAdapter. beginTransaction(ConnectionContext context)This method starts a transaction on the persistent storage - which is nothing to do with JMS or XA transactions - its purely a mechanism to perform multiple writes to a persistent store in 1 transaction as a performance optimization.voidPersistenceAdapter. commitTransaction(ConnectionContext context)Commit a persistence transactionvoidAbstractMessageStore. dispose(ConnectionContext context)voidMessageStore. dispose(ConnectionContext context)voidProxyMessageStore. dispose(ConnectionContext context)voidProxyTopicMessageStore. dispose(ConnectionContext context)voidMessageStore. removeAllMessages(ConnectionContext context)Removes all the messages from the message store.voidProxyMessageStore. removeAllMessages(ConnectionContext context)voidProxyTopicMessageStore. removeAllMessages(ConnectionContext context)voidAbstractMessageStore. removeAsyncMessage(ConnectionContext context, MessageAck ack)voidMessageStore. removeAsyncMessage(ConnectionContext context, MessageAck ack)voidProxyMessageStore. removeAsyncMessage(ConnectionContext context, MessageAck ack)voidProxyTopicMessageStore. removeAsyncMessage(ConnectionContext context, MessageAck ack)voidMessageStore. removeMessage(ConnectionContext context, MessageAck ack)Removes a message from the message store.voidProxyMessageStore. removeMessage(ConnectionContext context, MessageAck ack)voidProxyTopicMessageStore. removeMessage(ConnectionContext context, MessageAck ack)voidPersistenceAdapter. rollbackTransaction(ConnectionContext context)Rollback a persistence transactionConstructors in org.apache.activemq.store with parameters of type ConnectionContext Constructor Description MessageContext(ConnectionContext context, Message message, Runnable onCompletion) -
Uses of ConnectionContext in org.apache.activemq.store.jdbc
Methods in org.apache.activemq.store.jdbc with parameters of type ConnectionContext Modifier and Type Method Description voidJDBCTopicMessageStore. acknowledge(ConnectionContext context, String clientId, String subscriptionName, MessageId messageId, MessageAck ack)voidJDBCMessageStore. addMessage(ConnectionContext context, Message message)voidJDBCMessageStore. addMessageReference(ConnectionContext context, MessageId messageId, long expirationTime, String messageRef)voidJDBCPersistenceAdapter. beginTransaction(ConnectionContext context)voidJDBCPersistenceAdapter. commitAdd(ConnectionContext context, MessageId messageId, long preparedSequenceId, long newSequence)voidJDBCPersistenceAdapter. commitLastAck(ConnectionContext context, long xidLastAck, long priority, ActiveMQDestination destination, String subName, String clientId)voidJDBCPersistenceAdapter. commitRemove(ConnectionContext context, MessageAck ack)voidJDBCPersistenceAdapter. commitTransaction(ConnectionContext context)TransactionContextJDBCPersistenceAdapter. getTransactionContext(ConnectionContext context)voidJDBCMessageStore. removeAllMessages(ConnectionContext context)voidJDBCMessageStore. removeMessage(ConnectionContext context, MessageAck ack)voidJDBCPersistenceAdapter. rollbackLastAck(ConnectionContext context, byte priority, ActiveMQDestination destination, String subName, String clientId)voidJDBCPersistenceAdapter. rollbackLastAck(ConnectionContext context, JDBCTopicMessageStore store, MessageAck ack, String subName, String clientId)voidJDBCPersistenceAdapter. rollbackTransaction(ConnectionContext context) -
Uses of ConnectionContext in org.apache.activemq.store.journal
Methods in org.apache.activemq.store.journal with parameters of type ConnectionContext Modifier and Type Method Description voidJournalTopicMessageStore. acknowledge(ConnectionContext context, String clientId, String subscriptionName, MessageId messageId, MessageAck originalAck)voidJournalMessageStore. addMessage(ConnectionContext context, Message message)Not synchronized since the Journal has better throughput if you increase the number of concurrent writes that it is doing.voidJournalTopicMessageStore. addMessage(ConnectionContext context, Message message)voidJournalMessageStore. addMessageReference(ConnectionContext context, MessageId messageId, long expirationTime, String messageRef)voidJournalPersistenceAdapter. beginTransaction(ConnectionContext context)voidJournalPersistenceAdapter. commitTransaction(ConnectionContext context)voidJournalMessageStore. removeAllMessages(ConnectionContext context)voidJournalMessageStore. removeMessage(ConnectionContext context, MessageAck ack)voidJournalTopicMessageStore. replayAcknowledge(ConnectionContext context, String clientId, String subscritionName, MessageId messageId)voidJournalMessageStore. replayAddMessage(ConnectionContext context, Message message)voidJournalMessageStore. replayRemoveMessage(ConnectionContext context, MessageAck messageAck)voidJournalPersistenceAdapter. rollbackTransaction(ConnectionContext context) -
Uses of ConnectionContext in org.apache.activemq.store.kahadb
Methods in org.apache.activemq.store.kahadb with parameters of type ConnectionContext Modifier and Type Method Description voidKahaDBStore.KahaDBMessageStore. addMessage(ConnectionContext context, Message message)voidTempKahaDBStore.KahaDBMessageStore. addMessage(ConnectionContext context, Message message)ListenableFuture<Object>KahaDBStore.KahaDBMessageStore. asyncAddQueueMessage(ConnectionContext context, Message message)voidKahaDBPersistenceAdapter. beginTransaction(ConnectionContext context)voidKahaDBStore. beginTransaction(ConnectionContext context)voidMultiKahaDBPersistenceAdapter. beginTransaction(ConnectionContext context)voidTempKahaDBStore. beginTransaction(ConnectionContext context)voidKahaDBPersistenceAdapter. commitTransaction(ConnectionContext context)voidKahaDBStore. commitTransaction(ConnectionContext context)voidMultiKahaDBPersistenceAdapter. commitTransaction(ConnectionContext context)voidTempKahaDBStore. commitTransaction(ConnectionContext context)voidKahaDBStore.KahaDBMessageStore. removeAllMessages(ConnectionContext context)voidTempKahaDBStore.KahaDBMessageStore. removeAllMessages(ConnectionContext context)voidKahaDBStore.KahaDBMessageStore. removeAsyncMessage(ConnectionContext context, MessageAck ack)voidKahaDBStore.KahaDBMessageStore. removeMessage(ConnectionContext context, MessageAck ack)voidTempKahaDBStore.KahaDBMessageStore. removeMessage(ConnectionContext context, MessageAck ack)voidKahaDBPersistenceAdapter. rollbackTransaction(ConnectionContext context)voidKahaDBStore. rollbackTransaction(ConnectionContext context)voidMultiKahaDBPersistenceAdapter. rollbackTransaction(ConnectionContext context)voidTempKahaDBStore. rollbackTransaction(ConnectionContext context) -
Uses of ConnectionContext in org.apache.activemq.store.memory
Methods in org.apache.activemq.store.memory with parameters of type ConnectionContext Modifier and Type Method Description voidMemoryTopicMessageStore. acknowledge(ConnectionContext context, String clientId, String subscriptionName, MessageId messageId, MessageAck ack)voidMemoryMessageStore. addMessage(ConnectionContext context, Message message)voidMemoryTopicMessageStore. addMessage(ConnectionContext context, Message message)voidMemoryPersistenceAdapter. beginTransaction(ConnectionContext context)voidMemoryPersistenceAdapter. commitTransaction(ConnectionContext context)voidMemoryMessageStore. removeAllMessages(ConnectionContext context)voidMemoryMessageStore. removeMessage(ConnectionContext context, MessageAck ack)voidMemoryPersistenceAdapter. rollbackTransaction(ConnectionContext context)voidMemoryTransactionStore.AddMessageCommand. run(ConnectionContext context)voidMemoryTransactionStore.RemoveMessageCommand. run(ConnectionContext context) -
Uses of ConnectionContext in org.apache.activemq.transaction
Constructors in org.apache.activemq.transaction with parameters of type ConnectionContext Constructor Description LocalTransaction(TransactionStore transactionStore, LocalTransactionId xid, ConnectionContext context) -
Uses of ConnectionContext in org.apache.activemq.util
Methods in org.apache.activemq.util that return ConnectionContext Modifier and Type Method Description protected 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 startupConnectionContextTransactionTemplate. getContext()Methods in org.apache.activemq.util with parameters of type ConnectionContext Modifier and Type Method Description static voidBrokerSupport. doResend(ConnectionContext context, Message originalMessage, ActiveMQDestination deadLetterDestination, boolean copy)static voidBrokerSupport. resend(ConnectionContext context, Message originalMessage, ActiveMQDestination deadLetterDestination)static voidBrokerSupport. resendNoCopy(ConnectionContext context, Message originalMessage, ActiveMQDestination deadLetterDestination)Constructors in org.apache.activemq.util with parameters of type ConnectionContext Constructor Description TransactionTemplate(PersistenceAdapter persistenceAdapter, ConnectionContext context)
-