Bug 1045407

Summary: modify qpid-send to use get-/set- ContentObject()
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, freznice, gsim, iboverma, jross
Target Milestone: 3.0   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qpid-cpp-0.22-30 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-21 12:52:35 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:

Description Petr Matousek 2013-12-20 11:19:22 UTC
Description of problem:

At present e.g. --content-string xyz will be sent as a Data section (i.e. binary) as the test utility sets the actual message bytes. It would be preferable to send it as utf8 data (i.e. an AmqpValue section of type string).

Version-Release number of selected component (if applicable):
qpid-cpp-client-devel-0.22-29.el6

How reproducible:
100%

Steps to Reproduce:
1. send a text message with some content using qpid-send
2. receive the message using proton-j messenger client
3. byte message content displayed instead of string

Actual results:
message content sent as Data section 

Expected results:
message content sent as utf8 data

Additional info:
see bug 975444

Comment 1 Gordon Sim 2013-12-20 12:45:21 UTC
Fixed upstream: https://svn.apache.org/r1552401

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

packages under test:
qpid-cpp-client-devel-0.22-35.el6

-> VERIFIED