RSS

Using Karaf Features to deploy OSGi bundles

29 Oct

Have you ever found yourself deploying and undeploying a set of bundles into Apache ServiceMix? Do you need an easy way to install these bundles? To make this easy for yourself and your clients, you can use Karaf Features. A feature is a special kind of XML file, known as feature repository.

Here is an example for a custom feature:

<features name="MyCustomRepository">
    <feature name="my-custom-feature">
        <bundle>mvn:com.mycompany.example/myBundleName1/1.0</bundle>
        <bundle>mvn:com.mycompany.example/myBundleName2/1.0</bundle>
    </feature>
</features> 
Advertisements
 
2 Comments

Posted by on October 29, 2010 in karaf, osgi, servicemix, Uncategorized

 

2 responses to “Using Karaf Features to deploy OSGi bundles

  1. kivia

    January 3, 2016 at 9:04 am

    great website, looking for more tutorial ,thanks so much

     
  2. handmade soap

    August 5, 2013 at 10:01 am

    I love it when individuals come together and share opinions.

    Great website, continue the good work!

     

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: