You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Pavel Moravec (JIRA)" <ji...@apache.org> on 2014/07/03 10:16:25 UTC

[jira] [Closed] (QPID-5866) [C++ client] AMQP 1.0 closing session without closing receiver first marks further messages as redelivered

     [ https://issues.apache.org/jira/browse/QPID-5866?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pavel Moravec closed QPID-5866.
-------------------------------


> [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