You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "John Ellis (JIRA)" <ji...@apache.org> on 2010/08/25 05:25:48 UTC

[jira] Updated: (CAMEL-3077) Cache Component needs to check for null values during GET operations

     [ https://issues.apache.org/activemq/browse/CAMEL-3077?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Ellis updated CAMEL-3077:
------------------------------

    Attachment: CacheProducer.NPE.patch

> 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.