camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-5436) Cache expects string in CacheKey header
Date Wed, 11 Jul 2012 16:49:33 GMT

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

Claus Ibsen updated CAMEL-5436:
-------------------------------

      Priority: Minor  (was: Major)
    Issue Type: Improvement  (was: Bug)

This is not a bug.

Why do you use non strings as keys, this is very unusual. Can you tell more about your use-case.
                
> Cache expects string in CacheKey header
> ---------------------------------------
>
>                 Key: CAMEL-5436
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5436
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-cache
>    Affects Versions: 2.10.0
>            Reporter: Michal Svab
>            Priority: Minor
>         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

        

Mime
View raw message