Red Hat Training

A Red Hat training course is available for Red Hat Fuse

11.2. Deploying a Project to a JMX Connected Container

Overview

Deploying into a container connected to the tooling's Fuse JMX Navigator provides a number of benefits over using a container's deploy folder. The chief benefits are that the project is automatically packaged into a bundle, and you can monitor the results of the deployment in the tooling.
All of the supported containers that are connected to the Fuse JMX Navigator are listed in the Deploy to... menu. For information about how to connect a container to the Fuse JMX Navigator, see Chapter 10, The Fuse JMX Navigator.
Note
Projects cannot be deployed to remotely connected JMX containers. Only local containers are listed in the Deploy to... menu.

Procedure

To deploy a project to a JMX connected container:
  1. Open the Fuse Integration perspective.
  2. In Fuse JMX Navigator, expand the JMX server hosting the desired container.
    Containers that are running on the local machine are listed in the special Local Processes node.
  3. Double-click the entry for the desired container to connect to it.
  4. In Project Explorer, select the project you want to deploy.
  5. Open the project's context menu.
  6. Click Deploy to...container[xxx].
  7. Check the Console view to see that your project builds successfully and is installed in the container.
  8. In Fuse JMX Navigator, click container[xxx]Bundles to populate the Properties view with the list of bundles installed in the container.
  9. Use the search tool in Properties view to check that your project's bundle was installed.
    When you start typing the name of your project the search tool will display the bundles whose names match the current string.
  10. In Fuse JMX Navigator, open container[xxx]'s context menu.
  11. Click Refresh.
  12. Expand the container[xxx] node to view your project's nodes.
    Now you can test and debug your application in a Red Hat JBoss Fuse environment.

Related topics

Chapter 10, The Fuse JMX Navigator
Section 11.1.1, “Configuring a Container's Deploy Folder”
Chapter 4, Editing a routing context in the route editor
Chapter 14, Tracing messages through routes