make lazy dispatch the default for queues

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@636067 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Davies 2008-03-11 19:13:50 +00:00
parent 4fcacf7772
commit 7d70fec53a
2 changed files with 2 additions and 4 deletions

View File

@ -16,8 +16,6 @@
*/
package org.apache.activemq.broker.region;
import java.io.IOException;
import org.apache.activemq.broker.Broker;
import org.apache.activemq.broker.BrokerService;
import org.apache.activemq.broker.ConnectionContext;
@ -45,7 +43,7 @@ public abstract class BaseDestination implements Destination {
private int maxPageSize=1000;
private boolean useCache=true;
private int minimumMessageSize=1024;
private boolean lazyDispatch;
private boolean lazyDispatch=true;
protected final DestinationStatistics destinationStatistics = new DestinationStatistics();
protected final BrokerService brokerService;

View File

@ -61,7 +61,7 @@ public class PolicyEntry extends DestinationMapEntry {
private long minimumMessageSize=1024;
private boolean useConsumerPriority=true;
private boolean strictOrderDispatch=false;
private boolean lazyDispatch;
private boolean lazyDispatch=true;
public void configure(Broker broker,Queue queue) {
if (dispatchPolicy != null) {