A JBoss Project
Red Hat

JBoss Fuse Tooling - Camel File Validation - Existing, Improved and New

posted by Aurélien Pupier on Jun 03, 2016.

jbtis fuse jbosscentral

Comments

Note: This article has been posted also on Red Hat Developers Program blog

As I mentioned in this earlier post, the 8.0.0.Beta2 version of JBoss Fuse Tooling is available. In this article I will cover another new and updated feature: validations. I will explain what was already available and what’s new which improves productivity.

Existing

In Fuse Camel Editor, the classic XML editor is used in the source tab. Consequently, we can rely on the Eclipse built-in validation of xml files against xsd. You just have to right-click on the source code, then Validate.

validation-XSD

There was a limitation about blueprint, I let you check this issue report in case the validation doesn’t work for you in previous versions: FUSETOOLS-1653.

Improved and New

Fuse validation everywhere

Going further than the xsd validation, the Fuse validation validates some characteristics of the component URI. This validation reports Problem markers against the Camel Component. This kind of validation was already available through Properties view but there was no global vision of these issues.

You can now see markers in:

  • Project explorer

  • Camel Route Diagram

  • Tree nodes for Global configuration element

  • Source tab editor

  • Problems view

validationEverywhere validationOnXmlFile

Jump from Problems view

When double-clicking on Fuse Validation error in Problems view, you are redirected to the correct Editor tab depending on which specific Camel element the error comes from.

For the xsd validation, you are redirected to the source editor.

Latest posts

Integration Tooling for Eclipse Oxygen

by Paul Leacu on Aug 16, 2017.

JBoss Tools 4.5.0.AM2 for Eclipse Oxygen.0

by Jeff Maury on Jul 18, 2017.

JBoss Tools 4.5.0.AM1 for Eclipse Oxygen.0

by Jeff Maury on Jun 27, 2017.

Are you a Developer User Experience lead ?

by Misha Husnain Ali on May 31, 2017.

Looking for older articles ? See the Archived entries.
back to top