Return-Path: Delivered-To: apmail-camel-commits-archive@www.apache.org Received: (qmail 27204 invoked from network); 1 Jul 2009 01:56:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Jul 2009 01:56:37 -0000 Received: (qmail 28798 invoked by uid 500); 1 Jul 2009 01:56:48 -0000 Delivered-To: apmail-camel-commits-archive@camel.apache.org Received: (qmail 28750 invoked by uid 500); 1 Jul 2009 01:56:48 -0000 Mailing-List: contact commits-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list commits@camel.apache.org Received: (qmail 28741 invoked by uid 99); 1 Jul 2009 01:56:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jul 2009 01:56:48 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jul 2009 01:56:45 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 182C923888D0; Wed, 1 Jul 2009 01:56:24 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@camel.apache.org From: ningjiang@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090701015624.182C923888D0@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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(); }