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

Pavel Moravec resolved QPID-5866.
---------------------------------

       Resolution: Fixed
    Fix Version/s: Future

Committed revision 1607562.


> [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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to