Apache Camel URI completion in Eclipse XML Editor
Apache Camel empowers you to define routing and mediation rules in a variety of domain-specific languages, including a Java-based Fluent API, Spring or Blueprint XML Configuration files, and a Scala DSL. Apache Camel uses URIs to work directly with any kind of Transport or messaging model such as HTTP, ActiveMQ, JMS, JBI, SCA, MINA or CXF, as well as pluggable Components and Data Format options. Apache Camel is a small library with minimal dependencies for easy embedding in any Java application.
Completion for Apache Camel URI in Eclipse XML Editor
Thanks to this new community project aiming at providing an Apache Camel Language Server Protocol. Eclipse XML Editor is proposing completion for Apache Camel URIs.
It is compatible with the source tab of Camel Route Editor of Fuse Tooling either.
See this page on how to install the plugin – not completely trivial as it is still a very early stage of the project – and benefits the Camel URI completion in your IDE!
Availability in major IDEs
The technology choice was to use a Language Server Protocol. This means that improvements on the Apache Camel Language Server Protocol implementation would benefit all supported clients. Several IDEs and editors can benefit from this. You can see the potential list here. Work has started on VS Code, and we expect to have it for Eclipse Che and IntelliJ IDEA too. More client contributions are welcome for any others IDEs.
Merge effort with Camel IDEA plugin
There is an existing plugin for IntelliJ IDEA for Camel support. Unfortunately, IntelliJ IDEA is one of the rare major IDEs that is not supporting the Language Server Protocol by default. I hope that they will support it one day. For now, a third-party plugin can be used. I started an investigation to merge the development effort for both Camel projects. Help is very welcome.
Join the Red Hat Developer Program (it’s free) and get access to related cheat sheets, books, and product downloads.
Download and learn more about Red Hat JBoss Fuse, an innovative modular, cloud-ready architecture, powerful management and automation, and world class developer productivity. It is Java™ EE 7 certified and features powerful, enterprise-grade features such as high availability clustering, distributed caching, messaging, transactions, and a full web services stack.