mirror of https://github.com/apache/activemq.git
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
This commit is contained in:
parent
c8e6ff245b
commit
6ac27998aa
|
@ -836,8 +836,8 @@ public class ListContainerImpl extends BaseContainerImpl implements ListContaine
|
||||||
if(item!=null){
|
if(item!=null){
|
||||||
try{
|
try{
|
||||||
// ensure it's up to date
|
// ensure it's up to date
|
||||||
// item=indexList.getEntry(item);
|
StoreEntry itemToUse=indexList.getEntry(item);
|
||||||
StoreLocation data=item.getValueDataItem();
|
StoreLocation data=itemToUse.getValueDataItem();
|
||||||
result=dataManager.readItem(marshaller,data);
|
result=dataManager.readItem(marshaller,data);
|
||||||
}catch(IOException e){
|
}catch(IOException e){
|
||||||
log.error("Failed to get value for "+item,e);
|
log.error("Failed to get value for "+item,e);
|
||||||
|
|
Loading…
Reference in New Issue