Cache Component needs to check for null values during GET operations
--------------------------------------------------------------------

                 Key: CAMEL-3077
                 URL: https://issues.apache.org/activemq/browse/CAMEL-3077
             Project: Apache Camel
          Issue Type: Bug
    Affects Versions: 2.4.0
         Environment: Received 2.4.0 release of Camel and Camel Cache component 
from Maven repo
            Reporter: John Ellis
         Attachments: CacheProducer.NPE.patch

EhCache often has a bit of lag time when invalidating expired cache elements, 
first setting the Element value to null and then removing the key. If you are 
hitting a cache rapidly one often will run across a key that is present in the 
cache that still has a null element entry.

The logic for successfully key retrieval just needs to be slightly tweaked to 
check for null values.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to