Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1487410

Summary: Sending message via exchange when queue is full with reject policy causes closed connection
Product: Red Hat Enterprise MRG Reporter: Mike Cressman <mcressma>
Component: qpid-cppAssignee: messaging-bugs <messaging-bugs>
Status: CLOSED ERRATA QA Contact: Zdenek Kraus <zkraus>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.2CC: jross, zkraus
Target Milestone: 3.2.6   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qpid-cpp-1.36.0-8 Doc Type: Bug Fix
Doc Text:
Cause: If a queue is set up with a reject-when-full policy, and messages are sent to a full queue via an exchange (for example, using a topic), and AMQP 1.0 protocol is used, Consequence: the connection to the client is incorrectly closed. Fix: The error handling has been corrected Result: so that the connection is not closed, but instead a queue limit exceeded error is returned.
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-10-16 14:29:04 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 Mike Cressman 2017-08-31 20:25:16 UTC
Description of problem:
Sending a message to an exchange that exceeds the limit of a queue with reject policy results in the connection being closed.

Version-Release number of selected component (if applicable):
qpid-cpp-1.36.0-6

How reproducible:
100%


Steps to Reproduce:
1. Set up a queue with small size limit and reject policy when full
2. Fill the queue, then send a message to this queue via exchange (using AMQP 1.0)

Actual results:
Connection is closed

Expected results:
Link is closed and error returned about queue limit exceeded.
(This is what currently happens in the same scenario but sending directly to the queue instead of using an exchange.)

Additional info:

Comment 2 Zdenek Kraus 2017-09-20 12:59:48 UTC
Tested using RHEL 6 i386, x86_64, and RHEL7 x86_64, with following packages:
qpid-cpp-server-1.36.0-9.el6.i686
qpid-cpp-server-1.36.0-9.el6.x86_64
qpid-cpp-server-1.36.0-9.el7.x86_64

Fix works as expected.


-> VERIFIED.

Comment 4 errata-xmlrpc 2017-10-16 14:29:04 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.

https://access.redhat.com/errata/RHBA-2017:2892