Endpoint AnnotationsPage edited by James StrachanChanges (1)
Full ContentEndpoint AnnotationsAs of Camel 2.12 you can annotate Endpoint and Consumer classes so that their configuration documentation can be automatically generated by the camel-package-maven-plugin (rather like maven plugin goals get their parameters documented automatically). The documentation is then included into the jar as org/apache/camel/component/scheme.html as well as appearing in the maven site documentation as a project report. Supported annotations
For example here is the TimerEndpoint, notice the use of these annotations and in its base classes. Not only are the annotations useful for automatically generating the documentation; we can use them to refine the validation of the code during configuration and they can be useful for tool providers so they can more easily introspect the configuration options. See the ComponentConfiguration documentation on the tooling aspect.
Change Notification Preferences
View Online
|
View Changes
|
Add Comment
|
- [CONF] Apache Camel > Endpoint Annotations confluence
- [CONF] Apache Camel > Endpoint Annotations confluence
- [CONF] Apache Camel > Endpoint Annotations confluence
- [CONF] Apache Camel > Endpoint Annotations confluence
- [CONF] Apache Camel > Endpoint Annotations confluence