Bug 1025828

Summary: [AMQP 1.0] Receiver::get() doesn't replenish credit
Product: Red Hat Enterprise MRG Reporter: Gordon Sim <gsim>
Component: qpid-cppAssignee: Gordon Sim <gsim>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Matousek <pematous>
Severity: unspecified Docs Contact:
Priority: medium    
Version: DevelopmentCC: esammons, iboverma, jross, pematous
Target Milestone: 3.0   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qpid-cpp-0.22-25.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-21 12:56:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1010399    

Description Gordon Sim 2013-11-01 17:03:23 UTC
Description of problem:

Receiver::get() doesn't replenish credit when using 1.0 (fetch() does, and get() over 0-10 does).

Version-Release number of selected component (if applicable):

0.24

How reproducible:

100%

Steps to Reproduce:
1. create receiver with say 5 messages capacity on queue that has more than 5 messages
2. call get() until it can't retrieve a message

Actual results:

Only get as many messages as initial capacity (5 in this case)

Expected results:

Get all available messages.

Additional info:

Comment 1 Gordon Sim 2013-11-01 17:04:07 UTC
Fixed upstream: https://svn.apache.org/r1537985

Comment 2 Petr Matousek 2014-02-06 13:44:38 UTC
This issue has been fixed. Verified on rhel6.5 (x86_64, i386).

packages under test:
qpid-cpp-*-0.22-33

-> VERIFIED