You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Michal Svab (JIRA)" <ji...@apache.org> on 2012/07/11 01:03:33 UTC

[jira] [Updated] (CAMEL-5436) Cache expects string in CacheKey header

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

Michal Svab updated CAMEL-5436:
-------------------------------

    Attachment: 0001-Use-type-conversion-for-non-string-cache-key.patch

Attached a patch.
                
> Cache expects string in CacheKey header
> ---------------------------------------
>
>                 Key: CAMEL-5436
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5436
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-cache
>    Affects Versions: 2.10.0
>            Reporter: Michal Svab
>         Attachments: 0001-Use-type-conversion-for-non-string-cache-key.patch
>
>
> Currently if you specify other value than String as the cache key header, we get ClassCastException. It would be great, if it would use the type converter to convert the key object into String.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira