Skip to main content

Example: Deploying a sample feature

In the rest of this chapter, we describe in detail the process involved in provisioning. But as a quick demonstration, we'll run a sample Apache Camel feature already present in the Talend ESB distribution. In the console, run the following commands:

feature:repo-add mvn:org.apache.camel/camel-example-osgi/2.10.0/xml/features
feature:install camel-example-osgi

The example installed uses Camel to start a timer every 2 seconds and output a message on the console. These feature:repo-add and feature:install commands download the Camel features descriptor and install this example. The output is as follows:

>>>> SpringDSL set body:  Fri Jan 07 11:59:51 CET 2011
>>>> SpringDSL set body:  Fri Jan 07 11:59:53 CET 2011
>>>> SpringDSL set body:  Fri Jan 07 11:59:55 CET 2011

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!