Bug 975937 - [AMQP 1.0] sender expects messages to always be accepted
Summary: [AMQP 1.0] sender expects messages to always be accepted
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-cpp
Version: Development
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: 3.0
: ---
Assignee: Gordon Sim
QA Contact: mick
URL:
Whiteboard:
Depends On:
Blocks: 1010399
TreeView+ depends on / blocked
 
Reported: 2013-06-19 15:54 UTC by Gordon Sim
Modified: 2015-01-21 12:54 UTC (History)
7 users (show)

Fixed In Version: qpid-cpp-0.22-6.el6, qpid-cpp-mrg-0.22-6.el5
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-01-21 12:54:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Apache JIRA QPID-4935 0 None None None Never

Description Gordon Sim 2013-06-19 15:54:41 UTC
Description of problem:

In AMQP 1.0 a delivery may be 'settled' without  having a delivery state set (e.g. accepted, rejected), but the 1.0 based qpid::messaging implementation does not take this into account.

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


How reproducible:


Steps to Reproduce:
1. run qpid-send or similar against activemq using AMQP 1.0 (need to also specify sasl_mechanisms:NONE)

Actual results:

The sender hangs when trying to close as the sent messages were not accepted (they were however settled).

Expected results:

Test exits normally.

Additional info:

Comment 1 Gordon Sim 2013-06-19 15:55:46 UTC
Fixed upstream by https://svn.apache.org/r1494644

Comment 2 mick 2014-03-12 18:42:37 UTC
Verification :

  got ActiveMQ running on RHEL 6.5  (thanks, Frantisek. )

  used ActiveMQ web interface to create a queue (thanks, Ernie )

  used this command to send messages to Active:

    qpid-send --connection-options {protocol:amqp1.0} --address micks_very_first_active_queue --content-size 666 -m 13

result:

 * messages showed up in the Active queue
 * qpid-send did not hang - terminated normally.


Note You need to log in before you can comment on or make changes to this bug.