Red Hat
Feb 11, 2015
by Christina Lin
Here is another tips and trick I think it is very useful when you want to deploy your Camel application with Fuse Fabric.

If you go back to my previous demo, my project were all deploy to container via Fuse Fabric. Fabric is great to manage and expand the environment for your applications. So what is in Fuse Fabric, a fabric is a collection of containers that share a fabric registry, within the registry you can find all the data that is needed to provisioning and managing.

If you logging to the console of Fuse Fabric. you will find four main tabs, "Runtime", "Wiki", "Dashboard" and "Health".

In the "Runtime" tab contains all the runtime operation, and management options,  such as container for run time container create/deletion. In "Profiles",we can find all the running profile(application) and the container it is running on in the page. Whereas in "Manage" actually allow you to add and remove profiles in a more clustered view. "MQ" tab allows you to configure the settings for messaging broker. And entire view of broker in the fabric environment. Registry has the exposed services in the Fabric registry. "API" and "EIP" are the 2 Tabs I want to talk about.

The "APIs" show the available web service in the fabric, and "EIP" shows the relation of the endpoints in fabric.

If you deploy you applications with only the dependency that you need in your profile, they might not be able find them in Fabric.

So to do this, it is very simple. all you have to do is just adding these feature into your profile.

  • fabric-cxf
  • fabric-groups
  • fabric-cxf-registry
  • fabric-zookeeper

And it's done.

1. Go to Wiki, and in your profile,

2. add the following feature into it.

For those of you using the fabric8 maven plugin, just add the 4 features in you configurations.

<fabric8.parentProfiles>feature-camel feature-cxf</fabric8.parentProfiles>          <fabric8.features>camel-jackson camel-cxf fabric-cxf-registry fabric-cxf fabric-zookeeper fabric-groups</fabric8.features>               
<fabric8.featureReposmvn:org.apache.camel.karaf/apache-camel/${version:camel}/xml/features </fabric8.featureRepos>

And that's it! Thanks, and good luck! :)
Original Post