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

Jonathan Robie closed QPID-2908.
--------------------------------

    Resolution: Fixed

See QPID-2896 for resolution.

> Creating a ring queue with c++ address strings does not work.
> -------------------------------------------------------------
>
>                 Key: QPID-2908
>                 URL: https://issues.apache.org/jira/browse/QPID-2908
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Client
>    Affects Versions: 0.7
>            Reporter: Alan Conway
>            Assignee: Jonathan Robie
>
> Using qpid-send I try to create a ring queue of size 3. I send 5 messages to 
> it, expecting that 2 will be over-written due to the ring queue policy. 
> However qpid-receive shows that all 5 messages were stored on the queue:
> [acon...@rolf qpid]$ qpid-send -a "rq ; { create: always, node: { type:queue, 
> x-declare: { arguments: { 'qpid.max_size': 3, 'qpid.policy_type': ring }} }}" 
> --content-stdin
> a
> b
> c
> d
> e
> [acon...@rolf qpid]$ qpid-receive -a "rq"
> a
> b
> c
> d
> e
> Using qpid-tool I get the following for the queue:
>    arguments              {u'qpid.max_size': '3', u'qpid.policy_type': 'ring'}
> Note single quotes around '3' - it appears to be treated as string rather 
> than integer. On a ring queue created from a python client these quotes don't 
> appear.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscr...@qpid.apache.org

Reply via email to