You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Nicolas Filotto (Jira)" <ji...@apache.org> on 2022/04/08 13:14:00 UTC

[jira] [Commented] (CAMEL-17923) Add the name of the constant to the header model

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

Nicolas Filotto commented on CAMEL-17923:
-----------------------------------------

The corresponding PR https://github.com/apache/camel/pull/7401

> Add the name of the constant to the header model
> ------------------------------------------------
>
>                 Key: CAMEL-17923
>                 URL: https://issues.apache.org/jira/browse/CAMEL-17923
>             Project: Camel
>          Issue Type: Improvement
>            Reporter: Nicolas Filotto
>            Assignee: Nicolas Filotto
>            Priority: Major
>             Fix For: 3.17.0
>
>
> In the documentation of an header only the name of the header is provided but the good practice is to use the related constant instead of using a string directly, so we should rather propose the name of the constant that holds the name of the header to avoid typos and to ease potential future renaming.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)