https://issues.apache.org/jira/browse/AMQ-3935 - always page in messages when browsing

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1417328 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Bosanac Dejan 2012-12-05 09:28:48 +00:00
parent 87e878b2b5
commit db1e6d1cb7
1 changed files with 1 additions and 1 deletions

View File

@ -1022,7 +1022,7 @@ public class Queue extends BaseDestination implements Task, UsageListener {
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();