[
https://issues.apache.org/jira/browse/AMQ-4062?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13460130#comment-13460130
]
liuming commented on AMQ-4062:
------------------------------
I've created a testcase.The PolicyEntry configure the DurableTopicSubscription
correctly when there's nothing for the topic in the Kaha storage.When KahaDB
contains some messages for that topic,Destination and Subscription info will be
recovered and ConsumerInfo will be created in addSubscriptionsForDestination
method in TopicRegion class.After that the value of prefetchSize of the
ConsumerInfo is zero.
> durableTopicPrefetch attribute in policyEntry in activemq.xml dont take effect
> ------------------------------------------------------------------------------
>
> Key: AMQ-4062
> URL: https://issues.apache.org/jira/browse/AMQ-4062
> Project: ActiveMQ
> Issue Type: Bug
> Components: Broker
> Affects Versions: 5.6.0
> Environment: windows XP jdk1.6
> Reporter: liuming
> Priority: Minor
> Attachments: ming.zip
>
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira