camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [02/17] camel git commit: CAMEL-10721: camel-connector example
Date Thu, 19 Jan 2017 11:06:42 GMT
CAMEL-10721: camel-connector example


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/94017c0b
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/94017c0b
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/94017c0b

Branch: refs/heads/master
Commit: 94017c0ba9add6204fa852ad0e4b3c7224023ec3
Parents: 88a7645
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Thu Jan 19 10:08:16 2017 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Thu Jan 19 11:00:00 2017 +0100

----------------------------------------------------------------------
 .../src/main/java/org/foo/FooBarWineRoute.java                   | 4 ++--
 .../foo-connector/src/main/resources/camel-connector.json        | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/94017c0b/connectors/examples/foo-bar-wine-example/src/main/java/org/foo/FooBarWineRoute.java
----------------------------------------------------------------------
diff --git a/connectors/examples/foo-bar-wine-example/src/main/java/org/foo/FooBarWineRoute.java
b/connectors/examples/foo-bar-wine-example/src/main/java/org/foo/FooBarWineRoute.java
index e1a4808..f2b8f15 100644
--- a/connectors/examples/foo-bar-wine-example/src/main/java/org/foo/FooBarWineRoute.java
+++ b/connectors/examples/foo-bar-wine-example/src/main/java/org/foo/FooBarWineRoute.java
@@ -25,8 +25,8 @@ public class FooBarWineRoute extends RouteBuilder {
 
     @Override
     public void configure() throws Exception {
-        from("foo:wine?period=3000")
-            .to("wine:Wine?amount=3")
+        from("foo:wine?period=2000")
+            .to("wine:Wine?amount=2")
             .log("Wine ordered ${body}");
 
         from("foo:bar?period=5000")

http://git-wip-us.apache.org/repos/asf/camel/blob/94017c0b/connectors/examples/foo-connector/src/main/resources/camel-connector.json
----------------------------------------------------------------------
diff --git a/connectors/examples/foo-connector/src/main/resources/camel-connector.json b/connectors/examples/foo-connector/src/main/resources/camel-connector.json
index 8a3b89b..6b683b3 100644
--- a/connectors/examples/foo-connector/src/main/resources/camel-connector.json
+++ b/connectors/examples/foo-connector/src/main/resources/camel-connector.json
@@ -13,7 +13,7 @@
   "description" : "Something cool",
   "labels" : [ "foo", "timer" ],
   "source" : "From",
-  "endpointOptions" : [ "timerName", "period" ],
+  "endpointOptions" : [ "timerName", "period", "repeatCount" ],
   "endpointValues" : {
     "fixedRate" : "true",
     "period" : "5000"


Mime
View raw message