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 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
menu.
Procedure
To deploy a project to a JMX connected container:
- Open the Fuse Integration perspective.
- 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.
- Double-click the entry for the desired container to connect to it.
- In Project Explorer, select the project you want to deploy.
- Open the project's context menu.
- Click
. - Check the Console view to see that your project builds successfully and is installed in the container.
- In Fuse JMX Navigator, click
to populate the Properties view with the list of bundles installed in the container. - 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.
- In Fuse JMX Navigator, open container[xxx]'s context menu.
- Click Refresh.
- 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 |