Red Hat JBoss Fuse

Subtitle
A lightweight and modular integration platform

Hello World!

Build Something Today

Let's walk through everything you need to build your first application.

Red Hat JBoss Fuse

Thank you for downloading

Your download should start automatically. If you have any problems with the download, please use the direct link.



Hello World!

Preamble

Prerequisites

Before you start, make sure you have installed the following software:

  • Java SE Development Kit (JDK) version 1.8.x (Java 8) - we recommend Oracle JDK or OpenJDK

  • Apache Maven

1. Install and configure the EAP runtime

2 minutes

Body
  1. Download the JBoss EAP runtime package.

  2. Run the JBoss EAP installer, as follows:

    java -jar jboss-eap-6.4.0-installer.jar
  3. During installation:

    1. Accept the terms and conditions

    2. Choose your preferred installation path, EAPInstall, for the JBoss EAP runtime

    3. Create an administrative user and make a careful note of these administrative user credentials for later

    4. You can accept the default settings on the remaining screens

  4. Download the Fuse on EAP runtime package.

  5. Open a command prompt and change directory to EAPInstall.

  6. From the EAPInstall directory, run the Fuse on EAP installer, as follows:

    java -jar <TEMP_LOCATION>/fuse-eap-installer-6.3.0.redhat-187.jar

2. Set up your development environment

2 minutes

Body

The following steps will install a local version of JBoss Developer Studio 10.4.0 (the Eclipse Neon edition) along with the Fuse tooling.

  1. Download the JBoss Developer Studio.

  2. Run the installer

    1. For Mac / Windows Development Hosts:

      1. Go to the folder you have downloaded the installer and either:

        1. Right-click on the installer jar

          Select Open With→Jar Launcher

      2. Or double-click on the jar to start the installer (on Windows).

    2. For Linux Development Hosts

      1. Go to the folder where you have downloaded the installer and execute it with

        java -jar devstudio-11.0.0.GA-installer-standalone.jar
    3. Select Additional Features to Install page, be sure to select JBoss Fuse Tooling

  3. During installation:

    1. Accept the terms and conditions

    2. Choose your preferred installation path

    3. Select the Java 8 JVM

    4. At the Select Platforms and Servers step, configure the runtime server by clicking Add and browsing to the location of the EAPInstall directory (see Install and configure the JBoss Fuse on JBoss EAP runtime)

    5. Select JBoss Fuse Development as additional features

  4. Developer environment will start up. When the Searching for runtimes dialog appears, click OK to create the JBoss EAP runtime.

  5. Accept any additional dependencies and license agreements.

3. Build your first application

5 minutes

Body

With your tooling and runtime installed, you’re ready to start your first project. We’ll get you started with a Spring-based Camel route on EAP.

Create a New Project

First, we need to create a new Fuse Project.

  1. Select File→New→Fuse Integration Project.

  2. Call it eap-camel. Click Next.

  3. Select your Red Hat JBoss EAP 6.4 Runtime server as the Target Runtime. Click Next.

  4. Select Use a predefined template.

  5. Select the Fuse on EAP→Medium→Spring on EAP template.

  6. Click Finish.

Deploy the Project to the Server

  1. In the Servers view (bottom left corner of the Fuse Integration perspective), if your server isn’t already started - select your runtime server and click the green arrow to start it.

  2. After the server has started, switch back to the Servers view, right-click on the server and select Add and Remove from the context menu.

  3. In the Add and Remove dialog, select your eap-camel project and click the Add > button.

  4. Click Finish.

Test the Project

As soon as the Camel route has been started, it will be available via a web address on your EAP server: http://localhost:8080/camel-test-spring?name=Kermit

You can view it in your favorite browser or directly in Eclipse through the Internal Web Browser (Window→Show View→Other, and then General→Internal Web Browser).

You should see in the console at that web address: “Hello Kermit”

Undeploy the Project

To stop and undeploy the bundle in the Fuse server:

  1. In the Servers view, select your running runtime server.

  2. Right-click on the server and select Add and Remove from the context menu.

  3. In the Add and Remove dialog, select your eap-camel project and click the Remove > button.

  4. Click Finish.

Next Steps

You now know how to:

  • Create one of the available Fuse project templates in your workspace.

  • Deploy a project into a running Fuse on EAP server.

  • Test a simple project.

  • Undeploy the project from the server.

Build Something Today

Let's walk through everything you need to build your first application.

Download Get Started
×