You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by dh...@apache.org on 2016/08/30 05:33:46 UTC
[2/2] camel git commit: CAMEL-10238: Updated component docs
CAMEL-10238: Updated component docs
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/0b15168c
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/0b15168c
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/0b15168c
Branch: refs/heads/master
Commit: 0b15168cd4747f7f1de8fb0f8e2230a1fe8ca4ea
Parents: 7d97e5b
Author: Dhiraj Bokde <dh...@yahoo.com>
Authored: Mon Aug 29 22:33:26 2016 -0700
Committer: Dhiraj Bokde <dh...@yahoo.com>
Committed: Mon Aug 29 22:33:26 2016 -0700
----------------------------------------------------------------------
.../SalesforceComponentConfiguration.java | 26 ++++++++++++++++++++
.../src/main/docs/salesforce-component.adoc | 8 ++++--
2 files changed, 32 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/0b15168c/components-starter/camel-salesforce-starter/src/main/java/org/apache/camel/component/salesforce/springboot/SalesforceComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components-starter/camel-salesforce-starter/src/main/java/org/apache/camel/component/salesforce/springboot/SalesforceComponentConfiguration.java b/components-starter/camel-salesforce-starter/src/main/java/org/apache/camel/component/salesforce/springboot/SalesforceComponentConfiguration.java
index a971286..d27021a 100644
--- a/components-starter/camel-salesforce-starter/src/main/java/org/apache/camel/component/salesforce/springboot/SalesforceComponentConfiguration.java
+++ b/components-starter/camel-salesforce-starter/src/main/java/org/apache/camel/component/salesforce/springboot/SalesforceComponentConfiguration.java
@@ -269,6 +269,16 @@ public class SalesforceComponentConfiguration {
* Replay IDs to start from per channel name.
*/
private Map<String, Integer> initialReplayIdMap;
+ /**
+ * Backoff interval increment for Streaming connection restart attempts for
+ * failures beyond CometD auto-reconnect.
+ */
+ private long backoffIncrement;
+ /**
+ * Maximum backoff interval for Streaming connection restart attempts for
+ * failures beyond CometD auto-reconnect.
+ */
+ private long maxBackoff;
public SalesforceLoginConfig getLoginConfig() {
return loginConfig;
@@ -713,4 +723,20 @@ public class SalesforceComponentConfiguration {
public void setInitialReplayIdMap(Map<String, Integer> initialReplayIdMap) {
this.initialReplayIdMap = initialReplayIdMap;
}
+
+ public long getBackoffIncrement() {
+ return backoffIncrement;
+ }
+
+ public void setBackoffIncrement(long backoffIncrement) {
+ this.backoffIncrement = backoffIncrement;
+ }
+
+ public long getMaxBackoff() {
+ return maxBackoff;
+ }
+
+ public void setMaxBackoff(long maxBackoff) {
+ this.maxBackoff = maxBackoff;
+ }
}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/0b15168c/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 8f1a73d..1e2e892 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
@@ -205,7 +205,7 @@ Options
// component options: START
-The Salesforce component supports 55 options which are listed below.
+The Salesforce component supports 57 options which are listed below.
@@ -268,6 +268,8 @@ The Salesforce component supports 55 options which are listed below.
| objectMapper | ObjectMapper | Custom Jackson ObjectMapper to use when serializing/deserializing Salesforce objects.
| defaultReplayId | Integer | Default replayId setting if no value is found in link initialReplayIdMap
| initialReplayIdMap | Map | Replay IDs to start from per channel name.
+| backoffIncrement | long | Backoff interval increment for Streaming connection restart attempts for failures beyond CometD auto-reconnect.
+| maxBackoff | long | Maximum backoff interval for Streaming connection restart attempts for failures beyond CometD auto-reconnect.
|=======================================================================
{% endraw %}
// component options: END
@@ -282,7 +284,7 @@ The Salesforce component supports 55 options which are listed below.
// endpoint options: START
-The Salesforce component supports 39 endpoint options which are listed below:
+The Salesforce component supports 41 endpoint options which are listed below:
{% raw %}
[width="100%",cols="2,1,1m,1m,5",options="header"]
@@ -294,6 +296,7 @@ The Salesforce component supports 39 endpoint options which are listed below:
| apexQueryParams | common | | Map | Query params for APEX method
| apexUrl | common | | String | APEX method URL
| apiVersion | common | | String | Salesforce API version defaults to SalesforceEndpointConfig.DEFAULT_VERSION
+| backoffIncrement | common | | long | Backoff interval increment for Streaming connection restart attempts for failures beyond CometD auto-reconnect.
| batchId | common | | String | Bulk API Batch ID
| contentType | common | | ContentType | Bulk API content type one of XML CSV ZIP_XML ZIP_CSV
| defaultReplayId | common | | Integer | Default replayId setting if no value is found in link initialReplayIdMap
@@ -303,6 +306,7 @@ The Salesforce component supports 39 endpoint options which are listed below:
| initialReplayIdMap | common | | Map | Replay IDs to start from per channel name.
| instanceId | common | | String | Salesforce1 Analytics report execution instance ID
| jobId | common | | String | Bulk API Job ID
+| maxBackoff | common | | long | Maximum backoff interval for Streaming connection restart attempts for failures beyond CometD auto-reconnect.
| notifyForFields | common | | NotifyForFieldsEnum | Notify for fields options are ALL REFERENCED SELECT WHERE
| notifyForOperationCreate | common | | Boolean | Notify for create operation defaults to false (API version = 29.0)
| notifyForOperationDelete | common | | Boolean | Notify for delete operation defaults to false (API version = 29.0)