Apache Camel URI Completion with Java DSL
Apache Camel URI completion has already been available for XML DSL in Eclipse Desktop, Eclipse Che, Red Hat OpenShift.io, Visual Studio Code and IntelliJ. However, for Java DSL it was available only in IntelliJ. But Visual Studio Code and Eclipse Desktop are now also providing the Apache Camel URI completion for Java DSL.
Below, you can see it in action:
Everything you need to grow your career.
With your free Red Hat Developer program membership, unlock our library of cheat sheets and ebooks on next-generation application development.SIGN UP
- In Eclipse Desktop IDE:
- In Visual Studio Code:
Right now, the requirements for URI completion are:
- The filename needs to end with
- The file needs to contain
- The Camel URI String needs to be used directly as a parameter of the
RouteBuilder.tomethods (which means no space, no variable).
You may ask, “What about Eclipse Che and OpenShift.io?” Work is in progress to make URI completion possible with them also. You can follow this issue to check on the progress.
As a reminder, it is now easy to install Apache Camel in all these environments; see my previous article describing the installation process.
If you have suggestions for improvements, please raise them in the issue tracker.
Enjoy this new feature!