camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [2/2] camel git commit: Component docs
Date Tue, 22 Nov 2016 09:15:38 GMT
Component docs


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

Branch: refs/heads/master
Commit: fc447e8ba05523cd1d060907dc989757c0a533a5
Parents: af15067
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Tue Nov 22 10:15:12 2016 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Tue Nov 22 10:15:12 2016 +0100

----------------------------------------------------------------------
 .../src/main/docs/salesforce-component.adoc                     | 4 ++--
 .../apache/camel/component/salesforce/SalesforceEndpoint.java   | 5 +++--
 2 files changed, 5 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/fc447e8b/components/camel-salesforce/camel-salesforce-component/src/main/docs/salesforce-component.adoc
----------------------------------------------------------------------
diff --git a/components/camel-salesforce/camel-salesforce-component/src/main/docs/salesforce-component.adoc
b/components/camel-salesforce/camel-salesforce-component/src/main/docs/salesforce-component.adoc
index 01e8f3e..6084153 100644
--- a/components/camel-salesforce/camel-salesforce-component/src/main/docs/salesforce-component.adoc
+++ b/components/camel-salesforce/camel-salesforce-component/src/main/docs/salesforce-component.adoc
@@ -249,8 +249,8 @@ The Salesforce component supports 41 endpoint options which are listed
below:
 [width="100%",cols="2,1,1m,1m,5",options="header"]
 |=======================================================================
 | Name | Group | Default | Java Type | Description
-| operationName | common |  | OperationName | 
-| topicName | common |  | String | 
+| operationName | producer |  | OperationName | The operation to use
+| topicName | consumer |  | String | The name of the topic to use
 | apexMethod | common |  | String | APEX method name
 | apexQueryParams | common |  | Map | Query params for APEX method
 | apexUrl | common |  | String | APEX method URL

http://git-wip-us.apache.org/repos/asf/camel/blob/fc447e8b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/SalesforceEndpoint.java
----------------------------------------------------------------------
diff --git a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/SalesforceEndpoint.java
b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/SalesforceEndpoint.java
index 0e8b3b1..3f6be0f 100644
--- a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/SalesforceEndpoint.java
+++ b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/SalesforceEndpoint.java
@@ -22,6 +22,7 @@ import org.apache.camel.Producer;
 import org.apache.camel.component.salesforce.internal.OperationName;
 import org.apache.camel.impl.DefaultEndpoint;
 import org.apache.camel.impl.SynchronousDelegateProducer;
+import org.apache.camel.spi.Metadata;
 import org.apache.camel.spi.UriEndpoint;
 import org.apache.camel.spi.UriParam;
 import org.apache.camel.spi.UriPath;
@@ -37,9 +38,9 @@ public class SalesforceEndpoint extends DefaultEndpoint {
 
     private static final Logger LOG = LoggerFactory.getLogger(SalesforceEndpoint.class);
 
-    @UriPath
+    @UriPath(label = "producer", description = "The operation to use")
     private final OperationName operationName;
-    @UriPath
+    @UriPath(label = "consumer", description = "The name of the topic to use")
     private final String topicName;
     @UriParam
     private final SalesforceEndpointConfig config;


Mime
View raw message