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

Guillaume Nodet commented on CAMEL-20422:
-----------------------------------------

The {{META-INF/services}} folder is defined and used by the JVM to store 
pointers to actual services loaded using the {{java.util.ServiceLoader}}.

If we were to move some files into the {{META-INF}} directory, and that would 
definitely help locating those imho, we should at the same time avoid 
over-using the {{META-INF/services}} directory and maybe use a 
{{META-INF/camel}} directory where we could put everything that is not an 
actual java service.

[~davsclaus] thoughts ?

> Move component json into META-INF
> ---------------------------------
>
>                 Key: CAMEL-20422
>                 URL: https://issues.apache.org/jira/browse/CAMEL-20422
>             Project: Camel
>          Issue Type: Improvement
>          Components: build system
>            Reporter: Claus Ibsen
>            Priority: Major
>             Fix For: 4.x
>
>
> Today we have a marker file in META-INF/services that point to the class of 
> the component.
> And then we generate json file with all component details such as options, 
> description etc. That file is located outside META-INF/services in the class 
> package so it can be anywhere.
> Lets standardize this and have it the same place as the marker file. This 
> makes it easier to find as the files are always in the same directory.
> We are doing this with the new transformer marker files.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to