Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
6.1.0
-
None
-
None
Description
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.