Pavel Moravec created QPID-6182: ----------------------------------- Summary: 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
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-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org