camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r564321 - /activemq/camel/trunk/examples/camel-example-etl/src/main/java/org/apache/camel/example/etl/EtlRoutes.java
Date Thu, 09 Aug 2007 17:57:33 GMT
Author: jstrachan
Date: Thu Aug  9 10:57:32 2007
New Revision: 564321

URL: http://svn.apache.org/viewvc?view=rev&rev=564321
Log:
made the ETL demo use replace rather than append for the output files; also slowed down the
polling

Modified:
    activemq/camel/trunk/examples/camel-example-etl/src/main/java/org/apache/camel/example/etl/EtlRoutes.java

Modified: activemq/camel/trunk/examples/camel-example-etl/src/main/java/org/apache/camel/example/etl/EtlRoutes.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/examples/camel-example-etl/src/main/java/org/apache/camel/example/etl/EtlRoutes.java?view=diff&rev=564321&r1=564320&r2=564321
==============================================================================
--- activemq/camel/trunk/examples/camel-example-etl/src/main/java/org/apache/camel/example/etl/EtlRoutes.java
(original)
+++ activemq/camel/trunk/examples/camel-example-etl/src/main/java/org/apache/camel/example/etl/EtlRoutes.java
Thu Aug  9 10:57:32 2007
@@ -32,9 +32,9 @@
             .to("jpa:org.apache.camel.example.etl.CustomerEntity");
 
         // the following will dump the database to files
-        from("jpa:org.apache.camel.example.etl.CustomerEntity?consumeDelete=false")
+        from("jpa:org.apache.camel.example.etl.CustomerEntity?consumeDelete=false?consumer.delay=3000&consumeLockEntity=false")
             .setHeader(FileComponent.HEADER_FILE_NAME, el("${in.body.userName}.xml"))
-            .to("file:target/customers");
+            .to("file:target/customers?append=false");
     }
 }
 // END SNIPPET: example



Mime
View raw message