Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-6953

On address settings, max-messages-size does not work as expected on anything other than address-full-policy=PAGE

    XMLWordPrintable

Details

    • False
    • None
    • False
    • ARTEMIS-3940
    • Hide
      • Create a broker with the default settings
      • Add the following attributes to the default <address-settings> entry, as follows
      <address-setting match="#">
      ...
                  <max-size-messages>5000</max-size-messages>
                  <address-full-policy>FAIL</address-full-policy>
      ...
      </address-setting>
       

       

      • Start broker
      • Send 6000 messages to any queue on broker, using any producer
      • The broker should throw an exception moments after the 5000+ message has been added, but it does not

       

      Show
      Create a broker with the default settings Add the following attributes to the default <address-settings> entry, as follows <address-setting match= "#" > ... <max-size-messages>5000</max-size-messages> <address-full-policy>FAIL</address-full-policy> ... </address-setting>   Start broker Send 6000 messages to any queue on broker, using any producer The broker should throw an exception moments after the 5000+ message has been added, but it does not  

    Description

      The customer expects that when he sets the combination of the following attributes on an address-settings> entry:

       

      // code placeholder
      <max-messages-size>N</max-message-size> 
      <address-full-policy>FAIL</address-full-policy> 

       

       

      the broker will throw an exception back to the client, as documented here: https://activemq.apache.org/components/artemis/documentation/latest/paging.html

      Actually, this is not happening

       

       

      Attachments

        Activity

          People

            csuconic@redhat.com Clebert Suconic
            rhn-support-anarvaez Alfredo Narvaez
            Michal Toth Michal Toth
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: