Bug 1121623

Summary: [AMQP 1.0] annotations overwrite application properties
Product: Red Hat Enterprise MRG Reporter: Gordon Sim <gsim>
Component: qpid-cppAssignee: Gordon Sim <gsim>
Status: CLOSED CURRENTRELEASE QA Contact: Eric Sammons <esammons>
Severity: unspecified Docs Contact:
Priority: high    
Version: 3.0CC: esammons, gsim, iboverma, jross, mtoth
Target Milestone: 3.0   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qpid-cpp-0.22-45 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-21 12:54:27 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:

Description Gordon Sim 2014-07-21 12:05:52 UTC
Description of problem:

If a message containing annotations is received over AMQP 1.0 using the qpid::messaging API, any application-properties that may also be in the message cannot be seen by the application as the getProperties() method returns only the annotations (and if there were both delivery- and message- annotations, only the message-annotations would be presented).

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

qpid 0.28 and latest 3.0 candidates

How reproducible:

100%

Steps to Reproduce:
1. Send a message from JMS over 1.0 (0.28 version) with an application property set
2. Receive that message using qpid::messaging and attempt to retrieve the property in question

Actual results:

property cannot be seen in c++ client

Expected results:

property can be retrieved in c++ client

Additional info:

The workaround is to specify the nest_annotations connection option to be true.

Comment 1 Gordon Sim 2014-07-21 12:46:04 UTC
Fix committed upstream as http://svn.apache.org/r1612258

Comment 5 Valiantsina Hubeika 2014-08-07 14:49:20 UTC
verified on
qpid-cpp-0.22-45