## Deploying a Project to a JMX Connected Container

### Overview

Deploying into a container connected to the developer tools' 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 developer tools.

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 The Fuse JMX Navigator.

### 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 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

The Fuse JMX Navigator
Configuring a Container's Deploy Folder
Editing a routing context in the route editor
Tracing messages through routes