mattrpav commented on code in PR #2019:
URL: https://github.com/apache/activemq/pull/2019#discussion_r3243645904
##########
activemq-broker/src/main/java/org/apache/activemq/broker/region/policy/PolicyEntry.java:
##########
@@ -119,6 +119,8 @@ public class PolicyEntry extends DestinationMapEntry {
private MessageInterceptorStrategy messageInterceptorStrategy = null;
+ private boolean enableExpiry = true;
Review Comment:
The XSD is automatically generated by the build.
I think a config flag 'expiryEnabled' to MessageEvictionStrategy is the best
place. The section of code that this applies is within the guard that
essentially tells the topic 'go do message eviction strategy stuff'
```
if (maximumPendingMessages > 0) {
...
```
Updating the doc is always welcome!
website repo: https://github.com/apache/activemq-website
page ref:
https://activemq.apache.org/components/classic/documentation/slow-consumer-handling
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact