activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Riccardi (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMQCPP-410) prefetchSize=0 is ignored when set via PrefetchPolicy
Date Fri, 08 Jun 2012 17:40:22 GMT

     [ https://issues.apache.org/jira/browse/AMQCPP-410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Thomas Riccardi updated AMQCPP-410:
-----------------------------------

    Attachment: activemq-cpp-library-3.4.3-src.fix-prefetchSize-0.patch
    
> prefetchSize=0 is ignored when set via PrefetchPolicy
> -----------------------------------------------------
>
>                 Key: AMQCPP-410
>                 URL: https://issues.apache.org/jira/browse/AMQCPP-410
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: CMS Impl
>    Affects Versions: 3.4.1, 3.4.3
>         Environment: Ubuntu 10.04 x86_64, ActiveMQ 5.5.0
>            Reporter: Thomas Riccardi
>            Assignee: Timothy Bish
>         Attachments: activemq-cpp-library-3.4.3-src.fix-prefetchSize-0.patch
>
>
> When setting the prefetchSize to 0 via PrefectPolicy, the value seen by the broker is
1000.
> The value is correctly set in ActiveMQConsumer constructor in consumerInfo, but is later
overwritten to 1000 by applyDestinationOptions(), even if the option is not set in the destination
options from the broker url.
> applyDestinationOptions() considers 0 as an invalid value, and then force the reading
of the value from the destination option, which has the default value of 1000.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message