Repository: camel
Updated Branches:
  refs/heads/master 3fd9fbedd -> b8f687a09


Polish the readme for the box example.


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/b8f687a0
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/b8f687a0
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/b8f687a0

Branch: refs/heads/master
Commit: b8f687a0992f1b213b729cf8ec01ad998bacaae0
Parents: 3fd9fbe
Author: Hiram Chirino <hi...@hiramchirino.com>
Authored: Thu Jul 3 14:29:09 2014 -0400
Committer: Hiram Chirino <hi...@hiramchirino.com>
Committed: Thu Jul 10 09:15:14 2014 -0400

----------------------------------------------------------------------
 examples/camel-example-box-osgi/README.txt | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/b8f687a0/examples/camel-example-box-osgi/README.txt
----------------------------------------------------------------------
diff --git a/examples/camel-example-box-osgi/README.txt 
b/examples/camel-example-box-osgi/README.txt
index 82a5dd6..ec3d6f3 100644
--- a/examples/camel-example-box-osgi/README.txt
+++ b/examples/camel-example-box-osgi/README.txt
@@ -4,13 +4,10 @@ Box.com OSGi Example
 A simple example which sets up a camel route to upload files
 found in an `inbox` directory to a box.com account.
 
-You will need to edit the 
`src/main/resources/META-INF/spring/camel-context.xml`
-file and enter in your box.com credentials.
-
-Then you will need to compile the example:
+First you will need to compile the example:
   mvn install
 
-To run the example on Apache ServiceMix 4.x or Apache Karaf 2.2.x
+To run the example on Apache Karaf 2.3.x
 
 1) launch karaf
 
@@ -19,10 +16,18 @@ features:addUrl 
mvn:org.apache.camel.karaf/apache-camel/${version}/xml/features
 features:install camel-spring
 features:install camel-box
 
+3) Create a `box.properties` file in the Karaf working directory with the 
following properties
+set to your box account credentials.
+
+        box.userName=
+        box.userPassword=
+        box.clientId=
+        box.clientSecret=
+
 3) Deploy the example
 osgi:install -s mvn:org.apache.camel/camel-example-box-osgi/${version}
 
-4) Copy files to the inbox directory.
+4) Copy files to the inbox directory in the Karaf working directory.
 
 5) Watch them get transferred to your box.com account.
 

Reply via email to