[
https://issues.apache.org/activemq/browse/AMQCPP-161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Timothy Bish resolved AMQCPP-161.
---------------------------------
Resolution: Fixed
Fixed in trunk, SVN: 617920
> CMS does not support prefetchSize=0 correctly
> ---------------------------------------------
>
> Key: AMQCPP-161
> URL: https://issues.apache.org/activemq/browse/AMQCPP-161
> Project: ActiveMQ C++ Client
> Issue Type: Bug
> Components: CMS Impl
> Affects Versions: 2.1.2
> Reporter: Dominic Tulley
> Assignee: Timothy Bish
> Fix For: 2.2
>
> Attachments: main.cpp
>
>
> AMQ-850 introduced the ability to set the message prefetch size to 0.
> This means that no messages are prefetched and every receive() call goes all
> the way to the broker to get the next message.
> It was only a valid option for synchronous message receivers.
> In CMS it does not appear to work. Instead, a client set to use this simply
> receives no messages, and the messages remain on the queue.
> Without this patch, it is possible for a slow consumer to hide an important
> message from other consumers because it has prefetched it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.