Bug 1019180

Summary: [amqp1.0] Default sender's capacity is different from amqp0-10
Product: Red Hat Enterprise MRG Reporter: Petr Matousek <pematous>
Component: qpid-cppAssignee: Gordon Sim <gsim>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Matousek <pematous>
Severity: medium Docs Contact:
Priority: unspecified    
Version: DevelopmentCC: esammons, gsim, iboverma, jross
Target Milestone: 3.0   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qpid-cpp-0.22-20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-21 12:55:18 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 Petr Matousek 2013-10-15 09:15:41 UTC
Description of problem:

Default sender's capacity is different between the amqp0-10 and amqp1.0 protocols: default capacity for amqp1.0 clients is 1000 while 0-10 default is 50.

With regard to the difference was not deliberate (discussed with Gordon), I'm raising the bug to let developers think about these settings are appropriate.

Version-Release number of selected component (if applicable):
qpid-cpp-*-0.22-19

How reproducible:
100%

Steps to Reproduce:
1. create connection, session, sender
2. call get getCapacity() sender method

Actual results:
default senders capacity:
amqp0-10: 50
amqp1.0: 1000

Expected results:
n/a

Additional info:

Comment 1 Gordon Sim 2013-10-15 13:05:17 UTC
Fixed upstream: https://svn.apache.org/r1532309

Comment 2 Petr Matousek 2013-10-22 09:41:32 UTC
This issue has been fixed. Verified on rhel6.4 (i386, x86_64).

Default sender's capacity is now 50 for both the protocols (amqp0-10/1.0).

packages used for testing:
qpid-cpp-*-0.22-20.el6