This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new 3d67340  Add default values in docs for camel-salesforce
3d67340 is described below

commit 3d67340b689696bc89d275466b0ce45572a9a9cd
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Tue Apr 28 15:49:57 2020 +0200

    Add default values in docs for camel-salesforce
---
 .../camel/component/salesforce/salesforce.json     | 16 ++++++------
 .../src/main/docs/salesforce-component.adoc        | 16 ++++++------
 .../salesforce/SalesforceEndpointConfig.java       | 11 ++++----
 .../dsl/SalesforceComponentBuilderFactory.java     |  7 +++--
 .../dsl/SalesforceEndpointBuilderFactory.java      | 30 +++++++++++++++++-----
 5 files changed, 50 insertions(+), 30 deletions(-)

diff --git 
a/components/camel-salesforce/camel-salesforce-component/src/generated/resources/org/apache/camel/component/salesforce/salesforce.json
 
b/components/camel-salesforce/camel-salesforce-component/src/generated/resources/org/apache/camel/component/salesforce/salesforce.json
index f85c0b4..8f072a2 100644
--- 
a/components/camel-salesforce/camel-salesforce-component/src/generated/resources/org/apache/camel/component/salesforce/salesforce.json
+++ 
b/components/camel-salesforce/camel-salesforce-component/src/generated/resources/org/apache/camel/component/salesforce/salesforce.json
@@ -25,8 +25,8 @@
     "apexMethod": { "kind": "property", "displayName": "Apex Method", "group": 
"common", "label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "secret": false, "configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "config", "description": "APEX method name" },
     "apexQueryParams": { "kind": "property", "displayName": "Apex Query 
Params", "group": "common", "label": "", "required": false, "type": "object", 
"javaType": "java.util.Map<java.lang.String, java.lang.Object>", "deprecated": 
false, "secret": false, "configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "config", "description": "Query params for APEX method" },
     "apexUrl": { "kind": "property", "displayName": "Apex Url", "group": 
"common", "label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "secret": false, "configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "config", "description": "APEX method URL" },
-    "apiVersion": { "kind": "property", "displayName": "Api Version", "group": 
"common", "label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "secret": false, "configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "config", "description": "Salesforce API version, 
defaults to SalesforceEndpointConfig.DEFAULT_VERSION" },
-    "backoffIncrement": { "kind": "property", "displayName": "Backoff 
Increment", "group": "common", "label": "", "required": false, "type": 
"integer", "javaType": "long", "deprecated": false, "secret": false, 
"configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "config", "description": "Backoff interval increment for 
Streaming connection restart attempts for failures beyond CometD 
auto-reconnect." },
+    "apiVersion": { "kind": "property", "displayName": "Api Version", "group": 
"common", "label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "secret": false, "defaultValue": 
"34.0", "configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "config", "description": "Salesforce API version." },
+    "backoffIncrement": { "kind": "property", "displayName": "Backoff 
Increment", "group": "common", "label": "", "required": false, "type": 
"integer", "javaType": "long", "deprecated": false, "secret": false, 
"defaultValue": "1000", "configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "config", "description": "Backoff interval increment for 
Streaming connection restart attempts for failures beyond CometD 
auto-reconnect." },
     "batchId": { "kind": "property", "displayName": "Batch Id", "group": 
"common", "label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "secret": false, "configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "config", "description": "Bulk API Batch ID" },
     "contentType": { "kind": "property", "displayName": "Content Type", 
"group": "common", "label": "", "required": false, "type": "object", 
"javaType": "org.apache.camel.component.salesforce.api.dto.bulk.ContentType", 
"enum": [ "XML", "CSV", "JSON", "ZIP_XML", "ZIP_CSV", "ZIP_JSON" ], 
"deprecated": false, "secret": false, "configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "config", "description": "Bulk API content type, one of X 
[...]
     "defaultReplayId": { "kind": "property", "displayName": "Default Replay 
Id", "group": "common", "label": "", "required": false, "type": "integer", 
"javaType": "java.lang.Long", "deprecated": false, "secret": false, 
"configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "config", "description": "Default replayId setting if no 
value is found in initialReplayIdMap" },
@@ -40,8 +40,8 @@
     "instanceId": { "kind": "property", "displayName": "Instance Id", "group": 
"common", "label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "secret": false, "configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "config", "description": "Salesforce1 Analytics report 
execution instance ID" },
     "jobId": { "kind": "property", "displayName": "Job Id", "group": "common", 
"label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "secret": false, "configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "config", "description": "Bulk API Job ID" },
     "limit": { "kind": "property", "displayName": "Limit", "group": "common", 
"label": "", "required": false, "type": "integer", "javaType": 
"java.lang.Integer", "deprecated": false, "secret": false, 
"configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "config", "description": "Limit on number of returned 
records. Applicable to some of the API, check the Salesforce documentation." },
-    "maxBackoff": { "kind": "property", "displayName": "Max Backoff", "group": 
"common", "label": "", "required": false, "type": "integer", "javaType": 
"long", "deprecated": false, "secret": false, "configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "config", "description": "Maximum backoff interval for 
Streaming connection restart attempts for failures beyond CometD 
auto-reconnect." },
-    "notFoundBehaviour": { "kind": "property", "displayName": "Not Found 
Behaviour", "group": "common", "label": "", "required": false, "type": 
"object", "javaType": 
"org.apache.camel.component.salesforce.NotFoundBehaviour", "enum": [ 
"EXCEPTION", "NULL" ], "deprecated": false, "secret": false, 
"configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "config", "description": "Sets the behaviour of 404 not 
found status received from Sal [...]
+    "maxBackoff": { "kind": "property", "displayName": "Max Backoff", "group": 
"common", "label": "", "required": false, "type": "integer", "javaType": 
"long", "deprecated": false, "secret": false, "defaultValue": "30000", 
"configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "config", "description": "Maximum backoff interval for 
Streaming connection restart attempts for failures beyond CometD 
auto-reconnect." },
+    "notFoundBehaviour": { "kind": "property", "displayName": "Not Found 
Behaviour", "group": "common", "label": "", "required": false, "type": 
"object", "javaType": 
"org.apache.camel.component.salesforce.NotFoundBehaviour", "enum": [ 
"EXCEPTION", "NULL" ], "deprecated": false, "secret": false, "defaultValue": 
"EXCEPTION", "configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "config", "description": "Sets the behaviour of 404 not f 
[...]
     "notifyForFields": { "kind": "property", "displayName": "Notify For 
Fields", "group": "common", "label": "", "required": false, "type": "object", 
"javaType": 
"org.apache.camel.component.salesforce.internal.dto.NotifyForFieldsEnum", 
"enum": [ "ALL", "REFERENCED", "SELECT", "WHERE" ], "deprecated": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "config", "description": "Notify for fields, options are 
[...]
     "notifyForOperationCreate": { "kind": "property", "displayName": "Notify 
For Operation Create", "group": "common", "label": "", "required": false, 
"type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "config", "description": "Notify for create operation, 
defaults to false (API version = 29.0)" },
     "notifyForOperationDelete": { "kind": "property", "displayName": "Notify 
For Operation Delete", "group": "common", "label": "", "required": false, 
"type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "config", "description": "Notify for delete operation, 
defaults to false (API version = 29.0)" },
@@ -101,8 +101,8 @@
     "apexMethod": { "kind": "parameter", "displayName": "Apex Method", 
"group": "common", "label": "", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "secret": false, 
"configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "configuration", "description": "APEX method name" },
     "apexQueryParams": { "kind": "parameter", "displayName": "Apex Query 
Params", "group": "common", "label": "", "required": false, "type": "object", 
"javaType": "java.util.Map<java.lang.String, java.lang.Object>", "deprecated": 
false, "secret": false, "configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "configuration", "description": "Query params for APEX 
method" },
     "apexUrl": { "kind": "parameter", "displayName": "Apex Url", "group": 
"common", "label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "secret": false, "configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "configuration", "description": "APEX method URL" },
-    "apiVersion": { "kind": "parameter", "displayName": "Api Version", 
"group": "common", "label": "", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "secret": false, 
"configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "configuration", "description": "Salesforce API version, 
defaults to SalesforceEndpointConfig.DEFAULT_VERSION" },
-    "backoffIncrement": { "kind": "parameter", "displayName": "Backoff 
Increment", "group": "common", "label": "", "required": false, "type": 
"integer", "javaType": "long", "deprecated": false, "secret": false, 
"configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "configuration", "description": "Backoff interval 
increment for Streaming connection restart attempts for failures beyond CometD 
auto-reconnect." },
+    "apiVersion": { "kind": "parameter", "displayName": "Api Version", 
"group": "common", "label": "", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "secret": false, 
"defaultValue": "34.0", "configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "configuration", "description": "Salesforce API version." 
},
+    "backoffIncrement": { "kind": "parameter", "displayName": "Backoff 
Increment", "group": "common", "label": "", "required": false, "type": 
"integer", "javaType": "long", "deprecated": false, "secret": false, 
"defaultValue": "1000", "configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "configuration", "description": "Backoff interval 
increment for Streaming connection restart attempts for failures beyond CometD 
auto-reconnect." },
     "batchId": { "kind": "parameter", "displayName": "Batch Id", "group": 
"common", "label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "secret": false, "configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "configuration", "description": "Bulk API Batch ID" },
     "contentType": { "kind": "parameter", "displayName": "Content Type", 
"group": "common", "label": "", "required": false, "type": "object", 
"javaType": "org.apache.camel.component.salesforce.api.dto.bulk.ContentType", 
"enum": [ "XML", "CSV", "JSON", "ZIP_XML", "ZIP_CSV", "ZIP_JSON" ], 
"deprecated": false, "secret": false, "configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "configuration", "description": "Bulk API content type,  
[...]
     "defaultReplayId": { "kind": "parameter", "displayName": "Default Replay 
Id", "group": "common", "label": "", "required": false, "type": "integer", 
"javaType": "java.lang.Long", "deprecated": false, "secret": false, 
"configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "configuration", "description": "Default replayId setting 
if no value is found in initialReplayIdMap" },
@@ -113,8 +113,8 @@
     "instanceId": { "kind": "parameter", "displayName": "Instance Id", 
"group": "common", "label": "", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "secret": false, 
"configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "configuration", "description": "Salesforce1 Analytics 
report execution instance ID" },
     "jobId": { "kind": "parameter", "displayName": "Job Id", "group": 
"common", "label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "secret": false, "configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "configuration", "description": "Bulk API Job ID" },
     "limit": { "kind": "parameter", "displayName": "Limit", "group": "common", 
"label": "", "required": false, "type": "integer", "javaType": 
"java.lang.Integer", "deprecated": false, "secret": false, 
"configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "configuration", "description": "Limit on number of 
returned records. Applicable to some of the API, check the Salesforce 
documentation." },
-    "maxBackoff": { "kind": "parameter", "displayName": "Max Backoff", 
"group": "common", "label": "", "required": false, "type": "integer", 
"javaType": "long", "deprecated": false, "secret": false, "configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "configuration", "description": "Maximum backoff interval 
for Streaming connection restart attempts for failures beyond CometD 
auto-reconnect." },
-    "notFoundBehaviour": { "kind": "parameter", "displayName": "Not Found 
Behaviour", "group": "common", "label": "", "required": false, "type": 
"object", "javaType": 
"org.apache.camel.component.salesforce.NotFoundBehaviour", "enum": [ 
"EXCEPTION", "NULL" ], "deprecated": false, "secret": false, 
"configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "configuration", "description": "Sets the behaviour of 
404 not found status received  [...]
+    "maxBackoff": { "kind": "parameter", "displayName": "Max Backoff", 
"group": "common", "label": "", "required": false, "type": "integer", 
"javaType": "long", "deprecated": false, "secret": false, "defaultValue": 
"30000", "configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "configuration", "description": "Maximum backoff interval 
for Streaming connection restart attempts for failures beyond CometD 
auto-reconnect." },
+    "notFoundBehaviour": { "kind": "parameter", "displayName": "Not Found 
Behaviour", "group": "common", "label": "", "required": false, "type": 
"object", "javaType": 
"org.apache.camel.component.salesforce.NotFoundBehaviour", "enum": [ 
"EXCEPTION", "NULL" ], "deprecated": false, "secret": false, "defaultValue": 
"EXCEPTION", "configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "configuration", "description": "Sets the behaviour of 4 
[...]
     "notifyForFields": { "kind": "parameter", "displayName": "Notify For 
Fields", "group": "common", "label": "", "required": false, "type": "object", 
"javaType": 
"org.apache.camel.component.salesforce.internal.dto.NotifyForFieldsEnum", 
"enum": [ "ALL", "REFERENCED", "SELECT", "WHERE" ], "deprecated": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "configuration", "description": "Notify for fields, opt 
[...]
     "notifyForOperationCreate": { "kind": "parameter", "displayName": "Notify 
For Operation Create", "group": "common", "label": "", "required": false, 
"type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "configuration", "description": "Notify for create 
operation, defaults to false (API version = 29.0)" },
     "notifyForOperationDelete": { "kind": "parameter", "displayName": "Notify 
For Operation Delete", "group": "common", "label": "", "required": false, 
"type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "configuration", "description": "Notify for delete 
operation, defaults to false (API version = 29.0)" },
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 c7cb29b..f3168a2 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
@@ -665,8 +665,8 @@ The Salesforce component supports 72 options, which are 
listed below.
 | *apexMethod* (common) | APEX method name |  | String
 | *apexQueryParams* (common) | Query params for APEX method |  | Map
 | *apexUrl* (common) | APEX method URL |  | String
-| *apiVersion* (common) | Salesforce API version, defaults to 
SalesforceEndpointConfig.DEFAULT_VERSION |  | String
-| *backoffIncrement* (common) | Backoff interval increment for Streaming 
connection restart attempts for failures beyond CometD auto-reconnect. |  | long
+| *apiVersion* (common) | Salesforce API version. | 34.0 | String
+| *backoffIncrement* (common) | Backoff interval increment for Streaming 
connection restart attempts for failures beyond CometD auto-reconnect. | 1000 | 
long
 | *batchId* (common) | Bulk API Batch ID |  | String
 | *contentType* (common) | Bulk API content type, one of XML, CSV, ZIP_XML, 
ZIP_CSV. The value can be one of: XML, CSV, JSON, ZIP_XML, ZIP_CSV, ZIP_JSON |  
| ContentType
 | *defaultReplayId* (common) | Default replayId setting if no value is found 
in initialReplayIdMap |  | Long
@@ -680,8 +680,8 @@ The Salesforce component supports 72 options, which are 
listed below.
 | *instanceId* (common) | Salesforce1 Analytics report execution instance ID | 
 | String
 | *jobId* (common) | Bulk API Job ID |  | String
 | *limit* (common) | Limit on number of returned records. Applicable to some 
of the API, check the Salesforce documentation. |  | Integer
-| *maxBackoff* (common) | Maximum backoff interval for Streaming connection 
restart attempts for failures beyond CometD auto-reconnect. |  | long
-| *notFoundBehaviour* (common) | Sets the behaviour of 404 not found status 
received from Salesforce API. Should the body be set to NULL 
NotFoundBehaviour#NULL or should a exception be signaled on the exchange 
NotFoundBehaviour#EXCEPTION - the default. The value can be one of: EXCEPTION, 
NULL |  | NotFoundBehaviour
+| *maxBackoff* (common) | Maximum backoff interval for Streaming connection 
restart attempts for failures beyond CometD auto-reconnect. | 30000 | long
+| *notFoundBehaviour* (common) | Sets the behaviour of 404 not found status 
received from Salesforce API. Should the body be set to NULL 
NotFoundBehaviour#NULL or should a exception be signaled on the exchange 
NotFoundBehaviour#EXCEPTION - the default. The value can be one of: EXCEPTION, 
NULL | EXCEPTION | NotFoundBehaviour
 | *notifyForFields* (common) | Notify for fields, options are ALL, REFERENCED, 
SELECT, WHERE. The value can be one of: ALL, REFERENCED, SELECT, WHERE |  | 
NotifyForFieldsEnum
 | *notifyForOperationCreate* (common) | Notify for create operation, defaults 
to false (API version = 29.0) |  | Boolean
 | *notifyForOperationDelete* (common) | Notify for delete operation, defaults 
to false (API version = 29.0) |  | Boolean
@@ -775,8 +775,8 @@ with the following path and query parameters:
 | *apexMethod* (common) | APEX method name |  | String
 | *apexQueryParams* (common) | Query params for APEX method |  | Map
 | *apexUrl* (common) | APEX method URL |  | String
-| *apiVersion* (common) | Salesforce API version, defaults to 
SalesforceEndpointConfig.DEFAULT_VERSION |  | String
-| *backoffIncrement* (common) | Backoff interval increment for Streaming 
connection restart attempts for failures beyond CometD auto-reconnect. |  | long
+| *apiVersion* (common) | Salesforce API version. | 34.0 | String
+| *backoffIncrement* (common) | Backoff interval increment for Streaming 
connection restart attempts for failures beyond CometD auto-reconnect. | 1000 | 
long
 | *batchId* (common) | Bulk API Batch ID |  | String
 | *contentType* (common) | Bulk API content type, one of XML, CSV, ZIP_XML, 
ZIP_CSV. The value can be one of: XML, CSV, JSON, ZIP_XML, ZIP_CSV, ZIP_JSON |  
| ContentType
 | *defaultReplayId* (common) | Default replayId setting if no value is found 
in initialReplayIdMap |  | Long
@@ -787,8 +787,8 @@ with the following path and query parameters:
 | *instanceId* (common) | Salesforce1 Analytics report execution instance ID | 
 | String
 | *jobId* (common) | Bulk API Job ID |  | String
 | *limit* (common) | Limit on number of returned records. Applicable to some 
of the API, check the Salesforce documentation. |  | Integer
-| *maxBackoff* (common) | Maximum backoff interval for Streaming connection 
restart attempts for failures beyond CometD auto-reconnect. |  | long
-| *notFoundBehaviour* (common) | Sets the behaviour of 404 not found status 
received from Salesforce API. Should the body be set to NULL 
NotFoundBehaviour#NULL or should a exception be signaled on the exchange 
NotFoundBehaviour#EXCEPTION - the default. The value can be one of: EXCEPTION, 
NULL |  | NotFoundBehaviour
+| *maxBackoff* (common) | Maximum backoff interval for Streaming connection 
restart attempts for failures beyond CometD auto-reconnect. | 30000 | long
+| *notFoundBehaviour* (common) | Sets the behaviour of 404 not found status 
received from Salesforce API. Should the body be set to NULL 
NotFoundBehaviour#NULL or should a exception be signaled on the exchange 
NotFoundBehaviour#EXCEPTION - the default. The value can be one of: EXCEPTION, 
NULL | EXCEPTION | NotFoundBehaviour
 | *notifyForFields* (common) | Notify for fields, options are ALL, REFERENCED, 
SELECT, WHERE. The value can be one of: ALL, REFERENCED, SELECT, WHERE |  | 
NotifyForFieldsEnum
 | *notifyForOperationCreate* (common) | Notify for create operation, defaults 
to false (API version = 29.0) |  | Boolean
 | *notifyForOperationDelete* (common) | Notify for delete operation, defaults 
to false (API version = 29.0) |  | Boolean
diff --git 
a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/SalesforceEndpointConfig.java
 
b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/SalesforceEndpointConfig.java
index 6de0ded..e5286a9 100644
--- 
a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/SalesforceEndpointConfig.java
+++ 
b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/SalesforceEndpointConfig.java
@@ -96,7 +96,7 @@ public class SalesforceEndpointConfig implements Cloneable {
     public static final String NOT_FOUND_BEHAVIOUR = "notFoundBehaviour";
 
     // general properties
-    @UriParam
+    @UriParam(defaultValue = DEFAULT_VERSION)
     private String apiVersion = DEFAULT_VERSION;
 
     // Rest API properties
@@ -183,17 +183,17 @@ public class SalesforceEndpointConfig implements 
Cloneable {
     private ObjectMapper objectMapper;
 
     // Streaming connection restart attempt backoff interval increment
-    @UriParam
+    @UriParam(defaultValue = "" + DEFAULT_BACKOFF_INCREMENT)
     private long backoffIncrement = DEFAULT_BACKOFF_INCREMENT;
 
     // Streaming connection restart attempt maximum backoff interval
-    @UriParam
+    @UriParam(defaultValue = "" + DEFAULT_MAX_BACKOFF)
     private long maxBackoff = DEFAULT_MAX_BACKOFF;
 
     @UriParam
     private Integer limit;
 
-    @UriParam
+    @UriParam(defaultValue = "EXCEPTION")
     private NotFoundBehaviour notFoundBehaviour = NotFoundBehaviour.EXCEPTION;
 
     public SalesforceEndpointConfig copy() {
@@ -236,8 +236,7 @@ public class SalesforceEndpointConfig implements Cloneable {
     }
 
     /**
-     * Salesforce API version, defaults to
-     * SalesforceEndpointConfig.DEFAULT_VERSION
+     * Salesforce API version.
      */
     public void setApiVersion(String apiVersion) {
         this.apiVersion = apiVersion;
diff --git 
a/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/SalesforceComponentBuilderFactory.java
 
b/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/SalesforceComponentBuilderFactory.java
index 1a6daac..53d72be 100644
--- 
a/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/SalesforceComponentBuilderFactory.java
+++ 
b/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/SalesforceComponentBuilderFactory.java
@@ -85,11 +85,11 @@ public interface SalesforceComponentBuilderFactory {
             return this;
         }
         /**
-         * Salesforce API version, defaults to
-         * SalesforceEndpointConfig.DEFAULT_VERSION.
+         * Salesforce API version.
          * 
          * The option is a: <code>java.lang.String</code> type.
          * 
+         * Default: 34.0
          * Group: common
          */
         default SalesforceComponentBuilder apiVersion(
@@ -103,6 +103,7 @@ public interface SalesforceComponentBuilderFactory {
          * 
          * The option is a: <code>long</code> type.
          * 
+         * Default: 1000
          * Group: common
          */
         default SalesforceComponentBuilder backoffIncrement(
@@ -279,6 +280,7 @@ public interface SalesforceComponentBuilderFactory {
          * 
          * The option is a: <code>long</code> type.
          * 
+         * Default: 30000
          * Group: common
          */
         default SalesforceComponentBuilder maxBackoff(long maxBackoff) {
@@ -295,6 +297,7 @@ public interface SalesforceComponentBuilderFactory {
          * <code>org.apache.camel.component.salesforce.NotFoundBehaviour</code>
          * type.
          * 
+         * Default: EXCEPTION
          * Group: common
          */
         default SalesforceComponentBuilder notFoundBehaviour(
diff --git 
a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/SalesforceEndpointBuilderFactory.java
 
b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/SalesforceEndpointBuilderFactory.java
index 6a4c7d1..a03951b 100644
--- 
a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/SalesforceEndpointBuilderFactory.java
+++ 
b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/SalesforceEndpointBuilderFactory.java
@@ -92,11 +92,11 @@ public interface SalesforceEndpointBuilderFactory {
             return this;
         }
         /**
-         * Salesforce API version, defaults to
-         * SalesforceEndpointConfig.DEFAULT_VERSION.
+         * Salesforce API version.
          * 
          * The option is a: <code>java.lang.String</code> type.
          * 
+         * Default: 34.0
          * Group: common
          */
         default SalesforceEndpointConsumerBuilder apiVersion(String 
apiVersion) {
@@ -109,6 +109,7 @@ public interface SalesforceEndpointBuilderFactory {
          * 
          * The option is a: <code>long</code> type.
          * 
+         * Default: 1000
          * Group: common
          */
         default SalesforceEndpointConsumerBuilder backoffIncrement(
@@ -122,6 +123,7 @@ public interface SalesforceEndpointBuilderFactory {
          * 
          * The option will be converted to a <code>long</code> type.
          * 
+         * Default: 1000
          * Group: common
          */
         default SalesforceEndpointConsumerBuilder backoffIncrement(
@@ -344,6 +346,7 @@ public interface SalesforceEndpointBuilderFactory {
          * 
          * The option is a: <code>long</code> type.
          * 
+         * Default: 30000
          * Group: common
          */
         default SalesforceEndpointConsumerBuilder maxBackoff(long maxBackoff) {
@@ -356,6 +359,7 @@ public interface SalesforceEndpointBuilderFactory {
          * 
          * The option will be converted to a <code>long</code> type.
          * 
+         * Default: 30000
          * Group: common
          */
         default SalesforceEndpointConsumerBuilder maxBackoff(String 
maxBackoff) {
@@ -372,6 +376,7 @@ public interface SalesforceEndpointBuilderFactory {
          * <code>org.apache.camel.component.salesforce.NotFoundBehaviour</code>
          * type.
          * 
+         * Default: EXCEPTION
          * Group: common
          */
         default SalesforceEndpointConsumerBuilder notFoundBehaviour(
@@ -389,6 +394,7 @@ public interface SalesforceEndpointBuilderFactory {
          * <code>org.apache.camel.component.salesforce.NotFoundBehaviour</code>
          * type.
          * 
+         * Default: EXCEPTION
          * Group: common
          */
         default SalesforceEndpointConsumerBuilder notFoundBehaviour(
@@ -1033,11 +1039,11 @@ public interface SalesforceEndpointBuilderFactory {
             return this;
         }
         /**
-         * Salesforce API version, defaults to
-         * SalesforceEndpointConfig.DEFAULT_VERSION.
+         * Salesforce API version.
          * 
          * The option is a: <code>java.lang.String</code> type.
          * 
+         * Default: 34.0
          * Group: common
          */
         default SalesforceEndpointProducerBuilder apiVersion(String 
apiVersion) {
@@ -1050,6 +1056,7 @@ public interface SalesforceEndpointBuilderFactory {
          * 
          * The option is a: <code>long</code> type.
          * 
+         * Default: 1000
          * Group: common
          */
         default SalesforceEndpointProducerBuilder backoffIncrement(
@@ -1063,6 +1070,7 @@ public interface SalesforceEndpointBuilderFactory {
          * 
          * The option will be converted to a <code>long</code> type.
          * 
+         * Default: 1000
          * Group: common
          */
         default SalesforceEndpointProducerBuilder backoffIncrement(
@@ -1285,6 +1293,7 @@ public interface SalesforceEndpointBuilderFactory {
          * 
          * The option is a: <code>long</code> type.
          * 
+         * Default: 30000
          * Group: common
          */
         default SalesforceEndpointProducerBuilder maxBackoff(long maxBackoff) {
@@ -1297,6 +1306,7 @@ public interface SalesforceEndpointBuilderFactory {
          * 
          * The option will be converted to a <code>long</code> type.
          * 
+         * Default: 30000
          * Group: common
          */
         default SalesforceEndpointProducerBuilder maxBackoff(String 
maxBackoff) {
@@ -1313,6 +1323,7 @@ public interface SalesforceEndpointBuilderFactory {
          * <code>org.apache.camel.component.salesforce.NotFoundBehaviour</code>
          * type.
          * 
+         * Default: EXCEPTION
          * Group: common
          */
         default SalesforceEndpointProducerBuilder notFoundBehaviour(
@@ -1330,6 +1341,7 @@ public interface SalesforceEndpointBuilderFactory {
          * <code>org.apache.camel.component.salesforce.NotFoundBehaviour</code>
          * type.
          * 
+         * Default: EXCEPTION
          * Group: common
          */
         default SalesforceEndpointProducerBuilder notFoundBehaviour(
@@ -1899,11 +1911,11 @@ public interface SalesforceEndpointBuilderFactory {
             return this;
         }
         /**
-         * Salesforce API version, defaults to
-         * SalesforceEndpointConfig.DEFAULT_VERSION.
+         * Salesforce API version.
          * 
          * The option is a: <code>java.lang.String</code> type.
          * 
+         * Default: 34.0
          * Group: common
          */
         default SalesforceEndpointBuilder apiVersion(String apiVersion) {
@@ -1916,6 +1928,7 @@ public interface SalesforceEndpointBuilderFactory {
          * 
          * The option is a: <code>long</code> type.
          * 
+         * Default: 1000
          * Group: common
          */
         default SalesforceEndpointBuilder backoffIncrement(long 
backoffIncrement) {
@@ -1928,6 +1941,7 @@ public interface SalesforceEndpointBuilderFactory {
          * 
          * The option will be converted to a <code>long</code> type.
          * 
+         * Default: 1000
          * Group: common
          */
         default SalesforceEndpointBuilder backoffIncrement(
@@ -2145,6 +2159,7 @@ public interface SalesforceEndpointBuilderFactory {
          * 
          * The option is a: <code>long</code> type.
          * 
+         * Default: 30000
          * Group: common
          */
         default SalesforceEndpointBuilder maxBackoff(long maxBackoff) {
@@ -2157,6 +2172,7 @@ public interface SalesforceEndpointBuilderFactory {
          * 
          * The option will be converted to a <code>long</code> type.
          * 
+         * Default: 30000
          * Group: common
          */
         default SalesforceEndpointBuilder maxBackoff(String maxBackoff) {
@@ -2173,6 +2189,7 @@ public interface SalesforceEndpointBuilderFactory {
          * <code>org.apache.camel.component.salesforce.NotFoundBehaviour</code>
          * type.
          * 
+         * Default: EXCEPTION
          * Group: common
          */
         default SalesforceEndpointBuilder notFoundBehaviour(
@@ -2190,6 +2207,7 @@ public interface SalesforceEndpointBuilderFactory {
          * <code>org.apache.camel.component.salesforce.NotFoundBehaviour</code>
          * type.
          * 
+         * Default: EXCEPTION
          * Group: common
          */
         default SalesforceEndpointBuilder notFoundBehaviour(

Reply via email to