mirror of https://github.com/apache/activemq.git
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:
parent
87e878b2b5
commit
db1e6d1cb7
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue