Showing:

Annotations
Attributes
Model
Properties
Element tns:abortSlowAckConsumerStrategy
Namespace http://activemq.apache.org/schema/core
Annotations
Abort 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.
Properties
content complex
Model
tns:brokerService{0,1} | ANY element from ANY namespace OTHER than 'http://activemq.apache.org/schema/core'
Children tns:brokerService
Attributes
QName Type Use Annotation
abortConnection xs:boolean optional
abort the consumers connection rather than sending a stop command to the remote consumer
brokerService xs:string optional
checkPeriod xs:long optional
time in milliseconds between checks for slow subscriptions
id xs:ID optional
ignoreIdleConsumers xs:boolean optional
Returns whether the strategy is configured to ignore consumers that are simply idle, i.e
consumers that have no pending acks (dispatch queue is empty).
ignoreNetworkConsumers xs:boolean optional
Sets whether the strategy is configured to ignore consumers that are part of a network
connection to another broker.

When configured to not ignore idle consumers this strategy acts not only on consumers
that are actually slow but also on any consumer that has not received any messages for
the maxTimeSinceLastAck.  This allows for a way to evict idle consumers while also
aborting slow consumers however for a network subscription this can create a lot of
unnecessary churn and if the abort connection option is also enabled this can result
in the entire network connection being torn down and rebuilt for no reason.
maxSlowCount xs:long optional
number of times a subscription can be deemed slow before triggering abort
effect depends on dispatch rate as slow determination is done on dispatch
maxSlowDuration xs:long optional
time in milliseconds that a sub can remain slow before triggering
an abort.
maxTimeSinceLastAck xs:long optional
Gets the maximum time since last Ack before a subscription is considered to be slow.
name xs:string optional
Wildcard: ANY attribute from ANY namespace OTHER than 'http://activemq.apache.org/schema/core'
Element tns:abortSlowAckConsumerStrategy / tns:brokerService
Namespace http://activemq.apache.org/schema/core
Properties
content complex
minOccurs 0
maxOccurs 1
Model
Children tns:destinationPathSeparatorPlugin, tns:destinationsPlugin, tns:forcePersistencyModeBroker, tns:loggingBrokerPlugin, tns:multicastTraceBrokerPlugin, tns:redeliveryPlugin, tns:timeStampingBrokerPlugin, tns:traceBrokerPathPlugin, tns:udpTraceBrokerPlugin
Attribute tns:abortSlowAckConsumerStrategy / @abortConnection
Namespace No namespace
Annotations
abort the consumers connection rather than sending a stop command to the remote consumer
Type xs:boolean
Properties
content simple
Attribute tns:abortSlowAckConsumerStrategy / @brokerService
Namespace No namespace
Type xs:string
Properties
content simple
Attribute tns:abortSlowAckConsumerStrategy / @checkPeriod
Namespace No namespace
Annotations
time in milliseconds between checks for slow subscriptions
Type xs:long
Properties
content simple
Attribute tns:abortSlowAckConsumerStrategy / @ignoreIdleConsumers
Namespace No namespace
Annotations
Returns whether the strategy is configured to ignore consumers that are simply idle, i.e
consumers that have no pending acks (dispatch queue is empty).
Type xs:boolean
Properties
content simple
Attribute tns:abortSlowAckConsumerStrategy / @ignoreNetworkConsumers
Namespace No namespace
Annotations
Sets whether the strategy is configured to ignore consumers that are part of a network
connection to another broker.

When configured to not ignore idle consumers this strategy acts not only on consumers
that are actually slow but also on any consumer that has not received any messages for
the maxTimeSinceLastAck.  This allows for a way to evict idle consumers while also
aborting slow consumers however for a network subscription this can create a lot of
unnecessary churn and if the abort connection option is also enabled this can result
in the entire network connection being torn down and rebuilt for no reason.
Type xs:boolean
Properties
content simple
Attribute tns:abortSlowAckConsumerStrategy / @maxSlowCount
Namespace No namespace
Annotations
number of times a subscription can be deemed slow before triggering abort
effect depends on dispatch rate as slow determination is done on dispatch
Type xs:long
Properties
content simple
Attribute tns:abortSlowAckConsumerStrategy / @maxSlowDuration
Namespace No namespace
Annotations
time in milliseconds that a sub can remain slow before triggering
an abort.
Type xs:long
Properties
content simple
Attribute tns:abortSlowAckConsumerStrategy / @maxTimeSinceLastAck
Namespace No namespace
Annotations
Gets the maximum time since last Ack before a subscription is considered to be slow.
Type xs:long
Properties
content simple
Attribute tns:abortSlowAckConsumerStrategy / @name
Namespace No namespace
Type xs:string
Properties
content simple
Attribute tns:abortSlowAckConsumerStrategy / @id
Namespace No namespace
Type xs:ID
Properties
content simple