Hi! Do we have any documentation on how to create new languages in Camel? Not use them, create them.
I'm thinking of adding a new geospatial language with capabilities for conditionals like "if geometryA is contained inside geometryB" or similar. This will help processing data by areas, for example. Or filtering only the data that match certain spatial constraints. I have seen how xpath language is defined in https://github.com/apache/camel/tree/main/components/camel-xpath and I think I can use that as an example of how to define a new language. But then I see that I would have to touch core stuff like https://github.com/apache/camel/blob/main/core/camel-core-model/src/main/java/org/apache/camel/builder/ExpressionClause.java to be able to build the routes programmatically. Does this mean that all languages must be on core in the end? There's no way to make them optional/dependencies? I'm trying to make it optional because I am going to use the geotools library to handle geometries and that means another dependency I want to avoid. Even if it is not big, it's another one. Kind regards, MarĂa. She / Her / Hers