activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <>
Subject [jira] Resolved: (AMQCPP-161) CMS does not support prefetchSize=0 correctly
Date Sun, 03 Feb 2008 18:37:37 GMT


Timothy Bish resolved AMQCPP-161.

    Resolution: Fixed

Fixed in trunk, SVN: 617920

> CMS does not support prefetchSize=0 correctly
> ---------------------------------------------
>                 Key: AMQCPP-161
>                 URL:
>             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.

View raw message