What's New in 4.6.0.Final
Forge Runtime updated to 3.9.0.Final
The included Forge runtime is now 3.9.0.Final. Read the official announcement here.
Camel URI completion with XML DSL
As announced here, it was already possible to have Camel URI completion with XML DSL in the source tab of the Camel Route editor by installing the Language Support for Apache Camel in your IDE.
This feature is now installed by default with Fuse Tooling!
Now you have the choice to use the properties view with UI help to configure Camel components or to use the source editor and benefit from completion features. It all depends on your development preferences!
Camel Rest DSL from WSDL wizard
There is a new "Camel Rest DSL from WSDL" wizard. This wizard wraps the wsdl2rest tool now included with the Fuse 7 distribution, which takes a WSDL file for a SOAP-based (JAX-WS) web service and generates a combination of CXF-generated code and a Camel REST DSL route to make it accessible using REST operations.
To start, you need an existing Fuse Integration project in your workspace and access to the WSDL for the SOAP service. Then use File→New→Other… and select Red Hat Fuse→Camel Rest DSL from WSDL wizard.
On the first page of the wizard, select your WSDL and the Fuse Integration project in which to generate the Java code and Camel configuration.
On the second page, you can customize the Java folder path for your generated classes, the folder for the generated Camel file, plus any customization for the SOAP service address and destination REST service address.
Click Finish and the new Camel configuration and associated Java code are generated in your project. The wizard determines whether your project is Blueprint, Spring, or Spring Boot based, and it creates the corresponding artifacts without requiring any additional input. When the wizard is finished, you can open your new Camel file in the Fuse Tooling Route Editor to view what it created.
That brings us to another new functionality, the REST tab in the Fuse Tooling Route Editor.
Camel Editor REST tab
The Fuse Tooling Route Editor provides a new REST tab. For this release, the contents of this tab is read-only and includes the following information:
Details for the REST Configuration element including the component (jetty, netty, servlet, etc.), the context path, the port, binding mode (JSON, XML, etc.), and host. There is only one REST Configuration element.
A list of REST elements that collect REST operations. A configuration can have more than one REST element. Each REST element has an associated property page that displays additional details such as the path and the data it consumes or produces.
A list of REST operations for the selected REST element. Each of the operations has an associated property page that provides details such as the URI and output type.
For this release, the REST tab is read-only. If you want to edit the REST DSL, use the Route Editor Source tab. When you make changes and save them in the Source tab, the REST tab refreshes to show your updates.
Maven support updated to M2E 1.9.1
The Maven support is based on Eclipse M2E 1.9.1, bringing the following features:
Advanced classpath isolation
Thanks to Eclipse Photon, there are new two different classpathes, the main and the test classpath. The main classes will now no longer see the test classes and dependencies
Enhanced Spring Boot support for server adapter
Spring Boot runtime was already supported by the OpenShift server adapter. However, it has one major limitation: files and resources were synchronized between the local workstation and the remote pod(s) only for the main project. If your Spring Boot application had dependencies that were present in the local workspace, any change to a file or resource of one of these dependencies was not handled. This is not true anymore.
Related JIRA: JBIDE-25504
Wildfly 13 Server Adapter
A server adapter has been added to work with Wildfly 13. It adds support for Servlet 4.0.
Related JIRA: JBIDE-26071
Web Services Tools
JAX-RS 2.1 Support
JAX-RS 2.1 is part of JavaEE8 and JBoss Tools now provides you with support for this update of the specification.
Server side events
JAX-RS 2.1 brought support for server side events. The
SseEventSink resources can now be injected into
method arguments thanks to the @Context annotation.
Related JIRA: JBIDE-26040