Updated the readme file of camel-example-sql
Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/d114c987 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/d114c987 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/d114c987 Branch: refs/heads/master Commit: d114c98784e19a019cd7cb80fbdabf4a17da4497 Parents: 9f299e9 Author: Willem Jiang <[email protected]> Authored: Mon Mar 31 16:19:31 2014 +0800 Committer: Willem Jiang <[email protected]> Committed: Mon Mar 31 20:15:44 2014 +0800 ---------------------------------------------------------------------- examples/camel-example-sql/README.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/d114c987/examples/camel-example-sql/README.txt ---------------------------------------------------------------------- diff --git a/examples/camel-example-sql/README.txt b/examples/camel-example-sql/README.txt index 3ea6920..83087e1 100644 --- a/examples/camel-example-sql/README.txt +++ b/examples/camel-example-sql/README.txt @@ -29,13 +29,14 @@ Apache Karaf / ServiceMix You will need to compile this example first: mvn compile -To install Apache Camel in Karaf you type in the shell (we use version 2.12.0): +To install Apache Camel in Karaf you type in the shell (we use version ${project.version}): - features:chooseurl camel 2.12.0 + features:chooseurl camel ${project.version} features:install camel First you need to install the following features in Karaf/ServiceMix with: + features:install camel-spring features:install camel-sql Then you need to install JDBC connection pool and the Derby Database: @@ -46,7 +47,7 @@ Then you need to install JDBC connection pool and the Derby Database: Then you can install the Camel example: - osgi:install -s mvn:org.apache.camel/camel-example-sql/2.12.0 + osgi:install -s mvn:org.apache.camel/camel-example-sql/${project.version} And you can see the application running by tailing the logs
