You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Gordon Sim (Reopened) (JIRA)" <ji...@apache.org> on 2011/11/18 20:38:51 UTC
[jira] [Reopened] (QPID-3180) Ring queues do not work with
--default-queue-limit 0
[ https://issues.apache.org/jira/browse/QPID-3180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gordon Sim reopened QPID-3180:
------------------------------
A further problem with a zero size was discovered. E.g. if you send 10 messages to a ring queue with a max-count of 5 (when the max-size is 0), then only four messages are left on the queue.
E.g.
$> for i in `seq 10`; do echo msg-$i; done | ./src/tests/qpid-send -a 'my-queue; {create: always, node:{x-declare:{arguments:{qpid.max_count:5, qpid.policy_type:ring}}}}' --content-stdin
$> ./src/tests/qpid-receive -a my-queue
msg-7
msg-8
msg-9
msg-10
> Ring queues do not work with --default-queue-limit 0
> ----------------------------------------------------
>
> Key: QPID-3180
> URL: https://issues.apache.org/jira/browse/QPID-3180
> Project: Qpid
> Issue Type: Bug
> Components: C++ Broker
> Affects Versions: 0.10
> Reporter: Gordon Sim
> Assignee: Gordon Sim
> Fix For: 0.11
>
>
> A broker started with --default-queue-limit 0 will result in any ring queue failing to enqueue any messages with non-empty content as the policy incorrectly tries to enforce a size of 0 rather than an infinite size limit.
--
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
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org