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 |
|