You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2011/04/17 17:35:05 UTC

[jira] [Commented] (CAMEL-3852) camel-cache - Should use Camel style constant keys

    [ https://issues.apache.org/jira/browse/CAMEL-3852?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020811#comment-13020811 ] 

Claus Ibsen commented on CAMEL-3852:
------------------------------------

We have done some improvements to came-cache in 2.8. So we might as well just do this as well.
I think since the commands is to instruct the cache what to do, we should remove them after use, eg so we dont propagate those commands any further.

> camel-cache - Should use Camel style constant keys
> --------------------------------------------------
>
>                 Key: CAMEL-3852
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3852
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-cache
>    Affects Versions: 2.7.0
>            Reporter: Claus Ibsen
>            Assignee: Ben O'Day
>            Priority: Minor
>             Fix For: 2.8.0
>
>
> The CacheConstant use all upper cases and they are not using the Camel style which we should use.
> It should be
> "CamelCacheAdd" instead of "ADD"
> and so forth.
> This also ensures those headers is not propagated over remote transports as they should not.
> In fact we should consider removing those headers in the camel-cache code as they are just input parameters to control the operation.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira