...
The CXF/DOSGi Discovery implementation interacts with the ZooKeeper server. Like with the DOSGi/DSW component, there are two distributions. A single bundle distribution and a multi bundle oneIt's included in both the Single-bundle and Multi-bundle distributions of CXF-DOSGi.
Single Bundle Distribution
The single bundle distribution assumes that you also have a single-bundle distribution of the DOSGi/DSW installedWhen you are using the CXF-DOSGi Single-Bundle distro, you automatically get the Discovery functionality with that.
Code Block |
---|
-> install httpshttp://repositoryrepo1.apachemaven.org/contentmaven2/groupsorg/snapshotsosgi/org.osgi.compendium/4.2.0/org.osgi.compendium-4.2.0.jar Bundle ID: 4 -> install http://www.apache.org/dist/cxf/dosgi/cxf-dosgi-ri-discovery-singlebundle-distribution/1.1-SNAPSHOT/cxf-dosgi-ri-discovery-singlebundle-distribution-1.1-SNAPSHOT.jar Bundle ID: 65 -> start 65 ... log messages ... -> ps START LEVEL 1 ID State Level Name [ 0] [Active ] [ 0] System Bundle (1.8.0) [ 1] [Active ] [ 1] Apache Felix Shell Service (1.2.0) [ 2] [Active ] [ 1] Apache Felix Shell TUI (1.2.0) [ 3] [Active ] [ 1] Apache Felix Bundle Repository (1.4.0) [ 4] [Resolved ] [ 1] OSGi R4 Compendium Bundle osgi.cmpn (4.12.0.200908310645) [ 5] [Active ] [ 1] Distributed OSGi Distribution Software Single-Bundle Distribution (1.1.0.SNAPSHOT) [ 6] [Active ] [ 1] Distributed OSGi Zookeeper-Based Discovery Single-Bundle Distribution (1.1.0.SNAPSHOT) |
The Discovery bundle is now active, but it doesn't do anything yet since it's not yet configured.
...