Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.7
-
None
Description
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:
[aconway@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
[aconway@rolf qpid]$ qpid-receive -a "rq"
a
b
c
d
e
Using qpid-tool I get the following for the queue:
arguments
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.
Attachments
Issue Links
- duplicates
-
QPID-2896 Incorrect detection of data types in address parameters - C++ client
-
- Closed
-