[AMQ Broker] Allow setting max-size-bytes=0 to have a page only address
Issue
- We can't set
max-size-bytes=0in order to page immediately. -
Setting
max-size-bytes=0, the broker shows the following ERROR:2021-11-15 16:21:51,606 ERROR [org.apache.activemq.artemis.core.server] AMQ224000: Failure in initialisation: java.lang.IllegalStateException: java.lang.IllegalStateException: pageSize for address DLQ.mytest >= maxSize. Normally pageSize should be significantly smaller than maxSize, ms: 0 ps 1024
Environment
- OpenShift Container 4
- AMQ Broker 7.8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.