mirror of https://github.com/apache/activemq.git
Make the max value actually be Short.MAX_VALUE git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1174954 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ca90cc7b8c
commit
fef66a6e98
|
@ -26,8 +26,9 @@ import org.slf4j.LoggerFactory;
|
|||
* @org.apache.xbean.XBean element="prefetchPolicy"
|
||||
*
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public class ActiveMQPrefetchPolicy extends Object implements Serializable {
|
||||
public static final int MAX_PREFETCH_SIZE = Short.MAX_VALUE - 1;
|
||||
public static final int MAX_PREFETCH_SIZE = Short.MAX_VALUE;
|
||||
public static final int DEFAULT_QUEUE_PREFETCH = 1000;
|
||||
public static final int DEFAULT_QUEUE_BROWSER_PREFETCH = 500;
|
||||
public static final int DEFAULT_DURABLE_TOPIC_PREFETCH = 100;
|
||||
|
|
Loading…
Reference in New Issue