activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dej...@apache.org
Subject svn commit: r1417328 - /activemq/trunk/activemq-broker/src/main/java/org/apache/activemq/broker/region/Queue.java
Date Wed, 05 Dec 2012 09:28:48 GMT
Author: dejanb
Date: Wed Dec  5 09:28:48 2012
New Revision: 1417328

URL: http://svn.apache.org/viewvc?rev=1417328&view=rev
Log:
https://issues.apache.org/jira/browse/AMQ-3935 - always page in messages when browsing

Modified:
    activemq/trunk/activemq-broker/src/main/java/org/apache/activemq/broker/region/Queue.java

Modified: activemq/trunk/activemq-broker/src/main/java/org/apache/activemq/broker/region/Queue.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-broker/src/main/java/org/apache/activemq/broker/region/Queue.java?rev=1417328&r1=1417327&r2=1417328&view=diff
==============================================================================
--- activemq/trunk/activemq-broker/src/main/java/org/apache/activemq/broker/region/Queue.java
(original)
+++ activemq/trunk/activemq-broker/src/main/java/org/apache/activemq/broker/region/Queue.java
Wed Dec  5 09:28:48 2012
@@ -1022,7 +1022,7 @@ public class Queue extends BaseDestinati
     public void doBrowse(List<Message> browseList, int max) {
         final ConnectionContext connectionContext = createConnectionContext();
         try {
-            pageInMessages(!isUseCache());
+            pageInMessages(true);
             List<MessageReference> toExpire = new ArrayList<MessageReference>();
 
             pagedInPendingDispatchLock.writeLock().lock();



Mime
View raw message