Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E9357200C10 for ; Thu, 19 Jan 2017 12:06:42 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id E64A3160B62; Thu, 19 Jan 2017 11:06:42 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3DF15160B54 for ; Thu, 19 Jan 2017 12:06:42 +0100 (CET) Received: (qmail 90114 invoked by uid 500); 19 Jan 2017 11:06:41 -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 90010 invoked by uid 99); 19 Jan 2017 11:06:41 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jan 2017 11:06:41 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 5034ADFC16; Thu, 19 Jan 2017 11:06:41 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: davsclaus@apache.org To: commits@camel.apache.org Date: Thu, 19 Jan 2017 11:06:42 -0000 Message-Id: In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [02/17] camel git commit: CAMEL-10721: camel-connector example archived-at: Thu, 19 Jan 2017 11:06:43 -0000 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 Authored: Thu Jan 19 10:08:16 2017 +0100 Committer: Claus Ibsen 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"