You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Alex Rudyy (Assigned) (JIRA)" <ji...@apache.org> on 2012/01/31 16:11:16 UTC
[jira] [Assigned] (QPID-3790) Add a new method
getQueueDepth(AMQDestionation, boolean) into AMQSession to allow syncing
the session before sending QueueQuery command
[ https://issues.apache.org/jira/browse/QPID-3790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Rudyy reassigned QPID-3790:
--------------------------------
Assignee: Alex Rudyy
> Add a new method getQueueDepth(AMQDestionation, boolean) into AMQSession to allow syncing the session before sending QueueQuery command
> ---------------------------------------------------------------------------------------------------------------------------------------
>
> Key: QPID-3790
> URL: https://issues.apache.org/jira/browse/QPID-3790
> Project: Qpid
> Issue Type: New Feature
> Components: Java Client
> Affects Versions: 0.15
> Reporter: Alex Rudyy
> Assignee: Alex Rudyy
> Fix For: 0.15
>
>
> The number of existing tests fails sporadically in DUPS_OK mode by relying on fact that method AMQSession.getQueueDepth(AMQDestionation) returns the correct result.
> In case of DUPS_OK, a message acknowledgment can be sent as part AMQSession.getQueueDepth(AMQDestionation) before sending QueueQuery command.
> Currently session does not sync between sending acknowledgments(MessageAccept) and QueueQuery commands.
> As result of it QueueQuery command results can be returned before MessageAccept is processed on the broker. In this case QueueQuery results might contain incorrect messageCount value.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org