2015-12-16

Video of Apache Camel tooling to edit your routes in type safe manner

Today its a special day. I am doing two blog post on the same day. I do not think this has happened before.

This blog post is a quick video which I though was about 5 minutes, but its more 10 minutes. Sorry so you may need to grab a big cup of coffee or tea.

The video demonstrates the current progress we have done on the Camel tooling from the fabric8 project. We have developed a set of small Camel commands that let you able to edit/work on Apache Camel projects in any IDE of choice such as IDEA, Eclipse or NetBeans. And as well from command line and web browser. The latter is being demonstrated later.

This video shows how to edit Camel routes with endpoints in a type safe manner that are Java code. To do that I use the vanilla Apache Camel 2.16.1 release with the camel-example-spring-boot.

fabric8 camel commands to edit Camel endpoints in a type safe manner

The video demonstrates how to install the camel tool and use it in IDEA, Eclipse and from the command line. Yay finally you are not forced to use Eclipse heavy weight tooling. Just imagine when we get code awareness added to the tooling so you just press ctrl + space in your Camel endpoints uris and the tooling shows a popup with code suggestion for every option, just as the tooling does today for Java code ;)

To active and use forge from IDEA press cmd + alt + 4. From Eclipse its just cmd + 4.

Beers++ to the JBoss Forge team to make this tooling library so awesome, allowing us to develop the code once, and reuse it in IDEA, Eclipse, NetBeans, CLI and web with REST.

The Camel tooling is documented (a bit limited) at the fabric8 documentation. But there you can find the latest release, as we do frequent releases at fabric8 so it can be a good idea, to take a look there to ensure you install the latest if you try this on your computer.


3 comments:

Souciance Eqdam Rashti said...

This looks awesome! I especially like that you can check and edit endpoints in the different editors. This will definitely make life easier for users. If indeed, as you said at the end, add some validation via maven so you can check at compile time then that would be great. Imaging asking Jenkins to run the maven-plugin and get the results when you build. That would be super cool and you can be sure that your uris are validated before going to QA or prod environment.

Keep up the great work.

P.S
Like how you seem to enjoy working with eclipse ;)

Claus Ibsen said...

I just posted a tweet with a very early screenshot of the maven plugin in action that validates Java routes
https://twitter.com/davsclaus/status/679679069684920320

paleome said...

This is really helpful, thanks a ton!