A repo for gathering all the stuff I learn about Apache Karaf.
- JDK 11
- apache-karaf-4.2.12
- apache-camel-3.11.3
In the karaf shell:
Add the camel feature repo:
feature:repo-add camel 3.11.3
Install camel features:
feature:install camel
https://hawt.io/ https://github.com/hawtio/hawtio
feature:repo-add hawtio 2.14.1
feature:install hawtio
You should be able to access the web frontend via http://localhost:8181/hawtio with login and username karaf
.
- The
persistent-id
attribute value in theproperty-placeholder
element shouldn't have a.cfg
suffix. - If you set
update-strategy
toreload
, the bundle automatically picks up and applies changes to thecfg
file.
- To use
mvn camel-karaf:run
you first need tomvn install
the module. - Changes won't be automatically detected, so you need to make sure you run
mvn install
again.