You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicemix.apache.org by "Jean-Baptiste Martin (JIRA)" <ji...@apache.org> on 2016/07/15 13:35:20 UTC

[jira] [Created] (SM-3066) Camel commands removed in Karaf console when uninstalling feature

Jean-Baptiste Martin created SM-3066:
----------------------------------------

             Summary: Camel commands removed in Karaf console when uninstalling feature
                 Key: SM-3066
                 URL: https://issues.apache.org/jira/browse/SM-3066
             Project: ServiceMix
          Issue Type: Bug
          Components: bundles
    Affects Versions: 6.1.0
            Reporter: Jean-Baptiste Martin


Hello,

The issue happens when uninstalling a feature. Camel commands in Karaf console (e.g. route-list) are also removed.

Here is the feature.xml used for example :
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<features xmlns="http://karaf.apache.org/xmlns/features/v1.2.1" name="my.feature">
    <feature name="my.feature" version="1.0.0-beta" description="My feature">
        <bundle>mvn:com.google.protobuf/protobuf-java/2.6.1</bundle>
    </feature>
</features>


Steps to reproduce the issue :
  - Copy feature.xml in /tmp

  - In Karaf console, enter : feature:repo-add file:/tmp/feature.xml
Console output : 
"Adding feature url file:/tmp/feature.xml"

  - Enter : feature:install -v my.feature
Console output :
"Installing feature my.feature 1.0.0-beta"
"Installing bundle mvn:com.google.protobuf/protobuf-java/2.6.1"
"Found installed feature camel-core-condition-shell_0_0_0 2.16.1"

- Enter : feature:uninstall -v my.feature
Console output :
"Uninstalling feature my.feature 1.0.0-beta"
"Uninstalling feature camel-core-condition-shell_0_0_0 2.16.1"

At this point, Camel commands are not available anymore.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)