JBoss Fuse Tooling – Camel File Validation – Existing, Improved and New
Red Hat JBoss Fuse is an open source, lightweight and modular integration platform that allows you to connect services and systems across your entire application portfolio. And if you’re familiar with Fuse, you’re probably familiar with the Fuse Tooling that comes with Red Hat JBoss Developer Studio.
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.
Over the past several releases of the Fuse Camel Editor, and ongoing, the classic XML editor has been used in the source tab to display route configuration. This means we can rely on Eclipse’s built-in validation of XML files against XSD. To take advantage of this, you can simply right-click on the source code, then select “Validate”.
There was, however, a limitation with blueprint. If you’ve experienced this issue, you can track progress here, in the issue report: FUSETOOLS-1653.
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
Improved and New
Going farther than the XSD validation, Fuse validation also validates some characteristics of the component URI. This validation reports “problem markers” against the Camel Component (problem markers appear in several places in the Eclipse user interface). This kind of validation was already available through the Properties view. Due to the lack of problem markers support, however, 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
Jump from Problems view
Lastly, when double-clicking on Fuse Validation error in the Problems view, you are redirected to the correct editor tab where you can view the specific Camel element the error comes from. For XSD validation, you are redirected to the source editor.
This new features allows you to spot very quickly the specific component to modify.
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.