| Summary: | consumed text message content is always <void> when using drain example | ||
|---|---|---|---|
| Product: | Red Hat Enterprise MRG | Reporter: | Petr Matousek <pematous> |
| Component: | qpid-cpp | Assignee: | Gordon Sim <gsim> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Petr Matousek <pematous> |
| Severity: | high | Docs Contact: | |
| Priority: | medium | ||
| Version: | Development | CC: | esammons, gsim, iboverma, jross |
| Target Milestone: | 3.0 | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | qpid-cpp-0.22-16 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Fixed upstream: https://svn.apache.org/r1524505 This issue has been fixed. Verified on rhel6.4 (i386, x86_64). packages used for testing: qpid-cpp-*-0.22-22.el6 |
Description of problem: Following change was done between qpid-cpp-client-devel-0.22-13 and qpid-cpp-client-devel-0.22-14 in drain client: < std::cout << message.getContent(); --- > std::cout << message.getContentObject(); As the content object is not filled by spout on sending a text message, the getContentObject() call always returns <void>. Note: sending ie.: mapMessage do not suffer from that (spout correctly fills the content object) Version-Release number of selected component (if applicable): qpid-cpp-*-0.22-14 How reproducible: 100% Steps to Reproduce: 1. drain -f amq.direct 2. spout --content "textMessage" amq.direct 3. the consumed message content is <void> Actual results: Consumed message content is always <void> Expected results: Consumed message content is properly displayed Additional info: ./drain -f amq.direct Message(properties={spout-id:efee0070-658e-4e7d-a3ff-5d4f0c700130:0, x-amqp-0-10.routing-key:}, content='<void>')