You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by cm...@apache.org on 2013/01/24 21:54:40 UTC

svn commit: r1438187 - /camel/branches/camel-2.9.x/examples/camel-example-pojo-messaging/src/main/java/org/apache/camel/example/pojo_messaging/SendFileRecordsToQueueBean.java

Author: cmueller
Date: Thu Jan 24 20:54:40 2013
New Revision: 1438187

URL: http://svn.apache.org/viewvc?rev=1438187&view=rev
Log:
speed up unit test which failed on the last CI run

Modified:
    camel/branches/camel-2.9.x/examples/camel-example-pojo-messaging/src/main/java/org/apache/camel/example/pojo_messaging/SendFileRecordsToQueueBean.java

Modified: camel/branches/camel-2.9.x/examples/camel-example-pojo-messaging/src/main/java/org/apache/camel/example/pojo_messaging/SendFileRecordsToQueueBean.java
URL: http://svn.apache.org/viewvc/camel/branches/camel-2.9.x/examples/camel-example-pojo-messaging/src/main/java/org/apache/camel/example/pojo_messaging/SendFileRecordsToQueueBean.java?rev=1438187&r1=1438186&r2=1438187&view=diff
==============================================================================
--- camel/branches/camel-2.9.x/examples/camel-example-pojo-messaging/src/main/java/org/apache/camel/example/pojo_messaging/SendFileRecordsToQueueBean.java (original)
+++ camel/branches/camel-2.9.x/examples/camel-example-pojo-messaging/src/main/java/org/apache/camel/example/pojo_messaging/SendFileRecordsToQueueBean.java Thu Jan 24 20:54:40 2013
@@ -25,7 +25,7 @@ public class SendFileRecordsToQueueBean 
     @Produce(uri = "activemq:personnel.records")
     ProducerTemplate producer;
 
-    @Consume(uri = "file:src/data?noop=true")
+    @Consume(uri = "file:src/data?noop=true&initialDelay=100&delay=100")
     public void onFileSendToQueue(String body) {
         producer.sendBody(body);
     }