camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject camel git commit: CAMEL-11242: Fixed example. This closes #1712
Date Wed, 24 May 2017 11:34:54 GMT
Repository: camel
Updated Branches:
  refs/heads/master 092696c94 -> 45fd4196f


CAMEL-11242: Fixed example. This closes #1712


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

Branch: refs/heads/master
Commit: 45fd4196f4ca6768e430af68a4369c5ae94d0763
Parents: 092696c
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Wed May 24 13:34:32 2017 +0200
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Wed May 24 13:34:43 2017 +0200

----------------------------------------------------------------------
 .../apache/camel/example/mention/TwitterSalesforceRoute.java | 2 +-
 .../src/main/resources/application.properties                | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/45fd4196/examples/camel-example-twitter-salesforce/src/main/java/org/apache/camel/example/mention/TwitterSalesforceRoute.java
----------------------------------------------------------------------
diff --git a/examples/camel-example-twitter-salesforce/src/main/java/org/apache/camel/example/mention/TwitterSalesforceRoute.java
b/examples/camel-example-twitter-salesforce/src/main/java/org/apache/camel/example/mention/TwitterSalesforceRoute.java
index 6027f15..5a3a600 100644
--- a/examples/camel-example-twitter-salesforce/src/main/java/org/apache/camel/example/mention/TwitterSalesforceRoute.java
+++ b/examples/camel-example-twitter-salesforce/src/main/java/org/apache/camel/example/mention/TwitterSalesforceRoute.java
@@ -27,7 +27,7 @@ public class TwitterSalesforceRoute extends RouteBuilder {
     @Override
     public void configure() throws Exception {
         from("twitter-timeline:mentions")
-            .log("Mention ${body}")
+            .log("Tweet id ${body.id} mention: ${body}")
             .process(exchange -> {
                 Status status = exchange.getIn().getBody(Status.class);
                 User user = status.getUser();

http://git-wip-us.apache.org/repos/asf/camel/blob/45fd4196/examples/camel-example-twitter-salesforce/src/main/resources/application.properties
----------------------------------------------------------------------
diff --git a/examples/camel-example-twitter-salesforce/src/main/resources/application.properties
b/examples/camel-example-twitter-salesforce/src/main/resources/application.properties
index db5497b..411da3a 100644
--- a/examples/camel-example-twitter-salesforce/src/main/resources/application.properties
+++ b/examples/camel-example-twitter-salesforce/src/main/resources/application.properties
@@ -21,10 +21,10 @@ camel.springboot.name=mention
 ## This uses the Twitter 'cameltweet' account for testing purposes.
 ## do NOT use this twitter account in your applications!
 
-camel.component.twitter.consumer-key=NMqaca1bzXsOcZhP2XlwA
-camel.component.twitter.consumer-secret=VxNQiRLwwKVD0K9mmfxlTTbVdgRpriORypnUbHhxeQw
-camel.component.twitter.access-token=26693234-W0YjxL9cMJrC0VZZ4xdgFMymxIQ10LeL1K8YlbBY
-camel.component.twitter.access-token-secret=BZD51BgzbOdFstWZYsqB5p5dbuuDV12vrOdatzhY4E
+camel.component.twitter-timeline.consumer-key=NMqaca1bzXsOcZhP2XlwA
+camel.component.twitter-timeline.consumer-secret=VxNQiRLwwKVD0K9mmfxlTTbVdgRpriORypnUbHhxeQw
+camel.component.twitter-timeline.access-token=26693234-W0YjxL9cMJrC0VZZ4xdgFMymxIQ10LeL1K8YlbBY
+camel.component.twitter-timeline.access-token-secret=BZD51BgzbOdFstWZYsqB5p5dbuuDV12vrOdatzhY4E
 
 ## This uses Camel test Salesforce developer account please use your own account in your
applications
 


Mime
View raw message