You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Robbie Gemmell (JIRA)" <qp...@incubator.apache.org> on 2009/07/22 15:17:14 UTC
[jira] Assigned: (QPID-1961) widen viewMessages(int From, int To)
AMQQueueMBean method to use Long values
[ https://issues.apache.org/jira/browse/QPID-1961?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robbie Gemmell reassigned QPID-1961:
------------------------------------
Assignee: Aidan Skinner (was: Robbie Gemmell)
Hi Aidan, can you review this change please, thanks.
> widen viewMessages(int From, int To) AMQQueueMBean method to use Long values
> ----------------------------------------------------------------------------
>
> Key: QPID-1961
> URL: https://issues.apache.org/jira/browse/QPID-1961
> Project: Qpid
> Issue Type: Sub-task
> Components: Java Broker, Java Management : JMX Console
> Affects Versions: M2.1, M3, M4, 0.5
> Reporter: Robbie Gemmell
> Assignee: Aidan Skinner
> Priority: Minor
> Fix For: 0.6
>
>
> The viewMessages() operation is inherently limited to viewing the first 2^31 undelivered messages on the queue at any given time due to its use of int parameters. Equally, getMessageCount() returns an int value. However, the SimpleAMQQueue implementation is not limited to 2^31 messages and so there is potential that not all messages can be viewed.
> This should be rectified by increasing the parameter range to Long. The viewMessages() implementation will then be limited to viewing ANY 2^31 messages on the queue as the TabularData OpenData result sets used to support generic JMX clients are also fixed in size by an int index.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org