Change prefetch size limit for topics from 32766 to 32767
---------------------------------------------------------

                 Key: AMQ-3242
                 URL: https://issues.apache.org/jira/browse/AMQ-3242
             Project: ActiveMQ
          Issue Type: Improvement
            Reporter: Robert Liguori


The default prefetch size limit for topics is noted as 32766; 
http://activemq.apache.org/performance-tuning.html

The FUSE source documentation 
(http://fusesource.com/docs/broker/5.4/tuning/index.html) states, "Default 
prefetch limit is 32766. The default limit of 32766 is the largest value of a 
short and is the maximum possible value of the prefetch limit.".

The largest value for a short actually is 32767 
(http://java.sun.com/docs/books/jls/second_edition/html/typesValues.doc.html).

This is really a trivial issue, but should the default prefetch limit for 
topics be changed from 32766 to 32767 to reflect the actual ceiling?


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to