...
In the console, run the following commands:
Code Block |
---|
obr addUrl http://svn.apache.org/repos/asf/servicemix/smx4/obr-repo/repository-snapshot.xml obr start osgi install -s mvn:org.apache.geronimo.specs/geronimo-activation_1.1_spec/1.0.2 osgi install -s mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxb-implapi-2.0/4.3 camel-spring camel-example-osgi |
This commands will download, install and start the specified jars and their dependencies.
...
bgColor | #000000 |
---|---|
borderStyle | solid |
...
0-m1 osgi install -s mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxb-impl-2.0.3/4.0-m1 osgi install -s mvn:org.apache.camel/camel-core/1.3.0 osgi install -s mvn:org.springframework/spring-tx/2.5.1 osgi install -s mvn:org.apache.camel/camel-spring/1.3.0 osgi install -s mvn:org.apache.camel/camel-osgi/1.3.0 osgi install -s mvn:org.apache.camel/camel-example-osgi/1.3.0 |
This commands will download, install and start the specified jars. camel-spring camel-example-osgi Target resource(s): ------------------- ServiceMix OSGI Common Bundles: jaxb-impl (1.0.0.SNAPSHOT) camel-example-osgi (1.3.0.SNAPSHOT) camel-spring (1.3.0.SNAPSHOT) Required resource(s): --------------------- geronimo-activation_1.1_spec (1.0.1) ServiceMix OSGI Common Bundles: jaxb-api (1.0.0.SNAPSHOT) camel-core (1.3.0.SNAPSHOT) spring-tx (2.5.0) Deploying...done.
The example installed is using Camel to start a timer every 2 seconds and output a message on the console.
...