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

Setting default-max-consumers in addressing setting has no effect on the max-consumers property on matching address queues

    XMLWordPrintable

Details

    Description

      When setting "default-max-consumers" in addressing setting in broker.xml has no effect on the "max-consumers" property on matching address queues. For ex:

      <address-settings>
         <address-setting match="#">
         <dead-letter-address>DLQ</dead-letter-address>
         <expiry-address>ExpiryQueue</expiry-address>
         <redelivery-delay>0</redelivery-delay>
         <!-- with -1 only the global-max-size is in use for limiting -->
         <max-size-bytes>-1</max-size-bytes>
         <message-counter-history-day-limit>10</message-counter-history-day-limit>
         <address-full-policy>PAGE</address-full-policy>
         <auto-create-queues>true</auto-create-queues>
         <auto-create-addresses>true</auto-create-addresses>
         <auto-create-jms-queues>true</auto-create-jms-queues>
         <auto-create-jms-topics>true</auto-create-jms-topics>
         <default-max-consumers>2</default-max-consumers> <!-- here -->
         </address-setting>
      </address-settings>
      

      Attachments

        Issue Links

          Activity

            People

              ataylor@redhat.com Andy Taylor
              rhn-support-shsingh Shailendra Singh
              Oleg Sushchenko Oleg Sushchenko
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: