Apache Camel K should be as lightweight as possible. Therefore, the Camel K project provides standalone Java files to describe a Camel integration. The downside to this practice is that existing IDEs cannot provide complete support out of the box. To provide a complete experience with Apache Camel K’s standalone Java files, there were three solutions:
- Create a fake project with Camel dependencies.
- Add all jar dependencies manually in a lib folder at the root of the workspace.
- Use the newest
java.project.referencedLibrariespreference from Red Hat’s Language Support for Java extension.
As a result, there is no intuitive configuration. However, Red Hat’s Tooling for Apache Camel K offers a new possibility.
Continue reading “Camel K standalone Java file: Now with Java language support”