camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r790021 - in /camel/trunk/examples/camel-example-reportincident/src: main/java/org/apache/camel/example/reportincident/ReportIncidentRoutes.java test/java/org/apache/camel/example/reportincident/ReportIncidentRoutesSpringTest.java
Date Wed, 01 Jul 2009 01:56:23 GMT
Author: ningjiang
Date: Wed Jul  1 01:56:23 2009
New Revision: 790021

URL: http://svn.apache.org/viewvc?rev=790021&view=rev
Log:
Fixed some typoes of ReportIncident example

Modified:
    camel/trunk/examples/camel-example-reportincident/src/main/java/org/apache/camel/example/reportincident/ReportIncidentRoutes.java
    camel/trunk/examples/camel-example-reportincident/src/test/java/org/apache/camel/example/reportincident/ReportIncidentRoutesSpringTest.java

Modified: camel/trunk/examples/camel-example-reportincident/src/main/java/org/apache/camel/example/reportincident/ReportIncidentRoutes.java
URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-reportincident/src/main/java/org/apache/camel/example/reportincident/ReportIncidentRoutes.java?rev=790021&r1=790020&r2=790021&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-reportincident/src/main/java/org/apache/camel/example/reportincident/ReportIncidentRoutes.java
(original)
+++ camel/trunk/examples/camel-example-reportincident/src/main/java/org/apache/camel/example/reportincident/ReportIncidentRoutes.java
Wed Jul  1 01:56:23 2009
@@ -56,7 +56,7 @@
             .convertBodyTo(InputReportIncident.class)
             // then set the file name using the FilenameGenerator bean
             .setHeader(Exchange.FILE_NAME, BeanLanguage.bean(FilenameGenerator.class, "generateFilename"))
-            // and create the mail body using velocity templating
+            // and create the mail body using velocity template
             .to("velocity:MailBody.vm")
             // and store the file
             .to("file://target/subfolder")

Modified: camel/trunk/examples/camel-example-reportincident/src/test/java/org/apache/camel/example/reportincident/ReportIncidentRoutesSpringTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-reportincident/src/test/java/org/apache/camel/example/reportincident/ReportIncidentRoutesSpringTest.java?rev=790021&r1=790020&r2=790021&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-reportincident/src/test/java/org/apache/camel/example/reportincident/ReportIncidentRoutesSpringTest.java
(original)
+++ camel/trunk/examples/camel-example-reportincident/src/test/java/org/apache/camel/example/reportincident/ReportIncidentRoutesSpringTest.java
Wed Jul  1 01:56:23 2009
@@ -23,7 +23,7 @@
     private ClassPathXmlApplicationContext applicationContext;
     
     protected void startCamel() throws Exception {
-        ClassPathXmlApplicationContext applicationContext = new ClassPathXmlApplicationContext("/META-INF/spring/camel-context.xml");
+        applicationContext = new ClassPathXmlApplicationContext("/META-INF/spring/camel-context.xml");
         camel = SpringCamelContext.springCamelContext(applicationContext);        
         camel.start();
     }



Mime
View raw message