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.3Install camel features:
feature:install camelhttps://hawt.io/ https://github.com/hawtio/hawtio
feature:repo-add hawtio 2.14.1
feature:install hawtioYou should be able to access the web frontend via http://localhost:8181/hawtio with login and username karaf.
- The
persistent-idattribute value in theproperty-placeholderelement shouldn't have a.cfgsuffix. - If you set
update-strategytoreload, the bundle automatically picks up and applies changes to thecfgfile.
- To use
mvn camel-karaf:runyou first need tomvn installthe module. - Changes won't be automatically detected, so you need to make sure you run
mvn installagain.