camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r644171 - in /activemq/camel/trunk/examples: camel-example-jms-file/ camel-example-jms-file/src/main/java/org/apache/camel/example/jmstofile/ camel-example-osgi/ camel-example-spring-xquery/ camel-example-spring-xquery/src/main/resources/ c...
Date Thu, 03 Apr 2008 05:16:02 GMT
Author: davsclaus
Date: Wed Apr  2 22:16:00 2008
New Revision: 644171

URL: http://svn.apache.org/viewvc?rev=644171&view=rev
Log:
CAMEL-431 Applied patch with thanks to Glen Mazza

Modified:
    activemq/camel/trunk/examples/camel-example-jms-file/README.txt
    activemq/camel/trunk/examples/camel-example-jms-file/pom.xml
    activemq/camel/trunk/examples/camel-example-jms-file/src/main/java/org/apache/camel/example/jmstofile/CamelJmsToFileExample.java
    activemq/camel/trunk/examples/camel-example-osgi/pom.xml
    activemq/camel/trunk/examples/camel-example-spring-xquery/README.txt
    activemq/camel/trunk/examples/camel-example-spring-xquery/pom.xml
    activemq/camel/trunk/examples/camel-example-spring-xquery/src/main/resources/log4j.properties
    activemq/camel/trunk/examples/camel-example-spring/README.txt
    activemq/camel/trunk/examples/camel-example-spring/pom.xml
    activemq/camel/trunk/examples/camel-example-spring/src/main/java/org/apache/camel/example/spring/MyRouteBuilder.java
    activemq/camel/trunk/examples/camel-example-spring/src/main/resources/log4j.properties
    activemq/camel/trunk/examples/camel-example-spring/src/test/java/org/apache/camel/example/spring/IntegrationTest.java

Modified: activemq/camel/trunk/examples/camel-example-jms-file/README.txt
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/examples/camel-example-jms-file/README.txt?rev=644171&r1=644170&r2=644171&view=diff
==============================================================================
--- activemq/camel/trunk/examples/camel-example-jms-file/README.txt (original)
+++ activemq/camel/trunk/examples/camel-example-jms-file/README.txt Wed Apr  2 22:16:00 2008
@@ -10,7 +10,7 @@
 The example should run if you type
   mvn exec:java
   
-If you hit any problems please talk to us on the Camel Forums
+If you hit any problems please let us know on the Camel Forums
   http://activemq.apache.org/camel/discussion-forums.html
 
 Please help us make Apache Camel better - we appreciate any feedback you may have.
@@ -18,4 +18,5 @@
 
 ------------------------
 The Camel riders!
+
 

Modified: activemq/camel/trunk/examples/camel-example-jms-file/pom.xml
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/examples/camel-example-jms-file/pom.xml?rev=644171&r1=644170&r2=644171&view=diff
==============================================================================
--- activemq/camel/trunk/examples/camel-example-jms-file/pom.xml (original)
+++ activemq/camel/trunk/examples/camel-example-jms-file/pom.xml Wed Apr  2 22:16:00 2008
@@ -30,7 +30,7 @@
 
   <artifactId>camel-example-jms-file</artifactId>
   <name>Camel :: Example :: JMS-File</name>
-  <description>An example that persists messages from JMS as files</description>
+  <description>An example that persists messages from JMS to files</description>
 
   <dependencies>
 
@@ -59,7 +59,7 @@
   <build>
     <plugins>
 
-      <!-- allows the example to be ran via 'mvn compile exec:java' -->
+      <!-- Allows the example to be run via 'mvn compile exec:java' -->
       <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>exec-maven-plugin</artifactId>

Modified: activemq/camel/trunk/examples/camel-example-jms-file/src/main/java/org/apache/camel/example/jmstofile/CamelJmsToFileExample.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/examples/camel-example-jms-file/src/main/java/org/apache/camel/example/jmstofile/CamelJmsToFileExample.java?rev=644171&r1=644170&r2=644171&view=diff
==============================================================================
--- activemq/camel/trunk/examples/camel-example-jms-file/src/main/java/org/apache/camel/example/jmstofile/CamelJmsToFileExample.java
(original)
+++ activemq/camel/trunk/examples/camel-example-jms-file/src/main/java/org/apache/camel/example/jmstofile/CamelJmsToFileExample.java
Wed Apr  2 22:16:00 2008
@@ -28,9 +28,9 @@
 import org.apache.camel.impl.DefaultCamelContext;
 
 /**
- * An example class for demonstrating some of the basics behind camel This
- * example will send some text messages on to a JMS Queue, consume them and
- * persist them to disk
+ * An example class for demonstrating some of the basics behind Camel. This
+ * example sends some text messages on to a JMS Queue, consumes them and
+ * persists them to disk
  * 
  * @version $Revision$
  */
@@ -46,7 +46,7 @@
         // Set up the ActiveMQ JMS Components
         // START SNIPPET: e2
         ConnectionFactory connectionFactory = new ActiveMQConnectionFactory("vm://localhost?broker.persistent=false");
-        // note we can explicity name the component
+        // Note we can explicity name the component
         context.addComponent("test-jms", JmsComponent.jmsComponentAutoAcknowledge(connectionFactory));
         // END SNIPPET: e2
         // Add some configuration by hand ...
@@ -71,16 +71,15 @@
         // END SNIPPET: e4
         // Now everything is set up - lets start the context
         context.start();
-        // now send some test text to a component - for this case a JMS Queue
+        // Now send some test text to a component - for this case a JMS Queue
         // The text get converted to JMS messages - and sent to the Queue
         // test.queue
         // The file component is listening for messages from the Queue
         // test.queue, consumes
         // them and stores them to disk. The content of each file will be the
-        // test test we sent here.
-        // The listener on the file component gets notfied when new files are
-        // found ...
-        // that's it!
+        // test we sent here.
+        // The listener on the file component gets notified when new files are
+        // found ... that's it!
         // START SNIPPET: e5
         for (int i = 0; i < 10; i++) {
             template.sendBody("test-jms:queue:test.queue", "Test Message: " + i);

Modified: activemq/camel/trunk/examples/camel-example-osgi/pom.xml
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/examples/camel-example-osgi/pom.xml?rev=644171&r1=644170&r2=644171&view=diff
==============================================================================
--- activemq/camel/trunk/examples/camel-example-osgi/pom.xml (original)
+++ activemq/camel/trunk/examples/camel-example-osgi/pom.xml Wed Apr  2 22:16:00 2008
@@ -54,7 +54,7 @@
 
   <build>
     <plugins>
-      <!-- allows the routes to be ran via 'mvn camel:run' -->
+      <!-- Allows the routes to be run via 'mvn camel:run' -->
       <plugin>
         <groupId>org.apache.camel</groupId>
         <artifactId>camel-maven-plugin</artifactId>

Modified: activemq/camel/trunk/examples/camel-example-spring-xquery/README.txt
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/examples/camel-example-spring-xquery/README.txt?rev=644171&r1=644170&r2=644171&view=diff
==============================================================================
--- activemq/camel/trunk/examples/camel-example-spring-xquery/README.txt (original)
+++ activemq/camel/trunk/examples/camel-example-spring-xquery/README.txt Wed Apr  2 22:16:00
2008
@@ -18,7 +18,7 @@
 For the latest & greatest documentation on how to use this example please see
   http://activemq.apache.org/camel/spring-xquery-example.html
 
-If you hit any problems please talk to us on the Camel Forums
+If you hit any problems please let us know on the Camel Forums
   http://activemq.apache.org/camel/discussion-forums.html
 
 Please help us make Apache Camel better - we appreciate any feedback you may have.
@@ -26,4 +26,5 @@
 
 ------------------------
 The Camel riders!
+
 

Modified: activemq/camel/trunk/examples/camel-example-spring-xquery/pom.xml
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/examples/camel-example-spring-xquery/pom.xml?rev=644171&r1=644170&r2=644171&view=diff
==============================================================================
--- activemq/camel/trunk/examples/camel-example-spring-xquery/pom.xml (original)
+++ activemq/camel/trunk/examples/camel-example-spring-xquery/pom.xml Wed Apr  2 22:16:00
2008
@@ -90,7 +90,7 @@
 
   <build>
     <plugins>
-      <!-- allows the routes to be ran via 'mvn camel:run' -->
+      <!-- Allows the routes to be run via 'mvn camel:run' -->
       <plugin>
         <groupId>org.apache.camel</groupId>
         <artifactId>camel-maven-plugin</artifactId>
@@ -101,7 +101,7 @@
 
   <reporting>
     <plugins>
-      <!-- lets generate nice PNG / SVG diagrams from our routes -->
+      <!-- Generates nice PNG / SVG diagrams from our routes -->
       <plugin>
         <groupId>org.apache.camel</groupId>
         <artifactId>camel-maven-plugin</artifactId>

Modified: activemq/camel/trunk/examples/camel-example-spring-xquery/src/main/resources/log4j.properties
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/examples/camel-example-spring-xquery/src/main/resources/log4j.properties?rev=644171&r1=644170&r2=644171&view=diff
==============================================================================
--- activemq/camel/trunk/examples/camel-example-spring-xquery/src/main/resources/log4j.properties
(original)
+++ activemq/camel/trunk/examples/camel-example-spring-xquery/src/main/resources/log4j.properties
Wed Apr  2 22:16:00 2008
@@ -16,7 +16,7 @@
 ## ------------------------------------------------------------------------
 
 #
-# The logging properties used for eclipse testing, We want to see debug output on the console.
+# The logging properties used for eclipse testing, We want to see INFO output on the console.
 #
 log4j.rootLogger=INFO, out
 

Modified: activemq/camel/trunk/examples/camel-example-spring/README.txt
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/examples/camel-example-spring/README.txt?rev=644171&r1=644170&r2=644171&view=diff
==============================================================================
--- activemq/camel/trunk/examples/camel-example-spring/README.txt (original)
+++ activemq/camel/trunk/examples/camel-example-spring/README.txt Wed Apr  2 22:16:00 2008
@@ -10,12 +10,12 @@
   mvn camel:run
 
 You can see the routing rules by looking at the java code in the src/main/java directory
-and the Spring XML configuration lives in src/main/resources/META-INF/spring
+and the Spring XML configuration file in src/main/resources/META-INF/spring
 
 For the latest & greatest documentation on how to use this example please see
   http://activemq.apache.org/camel/spring-example.html
 
-If you hit any problems please talk to us on the Camel Forums
+If you hit any problems please let us know on the Camel Forums
   http://activemq.apache.org/camel/discussion-forums.html
 
 Please help us make Apache Camel better - we appreciate any feedback you may have.
@@ -23,4 +23,5 @@
 
 ------------------------
 The Camel riders!
+
 

Modified: activemq/camel/trunk/examples/camel-example-spring/pom.xml
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/examples/camel-example-spring/pom.xml?rev=644171&r1=644170&r2=644171&view=diff
==============================================================================
--- activemq/camel/trunk/examples/camel-example-spring/pom.xml (original)
+++ activemq/camel/trunk/examples/camel-example-spring/pom.xml Wed Apr  2 22:16:00 2008
@@ -68,7 +68,7 @@
 
   <build>
     <plugins>
-      <!-- allows the routes to be ran via 'mvn camel:run' -->
+      <!-- Allows the routes to be run via 'mvn camel:run' -->
       <plugin>
         <groupId>org.apache.camel</groupId>
         <artifactId>camel-maven-plugin</artifactId>
@@ -79,7 +79,7 @@
 
   <reporting>
     <plugins>
-      <!-- lets generate nice PNG / SVG diagrams from our routes -->
+      <!-- Generates nice PNG / SVG diagrams from our routes -->
       <plugin>
         <groupId>org.apache.camel</groupId>
         <artifactId>camel-maven-plugin</artifactId>

Modified: activemq/camel/trunk/examples/camel-example-spring/src/main/java/org/apache/camel/example/spring/MyRouteBuilder.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/examples/camel-example-spring/src/main/java/org/apache/camel/example/spring/MyRouteBuilder.java?rev=644171&r1=644170&r2=644171&view=diff
==============================================================================
--- activemq/camel/trunk/examples/camel-example-spring/src/main/java/org/apache/camel/example/spring/MyRouteBuilder.java
(original)
+++ activemq/camel/trunk/examples/camel-example-spring/src/main/java/org/apache/camel/example/spring/MyRouteBuilder.java
Wed Apr  2 22:16:00 2008
@@ -35,7 +35,7 @@
     }
 
     public void configure() {
-        // lets populate the message queue with some messages
+        // populate the message queue with some messages
         from("file:src/data?noop=true").
                 to("jms:test.MyQueue");
 

Modified: activemq/camel/trunk/examples/camel-example-spring/src/main/resources/log4j.properties
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/examples/camel-example-spring/src/main/resources/log4j.properties?rev=644171&r1=644170&r2=644171&view=diff
==============================================================================
--- activemq/camel/trunk/examples/camel-example-spring/src/main/resources/log4j.properties
(original)
+++ activemq/camel/trunk/examples/camel-example-spring/src/main/resources/log4j.properties
Wed Apr  2 22:16:00 2008
@@ -16,7 +16,7 @@
 ## ------------------------------------------------------------------------
 
 #
-# The logging properties used for eclipse testing, We want to see debug output on the console.
+# The logging properties used for eclipse testing, We want to see INFO output on the console.
 #
 log4j.rootLogger=INFO, out
 

Modified: activemq/camel/trunk/examples/camel-example-spring/src/test/java/org/apache/camel/example/spring/IntegrationTest.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/examples/camel-example-spring/src/test/java/org/apache/camel/example/spring/IntegrationTest.java?rev=644171&r1=644170&r2=644171&view=diff
==============================================================================
--- activemq/camel/trunk/examples/camel-example-spring/src/test/java/org/apache/camel/example/spring/IntegrationTest.java
(original)
+++ activemq/camel/trunk/examples/camel-example-spring/src/test/java/org/apache/camel/example/spring/IntegrationTest.java
Wed Apr  2 22:16:00 2008
@@ -25,7 +25,7 @@
 public class IntegrationTest extends TestCase {
 
     public void testCamelRulesDeployCorrectlyInSpring() throws Exception {
-        // lets boot up the Spring application context for 2 seconds to check it works OK
+        // let's boot up the Spring application context for 2 seconds to check that it works
OK
         Main.main("-duration", "2s", "-o", "target/site/cameldoc");
     }
 }



Mime
View raw message