Over a million developers have joined DZone.

Apache Camel URI Completion in Eclipse XML Editor

DZone's Guide to

Apache Camel URI Completion in Eclipse XML Editor

Read on to learn about latest changes to both Camel and Eclipse that allow developers to work with the integration power of Camel and the coding convenience of Eclipse.

· Integration Zone ·
Free Resource

Download Microservices for Java Developers: A hands-on introduction to frameworks and containers. Brought to you in partnership with Red Hat.

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 BlueprintXML 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 also compatible with the source tab of the Camel Route Editor, Fuse Tooling.

See this page on how to install the plugin - not completely trivial as it is still a very early stage of the project - and see the benefits of the Camel URI completion in your IDE!

What's Next?

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 into merging the development effort for both Camel projects. Help is very welcome.

Download Building Reactive Microservices in Java: Asynchronous and Event-Based Application Design. Brought to you in partnership with Red Hat

integration ,camel ,open source ide editor

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}