Repository: camel Updated Branches: refs/heads/master 62ac1a9ef -> ab31bc622
Polish Netty HTTP example README Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/758ee122 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/758ee122 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/758ee122 Branch: refs/heads/master Commit: 758ee12299336046ed7670f45ab8fb838b6e2ab4 Parents: 62ac1a9 Author: Antonin Stefanutti <anto...@stefanutti.fr> Authored: Fri May 6 17:53:24 2016 +0200 Committer: Antonin Stefanutti <anto...@stefanutti.fr> Committed: Fri May 6 17:53:24 2016 +0200 ---------------------------------------------------------------------- examples/camel-example-netty-http/README.md | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/758ee122/examples/camel-example-netty-http/README.md ---------------------------------------------------------------------- diff --git a/examples/camel-example-netty-http/README.md b/examples/camel-example-netty-http/README.md index 9c804da..57eebe4 100644 --- a/examples/camel-example-netty-http/README.md +++ b/examples/camel-example-netty-http/README.md @@ -6,14 +6,14 @@ This example shows how to use a shared Netty HTTP Server in an OSGi environment. There is 4 modules in this example: -* `shared-netty-http-server` - The Shared Netty HTTP server that the other Camel applications uses. +* `shared-netty-http-server` - The Shared Netty HTTP server that the other Camel applications uses * `myapp-one` - A Camel application that reuses the shared Netty HTTP server * `myapp-two` - A Camel application that reuses the shared Netty HTTP server * `myapp-cdi` - A Camel CDI application that reuses the shared Netty HTTP server ### Build -You will need to compile and prepared this example first: +You will need to compile this example first: ```sh $ mvn install @@ -21,16 +21,14 @@ $ mvn install ### Run -This example requires running in Apache Karaf / ServiceMix. - -To install Apache Camel in Karaf you type in the shell: +This example runs in Apache Karaf / ServiceMix. To install Apache Camel in Karaf you type in the shell: ```sh karaf@root()> repo-add camel 2.17.0 karaf@root()> feature:install camel ``` -First you need to install the following features in Karaf/ServiceMix with: +Then you need to install the following features in Karaf/ServiceMix: ```sh karaf@root()> features:install camel-netty-http @@ -57,7 +55,7 @@ karaf@root()> osgi:install -s mvn:org.apache.camel/camel-example-netty-myapp-two If you want to test the Camel CDI application, you first need to install the required features: ```sh -karaf@root()> features:pax-cdi-weld camel-cdi +karaf@root()> features:install pax-cdi-weld camel-cdi ``` And then install the Camel CDI application: