qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-5866) [C++ client] AMQP 1.0 closing session without closing receiver first marks further messages as redelivered
Date Thu, 03 Jul 2014 12:58:24 GMT

    [ https://issues.apache.org/jira/browse/QPID-5866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14051409#comment-14051409
] 

ASF subversion and git services commented on QPID-5866:
-------------------------------------------------------

Commit 1607628 from [~pmoravec] in branch 'qpid/trunk'
[ https://svn.apache.org/r1607628 ]

[QPID-5866]: [C++ client] AMQP 1.0 closing session without closing receiver first marks further
messages as redelivered (previous commit not complete)

> [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
>             Fix For: Future
>
>
> 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