[AMQ Broker] Allow setting max-size-bytes=0 to have a page only address

Solution Verified - Updated -

Issue

  • We can't set max-size-bytes=0 in 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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content