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 (Created) (JIRA)" <ji...@apache.org> on 2012/01/31 12:44:10 UTC
[jira] [Created] (QPID-3790) Add a new method
getQueueDepth(AMQDestionation, boolean) into AMQSession to allow sync
message acknowledgment before sending QueueQuery command
Add a new method getQueueDepth(AMQDestionation, boolean) into AMQSession to allow sync message acknowledgment 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
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
[jira] [Updated] (QPID-3790) Add a new method
getQueueDepth(AMQDestionation, boolean) into AMQSession to allow syncing
the session before sending QueueQuery command
Posted by "Alex Rudyy (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/QPID-3790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Rudyy updated QPID-3790:
-----------------------------
Status: Ready To Review (was: In Progress)
> 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
>
> Attachments: 0001-QPID-3784-Introduce-JVM-env-variable-to-run-a-dispat.patch
>
>
> 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
[jira] [Assigned] (QPID-3790) Add a new method
getQueueDepth(AMQDestionation, boolean) into AMQSession to allow syncing
the session before sending QueueQuery command
Posted by "Alex Rudyy (Assigned) (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Updated] (QPID-3790) Add a new method
getQueueDepth(AMQDestionation, boolean) into AMQSession to allow syncing
the session before sending QueueQuery command
Posted by "Alex Rudyy (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/QPID-3790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Rudyy updated QPID-3790:
-----------------------------
Attachment: 0001-QPID-3784-Introduce-JVM-env-variable-to-run-a-dispat.patch
> 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
>
> Attachments: 0001-QPID-3784-Introduce-JVM-env-variable-to-run-a-dispat.patch
>
>
> 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
[jira] [Resolved] (QPID-3790) Add a new method
getQueueDepth(AMQDestionation, boolean) into AMQSession to allow syncing
the session before sending QueueQuery command
Posted by "Robbie Gemmell (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/QPID-3790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robbie Gemmell resolved QPID-3790.
----------------------------------
Resolution: Fixed
Patch applied.
> 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: Robbie Gemmell
> Fix For: 0.15
>
> Attachments: 0001-QPID-3790-Add-a-method-AMQSession.getQueueDepth-AMQD.patch
>
>
> 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
[jira] [Updated] (QPID-3790) Add a new method
getQueueDepth(AMQDestionation, boolean) into AMQSession to allow syncing
the session before sending QueueQuery command
Posted by "Alex Rudyy (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/QPID-3790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Rudyy updated QPID-3790:
-----------------------------
Attachment: (was: 0001-QPID-3790-Add-a-method-AMQSession.getQueueDepth-AMQD.patch)
> 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
>
> Attachments: 0001-QPID-3784-Introduce-JVM-env-variable-to-run-a-dispat.patch
>
>
> 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
[jira] [Updated] (QPID-3790) Add a new method
getQueueDepth(AMQDestionation, boolean) into AMQSession to allow syncing
the session before sending QueueQuery command
Posted by "Alex Rudyy (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/QPID-3790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Rudyy updated QPID-3790:
-----------------------------
Attachment: (was: 0001-QPID-3784-Introduce-JVM-env-variable-to-run-a-dispat.patch)
> 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: Robbie Gemmell
> Fix For: 0.15
>
> Attachments: 0001-QPID-3790-Add-a-method-AMQSession.getQueueDepth-AMQD.patch
>
>
> 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
[jira] [Updated] (QPID-3790) Add a new method
getQueueDepth(AMQDestionation, boolean) into AMQSession to allow syncing
the session before sending QueueQuery command
Posted by "Alex Rudyy (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/QPID-3790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Rudyy updated QPID-3790:
-----------------------------
Status: Ready To Review (was: In Progress)
> 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
>
> Attachments: 0001-QPID-3790-Add-a-method-AMQSession.getQueueDepth-AMQD.patch
>
>
> 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
[jira] [Updated] (QPID-3790) Add a new method
getQueueDepth(AMQDestionation, boolean) into AMQSession to allow syncing
the session before sending QueueQuery command
Posted by "Robbie Gemmell (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/QPID-3790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robbie Gemmell updated QPID-3790:
---------------------------------
Assignee: Alex Rudyy (was: Robbie Gemmell)
Status: Open (was: Ready To Review)
> 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
>
> Attachments: 0001-QPID-3790-Add-a-method-AMQSession.getQueueDepth-AMQD.patch
>
>
> 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
[jira] [Commented] (QPID-3790) Add a new method
getQueueDepth(AMQDestionation, boolean) into AMQSession to allow syncing
the session before sending QueueQuery command
Posted by "Robbie Gemmell (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/QPID-3790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13197786#comment-13197786 ]
Robbie Gemmell commented on QPID-3790:
--------------------------------------
Change itself looks fine, but I would use QpidTestCase to tidy up the system property manipulation.
> 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: Robbie Gemmell
> Fix For: 0.15
>
> Attachments: 0001-QPID-3790-Add-a-method-AMQSession.getQueueDepth-AMQD.patch
>
>
> 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
[jira] [Updated] (QPID-3790) Add a new method
getQueueDepth(AMQDestionation, boolean) into AMQSession to allow syncing
the session before sending QueueQuery command
Posted by "Alex Rudyy (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/QPID-3790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Rudyy updated QPID-3790:
-----------------------------
Summary: Add a new method getQueueDepth(AMQDestionation, boolean) into AMQSession to allow syncing the session before sending QueueQuery command (was: Add a new method getQueueDepth(AMQDestionation, boolean) into AMQSession to allow sync message acknowledgment before sending QueueQuery command)
> 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
> 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
[jira] [Updated] (QPID-3790) Add a new method
getQueueDepth(AMQDestionation, boolean) into AMQSession to allow syncing
the session before sending QueueQuery command
Posted by "Alex Rudyy (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/QPID-3790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Rudyy updated QPID-3790:
-----------------------------
Attachment: 0001-QPID-3790-Add-a-method-AMQSession.getQueueDepth-AMQD.patch
Added a patch with an enhancement
> 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
>
> Attachments: 0001-QPID-3790-Add-a-method-AMQSession.getQueueDepth-AMQD.patch
>
>
> 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
[jira] [Updated] (QPID-3790) Add a new method
getQueueDepth(AMQDestionation, boolean) into AMQSession to allow syncing
the session before sending QueueQuery command
Posted by "Alex Rudyy (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/QPID-3790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Rudyy updated QPID-3790:
-----------------------------
Attachment: 0001-QPID-3790-Add-a-method-AMQSession.getQueueDepth-AMQD.patch
> 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: Robbie Gemmell
> Fix For: 0.15
>
> Attachments: 0001-QPID-3790-Add-a-method-AMQSession.getQueueDepth-AMQD.patch
>
>
> 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
[jira] [Assigned] (QPID-3790) Add a new method
getQueueDepth(AMQDestionation, boolean) into AMQSession to allow syncing
the session before sending QueueQuery command
Posted by "Alex Rudyy (Assigned) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/QPID-3790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Rudyy reassigned QPID-3790:
--------------------------------
Assignee: Robbie Gemmell (was: Alex Rudyy)
Robbie,
I changed AMQSession_0_10Test which extends QpidTestCase now and uploaded a new patch
Could you please commit it?
> 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: Robbie Gemmell
> Fix For: 0.15
>
> Attachments: 0001-QPID-3784-Introduce-JVM-env-variable-to-run-a-dispat.patch
>
>
> 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
[jira] [Assigned] (QPID-3790) Add a new method
getQueueDepth(AMQDestionation, boolean) into AMQSession to allow syncing
the session before sending QueueQuery command
Posted by "Alex Rudyy (Assigned) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/QPID-3790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Rudyy reassigned QPID-3790:
--------------------------------
Assignee: Robbie Gemmell (was: Alex Rudyy)
Robbie,
Could you please review and commit the suggested enhancement?
> 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: Robbie Gemmell
> Fix For: 0.15
>
> Attachments: 0001-QPID-3790-Add-a-method-AMQSession.getQueueDepth-AMQD.patch
>
>
> 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