You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/10/23 14:21:33 UTC
[jira] [Commented] (QPID-6182) AMQP 1.0 consumer should be able to
get messages from browse-only queue
[ https://issues.apache.org/jira/browse/QPID-6182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14181279#comment-14181279 ]
ASF subversion and git services commented on QPID-6182:
-------------------------------------------------------
Commit 1633798 from [~pmoravec] in branch 'qpid/trunk'
[ https://svn.apache.org/r1633798 ]
QPID-6182: AMQP 1.0 consumer should be able to get messages from browse-only queue
> AMQP 1.0 consumer should be able to get messages from browse-only queue
> -----------------------------------------------------------------------
>
> Key: QPID-6182
> URL: https://issues.apache.org/jira/browse/QPID-6182
> Project: Qpid
> Issue Type: Bug
> Components: C++ Broker
> Affects Versions: 0.30
> Reporter: Pavel Moravec
> Assignee: Pavel Moravec
> Priority: Minor
> Labels: easytest
>
> Description of problem:
> Qpid broker allows 0-10 consumers on browse-only queues, but does not allow 1.0 consumers there. It should allow 1.0 consumers as well, marking them internally as browsers instead (like it does for 0-10 consumer).
> Version-Release number of selected component (if applicable):
> 0.30
> How reproducible:
> 100%
> Steps to Reproduce:
> 1. service qpidd restart
> 2. qpid-config add queue q --argument=qpid.browse-only=true --limit-policy=ring --max-queue-count=100
> 3. qpid-send -a q -m1
> 4. qpid-receive -a q # works fine
> 5. qpid-receive -a q --connection-option "{protocol:amqp1.0}"
> Actual results:
> Step 5 returns:
> qpid-receive: Link detached by peer with amqp:internal-error: not-allowed: Queue q is browse only. Refusing acquiring consumer. (/home/pmoravec/qpid-trunk/qpid/cpp/src/qpid/broker/Queue.cpp:552)
> Expected results:
> Both 4. and 5. to return one message (one empty line corresponding to empty message content).
> Additional info:
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org