From 6ac27998aa961a1bda7d0404c69f954de111b6d3 Mon Sep 17 00:00:00 2001 From: Robert Davies Date: Sat, 17 Feb 2007 07:10:03 +0000 Subject: [PATCH] for getValue() ensure the StoreEntry is up to date git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@508719 13f79535-47bb-0310-9956-ffa450edef68 --- .../activemq/kaha/impl/container/ListContainerImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/activemq-core/src/main/java/org/apache/activemq/kaha/impl/container/ListContainerImpl.java b/activemq-core/src/main/java/org/apache/activemq/kaha/impl/container/ListContainerImpl.java index a7fdc4926a..4d3c850ce0 100644 --- a/activemq-core/src/main/java/org/apache/activemq/kaha/impl/container/ListContainerImpl.java +++ b/activemq-core/src/main/java/org/apache/activemq/kaha/impl/container/ListContainerImpl.java @@ -836,8 +836,8 @@ public class ListContainerImpl extends BaseContainerImpl implements ListContaine if(item!=null){ try{ // ensure it's up to date - // item=indexList.getEntry(item); - StoreLocation data=item.getValueDataItem(); + StoreEntry itemToUse=indexList.getEntry(item); + StoreLocation data=itemToUse.getValueDataItem(); result=dataManager.readItem(marshaller,data); }catch(IOException e){ log.error("Failed to get value for "+item,e);