activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <>
Subject [jira] [Commented] (AMQCPP-410) prefetchSize=0 is ignored when set via PrefetchPolicy
Date Fri, 08 Jun 2012 19:58:23 GMT


Timothy Bish commented on AMQCPP-410:

Would be great if you could contribute some tests in the integration tests suite or unit tests
suite to validate the fix and ensure it stays fixed. 
> prefetchSize=0 is ignored when set via PrefetchPolicy
> -----------------------------------------------------
>                 Key: AMQCPP-410
>                 URL:
>             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 PrefecthPolicy, the value seen by the broker is
> 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 forces 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:!default.jspa
For more information on JIRA, see:


View raw message