Package org.apache.activemq.broker.region.policy
package org.apache.activemq.broker.region.policy
The policies which can be associated with a particular destination or wildcard.
-
ClassDescriptionAbort slow consumers when they reach the configured threshold of slowness, default is that a consumer that has not Ack'd a message for 30 seconds is slow.Abort slow consumers when they reach the configured threshold of slowness, default is slow for 30 secondsA strategy for choosing which destination is used for dead letter queue messages.ClientIdFilterDispatchPolicy dispatches messages in a topic to a given client.This PendingMessageLimitStrategy is configured to a constant value for all subscriptions.A strategy for choosing which destination is used for dead letter queue messages.A
DeadLetterStrategywhere each destination has its own individual DLQ using the subject naming hierarchy.Abstraction to allow different dispatching policies to be plugged into the topic region implementations.Determines if a subscription can dispatch a message referenceCreates a PendIngMessageCursor for Durable subscribers *Creates a FilePendingMessageCursor *Creates a PendIngMessageCursor for Durable subscribers *This implementation ofSubscriptionRecoveryPolicywill keep a fixed count of last messages.This implementation ofSubscriptionRecoveryPolicywill keep a fixed amount of memory available in RAM for message history which is evicted in time order.ADeadLetterStrategywhere each destination has its own individual DLQ using the subject naming hierarchy.This implementation ofSubscriptionRecoveryPolicywill only keep the last message.A strategy for evicting messages from slow consumers.A useful base class for implementation inheritence.Represents some kind of query which will load initial messages from some source for a new topic subscriber.This SubscriptionRecoveryPolicy disable recovery of messages.An eviction strategy which evicts the oldest message first (which is the default).An eviction strategy which evicts the oldest message with the lowest priority first.Abstraction to allow different policies for holding messages awaiting dispatch to active clientsA pluggable strategy to calculate the maximum number of messages that are allowed to be pending on consumers (in addition to their prefetch sizes).Abstraction to allow different policies for holding messages awaiting dispatch on a QueueAbstraction to allow different policies for holding messages awaiting dispatch to active clientsRepresents an entry in aPolicyMapfor assigning policies to a specific destination or a hierarchical wildcard area of destinations.Represents a destination based configuration of policies so that individual destinations or wildcard hierarchies of destinations can be configured using different policies.This PendingMessageLimitStrategy sets the maximum pending message limit value to be a multiplier of the prefetch limit of the subscription.Priority dispatch policy that sends a message to every subscription that matches the message in consumer priority order.dispatch policy that ignores lower priority duplicate network consumers, used in conjunction with network bridge suppresDuplicateTopicSubscriptionsThis implementation ofSubscriptionRecoveryPolicywill perform a user specific query mechanism to load any messages they may have missed.This implementation ofSubscriptionRecoveryPolicywill only keep the last non-zero length message with theActiveMQMessage.RETAIN_PROPERTY.Simple dispatch policy that sends a message to every subscription that matches the message.A default implementation ofDeadLetterStrategywhich uses a constant destination.Simple dispatch policy that sends a message to every subscription that matches the message.Simple dispatch policy that determines if a message can be sent to a subscriptionInterface for a strategy for dealing with slow consumersCreates a PendingMessageCursor that access the persistent store to retrieve messagesCreates a StoreQueueCursor *Dispatch policy that causes every subscription to see messages in the same order.Abstraction to allow different recovery policies to be plugged into the region implementations.This implementation ofSubscriptionRecoveryPolicywill keep a timed buffer of messages around in memory and use that to recover new subscriptions.An eviction strategy which evicts the oldest message within messages with the same property valueCreates a VMPendingMessageCursor *Creates a VMPendingMessageCursor *Creates a VMPendingMessageCursor *