Updated Branches: refs/heads/master 3671004c6 -> 7bcf8430f
Better encourage users to make use of the provided "features.xml" of a given example which would spare the necessity to explicitly install dependency bundles/features of a given example through the user himself. In case of this example that would be the requirement to install the camel-spring feature beforehand as dependency. Also dragged down the note about log:display/log:tail into "Running inside OSGi container" section. Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/7bcf8430 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/7bcf8430 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/7bcf8430 Branch: refs/heads/master Commit: 7bcf8430fa9241a524e6efb0cc960af2837d4d01 Parents: 3671004 Author: Babak Vahdat <bvah...@apache.org> Authored: Mon May 20 17:59:04 2013 +0200 Committer: Babak Vahdat <bvah...@apache.org> Committed: Mon May 20 17:59:04 2013 +0200 ---------------------------------------------------------------------- examples/camel-example-osgi/README.txt | 25 ++++++++++++------------- 1 files changed, 12 insertions(+), 13 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/7bcf8430/examples/camel-example-osgi/README.txt ---------------------------------------------------------------------- diff --git a/examples/camel-example-osgi/README.txt b/examples/camel-example-osgi/README.txt index 18d9cb3..d3071e1 100644 --- a/examples/camel-example-osgi/README.txt +++ b/examples/camel-example-osgi/README.txt @@ -14,6 +14,18 @@ To run the example using Maven type To stop the example hit ctrl + c +Running inside OSGi container +============================= + +You will need to compile and install this example first: + mvn install + +If using Apache Karaf / Apache ServiceMix you can install this example +from the shell using this example's "features.xml" for easy provisioning. + + features:addUrl mvn:org.apache.camel/camel-example-osgi/${version}/xml/features + features:install camel-example-osgi + The example outputs to the log, which you can see using log:display @@ -24,19 +36,6 @@ The example outputs to the log, which you can see using And use ctrl+c to break the tail. - -Running inside OSGi container -============================= - -You will need to compile and install this example first: - mvn install - -If using Apache Karaf / Apache ServiceMix you can install this example -from the shell - features:chooseurl camel ${version} - features:install camel-spring - osgi:install -s mvn:org.apache.camel/camel-example-osgi/${version} - If you hit any problems please let us know on the Camel Forums http://camel.apache.org/discussion-forums.html