You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ff...@apache.org on 2011/09/13 09:54:39 UTC
svn commit: r1170071 - in /servicemix/smx4/features/trunk/examples: ./
bridge-camel/ bridge/ camel-blueprint/ camel-nmr-blueprint/ camel-nmr/
camel-osgi/ cxf-camel-nmr/ cxf-jaxrs/ cxf-nmr/ cxf-osgi/ cxf-ws-addressing/
cxf-ws-rm/ cxf-ws-security-osgi/ c...
Author: ffang
Date: Tue Sep 13 07:54:38 2011
New Revision: 1170071
URL: http://svn.apache.org/viewvc?rev=1170071&view=rev
Log:
[SMX4-870]Polished README.txt in examples to require JDK6 and Maven 2.2.1. Also polished the readme for camel-osgi as it now contains 2 routes.
Modified:
servicemix/smx4/features/trunk/examples/README.txt
servicemix/smx4/features/trunk/examples/bridge-camel/README.txt
servicemix/smx4/features/trunk/examples/bridge/README.txt
servicemix/smx4/features/trunk/examples/camel-blueprint/README.txt
servicemix/smx4/features/trunk/examples/camel-nmr-blueprint/README.txt
servicemix/smx4/features/trunk/examples/camel-nmr/README.txt
servicemix/smx4/features/trunk/examples/camel-osgi/README.txt
servicemix/smx4/features/trunk/examples/cxf-camel-nmr/README.txt
servicemix/smx4/features/trunk/examples/cxf-jaxrs/README.txt
servicemix/smx4/features/trunk/examples/cxf-nmr/README.txt
servicemix/smx4/features/trunk/examples/cxf-osgi/README.txt
servicemix/smx4/features/trunk/examples/cxf-ws-addressing/README.txt
servicemix/smx4/features/trunk/examples/cxf-ws-rm/README.txt
servicemix/smx4/features/trunk/examples/cxf-ws-security-osgi/README.txt
servicemix/smx4/features/trunk/examples/cxf-wsdl-first-osgi-package/README.txt
servicemix/smx4/features/trunk/examples/cxf-wsdl-first/README.txt
servicemix/smx4/features/trunk/examples/loan-broker-bpel/README.txt
servicemix/smx4/features/trunk/examples/simple/README.txt
servicemix/smx4/features/trunk/examples/web/README.txt
Modified: servicemix/smx4/features/trunk/examples/README.txt
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/README.txt?rev=1170071&r1=1170070&r2=1170071&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/examples/README.txt (original)
+++ servicemix/smx4/features/trunk/examples/README.txt Tue Sep 13 07:54:38 2011
@@ -106,13 +106,13 @@ Prerequisites for Running the Examples
Java Development Kit (JDK)
--------------------------
-You must have JDK 1.5 or higher installed on your machine to
+You must have JDK 1.6 or higher installed on your machine to
run the ServiceMix examples.
Apache Maven
------------
The examples use Apache Maven for building code. You must install
-Maven 2.0.9 or higher and add the Maven bin/ directory to your PATH
+Maven 2.2.1 or higher and add the Maven bin/ directory to your PATH
if you want to build any of the examples.
If you have not used Maven before, the first time you use it to
Modified: servicemix/smx4/features/trunk/examples/bridge-camel/README.txt
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/bridge-camel/README.txt?rev=1170071&r1=1170070&r2=1170071&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/examples/bridge-camel/README.txt (original)
+++ servicemix/smx4/features/trunk/examples/bridge-camel/README.txt Tue Sep 13 07:54:38 2011
@@ -69,9 +69,9 @@ Prerequisites for Building and Running t
---------------------------------------------------
1. You must have the following installed on your machine:
- - JDK 1.5 or higher.
+ - JDK 1.6 or higher.
- - Apache Maven 2.0.9 or higher.
+ - Apache Maven 2.2.1 or higher.
For more information, see the README in the top-level examples
directory.
Modified: servicemix/smx4/features/trunk/examples/bridge/README.txt
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/bridge/README.txt?rev=1170071&r1=1170070&r2=1170071&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/examples/bridge/README.txt (original)
+++ servicemix/smx4/features/trunk/examples/bridge/README.txt Tue Sep 13 07:54:38 2011
@@ -69,9 +69,9 @@ Prerequisites for Running this Example
--------------------------------------
1. You must have the following installed on your machine:
- - JDK 1.5 or higher.
+ - JDK 1.6 or higher.
- - Apache Maven 2.0.9 or higher.
+ - Apache Maven 2.2.1 or higher.
For more information, see the README in the top-level
examples directory.
Modified: servicemix/smx4/features/trunk/examples/camel-blueprint/README.txt
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/camel-blueprint/README.txt?rev=1170071&r1=1170070&r2=1170071&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/examples/camel-blueprint/README.txt (original)
+++ servicemix/smx4/features/trunk/examples/camel-blueprint/README.txt Tue Sep 13 07:54:38 2011
@@ -57,9 +57,9 @@ Prerequisites for Running the Example
-------------------------------------
1. You must have the following installed on your machine:
- - JDK 1.5 or higher
+ - JDK 1.6 or higher
- - Maven 2.0.9 or higher (for building)
+ - Maven 2.2.1 or higher (for building)
For more information, see the README in the top-level examples
directory.
Modified: servicemix/smx4/features/trunk/examples/camel-nmr-blueprint/README.txt
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/camel-nmr-blueprint/README.txt?rev=1170071&r1=1170070&r2=1170071&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/examples/camel-nmr-blueprint/README.txt (original)
+++ servicemix/smx4/features/trunk/examples/camel-nmr-blueprint/README.txt Tue Sep 13 07:54:38 2011
@@ -49,9 +49,9 @@ Prerequisites for Building and Running t
--------------------------------------------------
1. You must have the following installed on your machine:
- - JDK 1.5 or higher
+ - JDK 1.6 or higher
- - Maven 2.0.9 or higher (for building)
+ - Maven 2.2.1 or higher (for building)
For more information, see the README in the top-level examples
directory.
Modified: servicemix/smx4/features/trunk/examples/camel-nmr/README.txt
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/camel-nmr/README.txt?rev=1170071&r1=1170070&r2=1170071&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/examples/camel-nmr/README.txt (original)
+++ servicemix/smx4/features/trunk/examples/camel-nmr/README.txt Tue Sep 13 07:54:38 2011
@@ -52,7 +52,7 @@ Prerequisites for Building and Running t
--------------------------------------------------
1. You must have the following installed on your machine:
- - JDK 1.5 or higher
+ - JDK 1.6 or higher
- Maven 2.2.1 or higher (for building)
Modified: servicemix/smx4/features/trunk/examples/camel-osgi/README.txt
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/camel-osgi/README.txt?rev=1170071&r1=1170070&r2=1170071&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/examples/camel-osgi/README.txt (original)
+++ servicemix/smx4/features/trunk/examples/camel-osgi/README.txt Tue Sep 13 07:54:38 2011
@@ -28,6 +28,14 @@ ServiceMix console.
Explanation
-----------
+
+This example provides two Camel routes:
+- A XML route
+- A Java route
+
+
+XML Route
+---------
The Camel route is defined in a Spring XML file, beans.xml, which can be
found in the src/main/resources/META-INF/spring directory of this example.
The route is defined in the <route> element and can be explained as follows:
@@ -52,14 +60,20 @@ The beans.xml file also contains the fol
The route and configuration are deployed in an OSGi bundle.
-
+Java Route
+---------
+The Java Camel route is defined in a Java soure file, MyRouteBuilder, which can be
+found in the src/main/java/org/apache/servicemix/examples/camel directory
+of this example. The route is similar to the XML route which is explained above.
+
+
Prerequisites for Running the Example
-------------------------------------
1. You must have the following installed on your machine:
- - JDK 1.5 or higher
+ - JDK 1.6 or higher
- - Maven 2.0.9 or higher (for building)
+ - Maven 2.2.1 or higher (for building)
For more information, see the README in the top-level examples
directory.
@@ -98,12 +112,8 @@ information about the features facility,
examples parent directory.
Once the example is running, periodic events are routed to the transform
-method of the MyTransform class and you should see output similar to the
-following being logged to your console screen:
-
->>>> MyTransform set body: Tue Aug 11 16:56:06 BST 2009
->>>> MyTransform set body: Tue Aug 11 16:56:08 BST 2009
->>>> MyTransform set body: Tue Aug 11 16:56:10 BST 2009
+method of the MyTransform class and you should see output on your console screen.
+The output should be from both the XML and Java Camel routes.
Updating and Redeploying the Properties File from the Console
-------------------------------------------------------------
@@ -145,13 +155,9 @@ properties placeholder in the beans.xml
osgi:restart <bundle_id>
- The prefix of the output should change, and the output should look
- similar to the following:
-
- >>>> YourTransform set body: Tue Aug 11 17:14:12 BST 2009
- >>>> YourTransform set body: Tue Aug 11 17:14:14 BST 2009
- >>>> YourTransform set body: Tue Aug 11 17:14:16 BST 2009
-
+ The prefix of the output should change, and the output on the console should
+ be updated accordingly.
+
For information on how to stop and/or uninstall the example, see
"Stopping and Uninstalling the Example" below.
@@ -192,11 +198,7 @@ yourself, complete the following steps:
Once the example is running, periodic events are routed to the
transform method of the MyTransform class and you should see output
-similar to the following being logged to your console screen:
-
->>>> MyTransform set body: Tue Aug 11 16:56:06 BST 2009
->>>> MyTransform set body: Tue Aug 11 16:56:08 BST 2009
->>>> MyTransform set body: Tue Aug 11 16:56:10 BST 2009
+on your console screen.
Now, if you have not already done so, try updating and redeploying,
from the console, the properties file that is used by the properties
Modified: servicemix/smx4/features/trunk/examples/cxf-camel-nmr/README.txt
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/cxf-camel-nmr/README.txt?rev=1170071&r1=1170070&r2=1170071&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/examples/cxf-camel-nmr/README.txt (original)
+++ servicemix/smx4/features/trunk/examples/cxf-camel-nmr/README.txt Tue Sep 13 07:54:38 2011
@@ -52,9 +52,9 @@ Prerequisites for Running the Example
-------------------------------------
1. You must have the following installed on your machine:
- - JDK 1.5 or higher
+ - JDK 1.6 or higher
- - Maven 2.0.9 or higher
+ - Maven 2.2.1 or higher
For more information, see the README in the top-level examples
directory.
Modified: servicemix/smx4/features/trunk/examples/cxf-jaxrs/README.txt
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/cxf-jaxrs/README.txt?rev=1170071&r1=1170070&r2=1170071&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/examples/cxf-jaxrs/README.txt (original)
+++ servicemix/smx4/features/trunk/examples/cxf-jaxrs/README.txt Tue Sep 13 07:54:38 2011
@@ -54,9 +54,9 @@ Prerequisites for Running the Example
-------------------------------------
1. You must have the following installed on your machine:
- - JDK 1.5 or higher
+ - JDK 1.6 or higher
- - Maven 2.0.9 or higher
+ - Maven 2.2.1 or higher
For more information, see the README in the top-level examples
directory.
Modified: servicemix/smx4/features/trunk/examples/cxf-nmr/README.txt
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/cxf-nmr/README.txt?rev=1170071&r1=1170070&r2=1170071&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/examples/cxf-nmr/README.txt (original)
+++ servicemix/smx4/features/trunk/examples/cxf-nmr/README.txt Tue Sep 13 07:54:38 2011
@@ -46,9 +46,9 @@ Prerequisites for Running the Example
-------------------------------------
1. You must have the following installed on your machine:
- - JDK 1.5 or higher
+ - JDK 1.6 or higher
- - Maven 2.0.9 or higher
+ - Maven 2.2.1 or higher
For more information, see the README in the top-level examples
directory.
Modified: servicemix/smx4/features/trunk/examples/cxf-osgi/README.txt
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/cxf-osgi/README.txt?rev=1170071&r1=1170070&r2=1170071&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/examples/cxf-osgi/README.txt (original)
+++ servicemix/smx4/features/trunk/examples/cxf-osgi/README.txt Tue Sep 13 07:54:38 2011
@@ -47,9 +47,9 @@ Prerequisites for Running the Example
-------------------------------------
1. You must have the following installed on your machine:
- - JDK 1.5 or higher
+ - JDK 1.6 or higher
- - Maven 2.0.9 or higher
+ - Maven 2.2.1 or higher
For more information, see the README in the top-level examples
directory.
Modified: servicemix/smx4/features/trunk/examples/cxf-ws-addressing/README.txt
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/cxf-ws-addressing/README.txt?rev=1170071&r1=1170070&r2=1170071&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/examples/cxf-ws-addressing/README.txt (original)
+++ servicemix/smx4/features/trunk/examples/cxf-ws-addressing/README.txt Tue Sep 13 07:54:38 2011
@@ -103,9 +103,9 @@ Prerequisites for Running the Example
-------------------------------------
1. You must have the following installed on your machine:
- - JDK 1.5 or higher
+ - JDK 1.6 or higher
- - Maven 2.0.9 or higher
+ - Maven 2.2.1 or higher
For more information, see the README in the top-level examples
directory.
Modified: servicemix/smx4/features/trunk/examples/cxf-ws-rm/README.txt
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/cxf-ws-rm/README.txt?rev=1170071&r1=1170070&r2=1170071&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/examples/cxf-ws-rm/README.txt (original)
+++ servicemix/smx4/features/trunk/examples/cxf-ws-rm/README.txt Tue Sep 13 07:54:38 2011
@@ -77,9 +77,9 @@ Prerequisites for Running the Example
-------------------------------------
1. You must have the following installed on your machine:
- - JDK 1.5 or higher
+ - JDK 1.6 or higher
- - Maven 2.0.9 or higher
+ - Maven 2.2.1 or higher
For more information, see the README in the top-level examples
directory.
Modified: servicemix/smx4/features/trunk/examples/cxf-ws-security-osgi/README.txt
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/cxf-ws-security-osgi/README.txt?rev=1170071&r1=1170070&r2=1170071&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/examples/cxf-ws-security-osgi/README.txt (original)
+++ servicemix/smx4/features/trunk/examples/cxf-ws-security-osgi/README.txt Tue Sep 13 07:54:38 2011
@@ -62,9 +62,9 @@ Prerequisites for Running the Example
-------------------------------------
1. You must have the following installed on your machine:
- - JDK 1.5 or higher
+ - JDK 1.6 or higher
- - Maven 2.0.9 or higher
+ - Maven 2.2.1 or higher
For more information, see the README in the top-level examples
directory.
Modified: servicemix/smx4/features/trunk/examples/cxf-wsdl-first-osgi-package/README.txt
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/cxf-wsdl-first-osgi-package/README.txt?rev=1170071&r1=1170070&r2=1170071&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/examples/cxf-wsdl-first-osgi-package/README.txt (original)
+++ servicemix/smx4/features/trunk/examples/cxf-wsdl-first-osgi-package/README.txt Tue Sep 13 07:54:38 2011
@@ -76,9 +76,9 @@ Prerequisites for Running the Example
-------------------------------------
1. You must have the following installed on your machine:
- - JDK 1.5 or higher
+ - JDK 1.6 or higher
- - Maven 2.0.9 or higher
+ - Maven 2.2.1 or higher
For more information, see the README in the top-level examples
directory.
Modified: servicemix/smx4/features/trunk/examples/cxf-wsdl-first/README.txt
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/cxf-wsdl-first/README.txt?rev=1170071&r1=1170070&r2=1170071&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/examples/cxf-wsdl-first/README.txt (original)
+++ servicemix/smx4/features/trunk/examples/cxf-wsdl-first/README.txt Tue Sep 13 07:54:38 2011
@@ -77,9 +77,9 @@ Prerequisites for Building and Running t
---------------------------------------------------
1. You must have the following installed on your machine:
- - JDK 1.5 or higher.
+ - JDK 1.6 or higher.
- - Apache Maven 2.0.9 or higher.
+ - Apache Maven 2.2.1 or higher.
For more information, see the README in the top-level examples
directory.
Modified: servicemix/smx4/features/trunk/examples/loan-broker-bpel/README.txt
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/loan-broker-bpel/README.txt?rev=1170071&r1=1170070&r2=1170071&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/examples/loan-broker-bpel/README.txt (original)
+++ servicemix/smx4/features/trunk/examples/loan-broker-bpel/README.txt Tue Sep 13 07:54:38 2011
@@ -26,8 +26,8 @@ lightweight components provided by Servi
Prerequisites for Running this Example
--------------------------------------
1. You must have the following installed on your machine:
- - JDK 1.5 or higher.
- - Apache Maven 2.0.9 or higher.
+ - JDK 1.6 or higher.
+ - Apache Maven 2.2.1 or higher.
For more information, see the README in the top-level examples directory.
Modified: servicemix/smx4/features/trunk/examples/simple/README.txt
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/simple/README.txt?rev=1170071&r1=1170070&r2=1170071&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/examples/simple/README.txt (original)
+++ servicemix/smx4/features/trunk/examples/simple/README.txt Tue Sep 13 07:54:38 2011
@@ -54,7 +54,7 @@ Prerequisites for Running the Example
-------------------------------------
1. You must have the following installed on your machine:
- - JDK 1.5 or higher
+ - JDK 1.6 or higher
For more information, see the README in the top-level examples
directory.
Modified: servicemix/smx4/features/trunk/examples/web/README.txt
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/web/README.txt?rev=1170071&r1=1170070&r2=1170071&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/examples/web/README.txt (original)
+++ servicemix/smx4/features/trunk/examples/web/README.txt Tue Sep 13 07:54:38 2011
@@ -27,9 +27,9 @@ Prerequisites for Running the Example
-------------------------------------
You must have the following installed on your machine:
- - JDK 1.5 or higher
+ - JDK 1.6 or higher
- - Maven 2.0.9 or higher
+ - Maven 2.2.1 or higher
Building and Deploying