Bug 1004002

Summary: [AMQP 1.0] AmqpValue sections of type string are not handled correctly
Product: Red Hat Enterprise MRG Reporter: Gordon Sim <gsim>
Component: qpid-cppAssignee: Gordon Sim <gsim>
Status: CLOSED CURRENTRELEASE QA Contact: Ernie <eallen>
Severity: unspecified Docs Contact:
Priority: medium    
Version: DevelopmentCC: eallen, esammons, freznice, iboverma, jross
Target Milestone: 3.0Keywords: OtherQA
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qpid-cpp-0.22-14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-21 12:56:16 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-09-03 17:03:30 UTC
Description of problem:

When using qpid::messaging to receive messages whose content is encoded as a string valued AmqpValue section (e.g. as sent by proton messenger examples), the content is not made available to application.

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

qpid-cpp-0.22-11 (caused by changes for https://bugzilla.redhat.com/show_bug.cgi?id=996573)

How reproducible:

100%

Steps to Reproduce:
1. send message using proton messenger send example to a queue on a broker
2. receive that message using qpid::messaging (e.g. drain or qpid-receive)

Actual results:

Content reported as null/void

Expected results:

Content received as sent

Additional info:

Comment 1 Gordon Sim 2013-09-03 17:05:15 UTC
Fixed upstream: https://svn.apache.org/r1518955

Comment 2 Ernie 2014-03-25 20:31:00 UTC
This issue has been fixed. Verified on rhel6.5 (x86_64, i386).

string content sent using proton to drain or qpid-receive with protocol:amqp1.0 is received properly

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