You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Andrew Stitcher (JIRA)" <ji...@apache.org> on 2014/04/30 05:37:14 UTC
[jira] [Commented] (QPID-5735) The Selector property
amqp.redelivered is not computed correctly
[ https://issues.apache.org/jira/browse/QPID-5735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13985120#comment-13985120 ]
Andrew Stitcher commented on QPID-5735:
---------------------------------------
This bug was caused by the fix for QPID-4668
> The Selector property amqp.redelivered is not computed correctly
> ----------------------------------------------------------------
>
> Key: QPID-5735
> URL: https://issues.apache.org/jira/browse/QPID-5735
> Project: Qpid
> Issue Type: Bug
> Reporter: Andrew Stitcher
> Assignee: Andrew Stitcher
>
> Due to the fix for QPID-4668. The delivery-count held by a queued message is now off by 1 such that redelivered should actually be delivery-count>=0. This is because the count will be adjusted after the selector runs but before any actual delivery.
> You can replicate this with qpid-send/qpid-receive:
> qpid-send -a "q; {create:always}"
> Then get message without acknowledging:
> qpid-receive -a q --print-headers yes --ack 0
> [One message is received with no Redelivered header]
> now get message with selector
> qpid-receive -a "q; {link:{selector:amqp.redelivered=true} --print-headers yes --ack 0
> [No messages are received even though there is a redelivered message]
--
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