Uploaded image for project: 'ActiveMQ'
  1. ActiveMQ
  2. AMQ-4062

durableTopicPrefetch attribute in policyEntry in activemq.xml dont take effect

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.6.0
    • Fix Version/s: 5.7.0
    • Component/s: Broker
    • Labels:
      None
    • Environment:

      windows XP jdk1.6

      Description

      There are three methods to configure the prefetchSize of a consumer,per broker,per connection and per destination.I configured the policyEntry element in activemq.xml and set durableTopicPrefetch="5".Then a durable topic Consumer connected to the broker ,but the prefetchSize instance variable of ConsumerInfo object was 100, the default value for durable topic consumer.Some messages of the topic consumer were stored in the kahaDB.

        Attachments

        1. AMQ4062TestNew.java
          9 kB
          Ming Liu
        2. AMQ4062Test.java
          8 kB
          Timothy A. Bish
        3. ming.zip
          3 kB
          Ming Liu

          Activity

            People

            • Assignee:
              tabish Timothy A. Bish
              Reporter:
              liuming Ming Liu
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: