qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Moravec (JIRA)" <j...@apache.org>
Subject [jira] [Created] (QPID-5866) [C++ client] AMQP 1.0 closing session without closing receiver first marks further messages as redelivered
Date Wed, 02 Jul 2014 09:50:24 GMT
Pavel Moravec created QPID-5866:
-----------------------------------

             Summary: [C++ client] AMQP 1.0 closing session without closing receiver first
marks further messages as redelivered
                 Key: QPID-5866
                 URL: https://issues.apache.org/jira/browse/QPID-5866
             Project: Qpid
          Issue Type: Bug
          Components: C++ Client
    Affects Versions: 0.28
            Reporter: Pavel Moravec
            Assignee: Pavel Moravec
            Priority: Minor


Having a C++ AMQP 1.0 consumer with prefetch and closing its session without closing receiver
first, the client does not send back to the broker disposition about unconsumed messages (that
were buffered by the client due to prefetch but not offered to the application).

This causes next consumer to get messages with redelivered flag enabled / delivery count incremented.

Reproducer:

$ qpid-send --messages 3 --address "q;{create:sender}"

$ qpid-receive --connection-options {protocol:amqp1.0} --print-headers true --messages 1 --address
q
Properties: {sn:1, ts:1395841514445073615}

$ qpid-receive --connection-options {protocol:amqp1.0} --print-headers true --messages 1 --address
q
Redelivered: true
Properties: {sn:2, ts:1395841514445244860, x-amqp-delivery-count:1}

$




--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message