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

James Strachan commented on CAMEL-228:
--------------------------------------

am kinda wondering that all header/property names used by components are in 
some well known annotated place that we can then find?

e.g.

maybe we annotate the classes they live in (typically a Component or Endpoint?) 
then annotate each header that they are a standard camel header.

e.g. something like

{code}
@CamelDocument
public class FooComponent {
@HeaderDocument
 public static final String FOO_NAME = "CamelFooName";
 ...
}
{code} 

Then we can start to automatically generate reference documentation of all the 
special header names used by components

> annotate the definitions of all the Camel headers/properties (e.g. 
> CamelFileName) so that we can slup the code and auto-generate a nice 
> reference document?
> -----------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-228
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-228
>             Project: Apache Camel
>          Issue Type: Improvement
>            Reporter: James Strachan
>            Priority: Minor
>             Fix For: 2.0.0
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to