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

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git

commit d400e9dd566b1951a7daf7a9b46a14f30b3c7779
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Thu Mar 24 21:25:24 2022 +0100

    Regen
---
 .../camel/springboot/catalog/components/salesforce.json    |  2 ++
 .../camel-salesforce-starter/src/main/docs/salesforce.json |  7 +++++++
 .../springboot/SalesforceComponentConfiguration.java       | 14 ++++++++++++++
 3 files changed, 23 insertions(+)

diff --git 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/salesforce.json
 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/salesforce.json
index 0afd904..5cac4e8 100644
--- 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/salesforce.json
+++ 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/salesforce.json
@@ -72,6 +72,7 @@
     "sObjectName": { "kind": "property", "displayName": "SObject Name", 
"group": "common", "label": "", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "config", "description": "SObject name if required or 
supported by API" },
     "sObjectQuery": { "kind": "property", "displayName": "SObject Query", 
"group": "common", "label": "", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "config", "description": "Salesforce SOQL query string" },
     "sObjectSearch": { "kind": "property", "displayName": "SObject Search", 
"group": "common", "label": "", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "config", "description": "Salesforce SOSL search string" 
},
+    "streamQueryResult": { "kind": "property", "displayName": "Stream query 
result", "group": "common", "label": "", "required": false, "type": "boolean", 
"javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": "false", "configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "config", "description": "If true, streams SOQL query 
result and transparently handles subsequent requests if t [...]
     "updateTopic": { "kind": "property", "displayName": "Update Topic", 
"group": "common", "label": "", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "config", "description": "Whether to update an existing 
Push Topic when using the Streaming API, defaults to false" },
     "config": { "kind": "property", "displayName": "Config", "group": "common 
(advanced)", "label": "common,advanced", "required": false, "type": "object", 
"javaType": "org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"deprecated": false, "autowired": false, "secret": false, "description": 
"Global endpoint configuration - use to set values that are common to all 
endpoints" },
     "httpClientProperties": { "kind": "property", "displayName": "Http Client 
Properties", "group": "common (advanced)", "label": "common,advanced", 
"required": false, "type": "object", "javaType": 
"java.util.Map<java.lang.String, java.lang.Object>", "deprecated": false, 
"autowired": false, "secret": false, "description": "Used to set any properties 
that can be configured on the underlying HTTP client. Have a look at properties 
of SalesforceHttpClient and the Jetty HttpClient for all ava [...]
@@ -161,6 +162,7 @@
     "sObjectName": { "kind": "parameter", "displayName": "SObject Name", 
"group": "common", "label": "", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "configuration", "description": "SObject name if required 
or supported by API" },
     "sObjectQuery": { "kind": "parameter", "displayName": "SObject Query", 
"group": "common", "label": "", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "configuration", "description": "Salesforce SOQL query 
string" },
     "sObjectSearch": { "kind": "parameter", "displayName": "SObject Search", 
"group": "common", "label": "", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "configuration", "description": "Salesforce SOSL search 
string" },
+    "streamQueryResult": { "kind": "parameter", "displayName": "Stream query 
result", "group": "common", "label": "", "required": false, "type": "boolean", 
"javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": "false", "configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "configuration", "description": "If true, streams SOQL 
query result and transparently handles subsequent reque [...]
     "updateTopic": { "kind": "parameter", "displayName": "Update Topic", 
"group": "common", "label": "", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "configuration", "description": "Whether to update an 
existing Push Topic when using the Streaming API, defaults to false" },
     "bridgeErrorHandler": { "kind": "parameter", "displayName": "Bridge Error 
Handler", "group": "consumer", "label": "consumer", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": false, "description": "Allows for bridging the 
consumer to the Camel routing Error Handler, which mean any exceptions occurred 
while the consumer is trying to pickup incoming messages, or the likes, will 
now be processed as a m [...]
     "replayId": { "kind": "parameter", "displayName": "Replay Id", "group": 
"consumer", "label": "consumer", "required": false, "type": "integer", 
"javaType": "java.lang.Long", "deprecated": false, "autowired": false, 
"secret": false, "description": "The replayId value to use when subscribing" },
diff --git 
a/components-starter/camel-salesforce-starter/src/main/docs/salesforce.json 
b/components-starter/camel-salesforce-starter/src/main/docs/salesforce.json
index dd2618f..bdfd777 100644
--- a/components-starter/camel-salesforce-starter/src/main/docs/salesforce.json
+++ b/components-starter/camel-salesforce-starter/src/main/docs/salesforce.json
@@ -553,6 +553,13 @@
       "sourceType": 
"org.apache.camel.component.salesforce.springboot.SalesforceComponentConfiguration"
     },
     {
+      "name": "camel.component.salesforce.stream-query-result",
+      "type": "java.lang.Boolean",
+      "description": "If true, streams SOQL query result and transparently 
handles subsequent requests if there are multiple pages. Otherwise, results are 
returned one page at a time.",
+      "sourceType": 
"org.apache.camel.component.salesforce.springboot.SalesforceComponentConfiguration",
+      "defaultValue": false
+    },
+    {
       "name": "camel.component.salesforce.update-topic",
       "type": "java.lang.Boolean",
       "description": "Whether to update an existing Push Topic when using the 
Streaming API, defaults to false",
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 73b935c..4890293 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
@@ -288,6 +288,12 @@ public class SalesforceComponentConfiguration
      */
     private String sObjectSearch;
     /**
+     * If true, streams SOQL query result and transparently handles subsequent
+     * requests if there are multiple pages. Otherwise, results are returned 
one
+     * page at a time.
+     */
+    private Boolean streamQueryResult = false;
+    /**
      * Whether to update an existing Push Topic when using the Streaming API,
      * defaults to false
      */
@@ -911,6 +917,14 @@ public class SalesforceComponentConfiguration
         this.sObjectSearch = sObjectSearch;
     }
 
+    public Boolean getStreamQueryResult() {
+        return streamQueryResult;
+    }
+
+    public void setStreamQueryResult(Boolean streamQueryResult) {
+        this.streamQueryResult = streamQueryResult;
+    }
+
     public Boolean getUpdateTopic() {
         return updateTopic;
     }

Reply via email to