Camel comes with over 80 components, so you can imagine that we don't install all of them by default. This section shows you how to find available components and how to install them at runtime.

List available components

Camel components are available as installable features. You can look at the full list of available features using the features:list command, using grep to limit things down to features related to camel:

karaf@root> features:list | grep camel
[installed  ] [2.10.3    ] camel                                repo-0
[installed  ] [2.10.3    ] camel-core                           repo-0
[installed  ] [2.10.3    ] camel-spring                         repo-0
[installed  ] [2.10.3    ] camel-blueprint                      repo-0
[uninstalled] [2.10.3    ] camel-test                           repo-0
[uninstalled] [2.10.3    ] camel-cxf                            repo-0
[uninstalled] [2.10.3    ] camel-cache                          repo-0
[uninstalled] [2.10.3    ] camel-castor                         repo-0
...

The items marked with installed in the first column have already been installed and are available for use in your Camel routes.

Install and uninstalling components

You can use features:install to install any component on the list.

An example: to install the camel-cache component

karaf@root> features:install camel-cache

Similarly, you can also uninstall components that you're no longer using with features:uninstall

karaf@root> features:uninstall camel-cache
{pygementize}