Bug 1018746

Summary: released message is not marked as redelivered
Product: Red Hat Enterprise MRG Reporter: Petr Matousek <pematous>
Component: qpid-cppAssignee: Gordon Sim <gsim>
Status: CLOSED ERRATA QA Contact: Petr Matousek <pematous>
Severity: low Docs Contact:
Priority: low    
Version: DevelopmentCC: gsim, iboverma, jross, lzhaldyb
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:
: 1147578 1204130 (view as bug list) Environment:
Last Closed: 2014-09-24 15:08:53 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: 1147578    

Description Petr Matousek 2013-10-14 11:05:07 UTC
Description of problem:

When using a reliable link and the acquired message is released, broker shall return the message to the queue with a message header redelivered set to true.
The redelivered flag is not set for such messages.

Note: this applies only to amqp0-10 protocol, using amqp1.0 he redelivered flag is handled correctly

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

How reproducible:
100%

Steps to Reproduce:
1. create a queue and send a message towards it
2. use a consumer to acquire the message over reliable link (default) and release the message
3. The message has returned to the queue
4. consume the message from  the queue and verify that the redelivered flag was set
5. the redelivered flag is set to false (shall be true)

Actual results:
Released message is not marked with redelivered flag

Expected results:
Released message shall be marked as redelivered

Additional info:

Comment 1 Gordon Sim 2013-10-15 12:59:24 UTC
Fixed upstream: https://svn.apache.org/r1532305

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

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

Comment 4 errata-xmlrpc 2014-09-24 15:08:53 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2014-1296.html