Updated docs and starters after full rebuild
Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/8ec3c2c9 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/8ec3c2c9 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/8ec3c2c9 Branch: refs/heads/master Commit: 8ec3c2c963bec4ef49ce16aeb62110cf3a5f8fa7 Parents: 92a899e Author: Andrea Cosentino <anco...@gmail.com> Authored: Fri Sep 30 12:05:01 2016 +0200 Committer: Andrea Cosentino <anco...@gmail.com> Committed: Fri Sep 30 12:05:33 2016 +0200 ---------------------------------------------------------------------- .../component/seda/springboot/SedaComponentConfiguration.java | 2 +- .../component/stub/springboot/StubComponentConfiguration.java | 2 +- .../camel/component/vm/springboot/VmComponentConfiguration.java | 2 +- components/camel-jsch/src/main/docs/scp-component.adoc | 4 ++-- components/camel-solr/src/main/docs/solr-component.adoc | 3 +-- 5 files changed, 6 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/8ec3c2c9/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/seda/springboot/SedaComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/seda/springboot/SedaComponentConfiguration.java b/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/seda/springboot/SedaComponentConfiguration.java index 2fd48d0..6d36344 100644 --- a/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/seda/springboot/SedaComponentConfiguration.java +++ b/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/seda/springboot/SedaComponentConfiguration.java @@ -38,7 +38,7 @@ public class SedaComponentConfiguration { /** * Sets the default number of concurrent threads processing exchanges. */ - private Integer concurrentConsumers; + private Integer concurrentConsumers = 1; /** * Sets the default queue factory. */ http://git-wip-us.apache.org/repos/asf/camel/blob/8ec3c2c9/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/stub/springboot/StubComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/stub/springboot/StubComponentConfiguration.java b/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/stub/springboot/StubComponentConfiguration.java index 0fb98c0..d2d2e9d 100644 --- a/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/stub/springboot/StubComponentConfiguration.java +++ b/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/stub/springboot/StubComponentConfiguration.java @@ -38,7 +38,7 @@ public class StubComponentConfiguration { /** * Sets the default number of concurrent threads processing exchanges. */ - private Integer concurrentConsumers; + private Integer concurrentConsumers = 1; /** * Sets the default queue factory. */ http://git-wip-us.apache.org/repos/asf/camel/blob/8ec3c2c9/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/vm/springboot/VmComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/vm/springboot/VmComponentConfiguration.java b/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/vm/springboot/VmComponentConfiguration.java index 7372d9e..bc777ad 100644 --- a/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/vm/springboot/VmComponentConfiguration.java +++ b/components-starter/camel-core-starter/src/main/java/org/apache/camel/component/vm/springboot/VmComponentConfiguration.java @@ -38,7 +38,7 @@ public class VmComponentConfiguration { /** * Sets the default number of concurrent threads processing exchanges. */ - private Integer concurrentConsumers; + private Integer concurrentConsumers = 1; /** * Sets the default queue factory. */ http://git-wip-us.apache.org/repos/asf/camel/blob/8ec3c2c9/components/camel-jsch/src/main/docs/scp-component.adoc ---------------------------------------------------------------------- diff --git a/components/camel-jsch/src/main/docs/scp-component.adoc b/components/camel-jsch/src/main/docs/scp-component.adoc index 6cf9a95..2cd6fc9 100644 --- a/components/camel-jsch/src/main/docs/scp-component.adoc +++ b/components/camel-jsch/src/main/docs/scp-component.adoc @@ -76,13 +76,13 @@ The SCP component supports 21 endpoint options which are listed below: | host | producer | | String | *Required* Hostname of the FTP server | port | producer | | int | Port of the FTP server | directoryName | producer | | String | The starting directory +| disconnect | common | false | boolean | Whether or not to disconnect from remote FTP server right after use. Disconnect will only disconnect the current connection to the FTP server. If you have a consumer which you want to stop then you need to stop the consumer/route instead. | chmod | producer | 664 | String | Allows you to set chmod on the stored file. For example chmod=664. -| disconnect | producer | false | boolean | Whether or not to disconnect from remote FTP server right after use. Disconnect will only disconnect the current connection to the FTP server. If you have a consumer which you want to stop then you need to stop the consumer/route instead. -| disconnectOnBatchComplete | producer | false | boolean | Whether or not to disconnect from remote FTP server right after a Batch upload is complete. disconnectOnBatchComplete will only disconnect the current connection to the FTP server. | fileName | producer | | String | Use Expression such as File Language to dynamically set the filename. For consumers it's used as a filename filter. For producers it's used to evaluate the filename to write. If an expression is set it take precedence over the CamelFileName header. (Note: The header itself can also be an Expression). The expression options support both String and Expression types. If the expression is a String type it is always evaluated using the File Language. If the expression is an Expression type the specified Expression type is used - this allows you for instance to use OGNL expressions. For the consumer you can use it to filter filenames so you can for instance consume today's file using the File Language syntax: mydata-$date:now:yyyyMMdd.txt. The producers support the CamelOverruleFileName header which takes precedence over any existing CamelFileName header; the CamelOverruleFileName is a header that is used only once and makes it easier as this avoids to temporary store CamelFileName and have to restore it afterwards. | flatten | producer | false | boolean | Flatten is used to flatten the file name path to strip any leading paths so it's just the file name. This allows you to consume recursively into sub-directories but when you eg write the files to another directory they will be written in a single directory. Setting this to true on the producer enforces that any file name in CamelFileName header will be stripped for any leading paths. | strictHostKeyChecking | producer | no | String | Sets whether to use strict host key checking. Possible values are: no yes | allowNullBody | producer (advanced) | false | boolean | Used to specify if a null body is allowed during file writing. If set to true then an empty file will be created when set to false and attempting to send a null body to the file component a GenericFileWriteException of 'Cannot write null body to file.' will be thrown. If the fileExist option is set to 'Override' then the file will be truncated and if set to append the file will remain unchanged. +| disconnectOnBatchComplete | producer (advanced) | false | boolean | Whether or not to disconnect from remote FTP server right after a Batch upload is complete. disconnectOnBatchComplete will only disconnect the current connection to the FTP server. | connectTimeout | advanced | 10000 | int | Sets the connect timeout for waiting for a connection to be established Used by both FTPClient and JSCH | soTimeout | advanced | 300000 | int | Sets the so timeout Used only by FTPClient | synchronous | advanced | false | boolean | Sets whether synchronous processing should be strictly used or Camel is allowed to use asynchronous processing (if supported). http://git-wip-us.apache.org/repos/asf/camel/blob/8ec3c2c9/components/camel-solr/src/main/docs/solr-component.adoc ---------------------------------------------------------------------- diff --git a/components/camel-solr/src/main/docs/solr-component.adoc b/components/camel-solr/src/main/docs/solr-component.adoc index c2a6916..0be1bb4 100644 --- a/components/camel-solr/src/main/docs/solr-component.adoc +++ b/components/camel-solr/src/main/docs/solr-component.adoc @@ -46,7 +46,7 @@ The Solr component has no options. // endpoint options: START -The Solr component supports 15 endpoint options which are listed below: +The Solr component supports 14 endpoint options which are listed below: {% raw %} [width="100%",cols="2,1,1m,1m,5",options="header"] @@ -63,7 +63,6 @@ The Solr component supports 15 endpoint options which are listed below: | soTimeout | producer | | Integer | Read timeout on the underlying HttpConnectionManager. This is desirable for queries but probably not for indexing | streamingQueueSize | producer | 10 | int | Set the queue size for the StreamingUpdateSolrServer | streamingThreadCount | producer | 2 | int | Set the number of threads for the StreamingUpdateSolrServer -| exchangePattern | advanced | InOnly | ExchangePattern | Sets the default exchange pattern when creating an exchange | synchronous | advanced | false | boolean | Sets whether synchronous processing should be strictly used or Camel is allowed to use asynchronous processing (if supported). | collection | solrCloud | | String | Set the collection name which the solrCloud server could use | zkHost | solrCloud | | String | Set the ZooKeeper host information which the solrCloud could use such as zkhost=localhost:8123.