I finished an initial implementation of the new osgi integration. Now we have a single "uber" jar with all necessary classes and resources (and a corresponding feature). Also, there's a service factory for creating and configuring brokers. The service factory handles "org.apache.activemq.server" pid and expects from it broker name, configuration location and other configuration properties.
An example can be found at
and corresponding activemq.xml
You can test it agains current trunk by doing
karaf@root> features:addUrl mvn:org.apache.activemq/activemq-karaf/5.8-SNAPSHOT/xml/features
karaf@root> features:install activemq-broker
and then copying two files from above to the etc folder.
Things left to be done:
- cleanup features and commands as many of the old stuff is now obsolete
- finish integration test
- make web console configurable via config admin
Feedback is more then welcomed.