Repository: camel
Updated Branches:
  refs/heads/master 4df92933a -> 90ece0cce


Added Tokenize Language to Gitbook


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

Branch: refs/heads/master
Commit: 35ea8de982f2567bfe090596d25e42eb76d2bcb0
Parents: 4df9293
Author: Andrea Cosentino <anco...@gmail.com>
Authored: Wed Aug 24 12:59:46 2016 +0200
Committer: Andrea Cosentino <anco...@gmail.com>
Committed: Wed Aug 24 12:59:46 2016 +0200

----------------------------------------------------------------------
 camel-core/src/main/docs/tokenize-language.adoc | 41 ++++++++++++++++++++
 components/readme.adoc                          |  3 --
 docs/user-manual/en/SUMMARY.md                  |  1 -
 3 files changed, 41 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/35ea8de9/camel-core/src/main/docs/tokenize-language.adoc
----------------------------------------------------------------------
diff --git a/camel-core/src/main/docs/tokenize-language.adoc 
b/camel-core/src/main/docs/tokenize-language.adoc
new file mode 100644
index 0000000..77087d4
--- /dev/null
+++ b/camel-core/src/main/docs/tokenize-language.adoc
@@ -0,0 +1,41 @@
+[[Tokenizer-Tokenizer]]
+Tokenizer
+~~~~~~~~~
+
+The tokenizer language is a built-in language in camel-core, which is
+most often used only with the link:splitter.html[Splitter] EIP to split
+a message using a token-based strategy. +
+The tokenizer language is intended to tokenize text documents using a
+specified delimiter pattern. It can also be used to tokenize XML
+documents with some limited capability. For a truly XML-aware
+tokenization, the use of the link:xmltokenizer.html[XMLTokenizer]
+language is recommended as it offers a faster, more efficient
+tokenization specifically for XML documents. For more details
+see link:splitter.html[Splitter].
+
+[[Tokenize-Options]]
+Tokenize Options
+^^^^^^^^^^^^^^^^
+
+// language options: START
+The Tokenize language supports 10 options which are listed below.
+
+
+
+{% raw %}
+[width="100%",cols="2,1m,1m,6",options="header"]
+|=======================================================================
+| Name | Default | Java Type | Description
+| token |  | String | The (start) token to use as tokenizer for example \n for 
a new line token. You can use simple language as the token to support dynamic 
tokens.
+| endToken |  | String | The end token to use as tokenizer if using start/end 
token pairs. You can use simple language as the token to support dynamic tokens.
+| inheritNamespaceTagName |  | String | To inherit namespaces from a 
root/parent tag name when using XML You can use simple language as the tag name 
to support dynamic names.
+| headerName |  | String | Name of header to tokenize instead of using the 
message body.
+| regex | false | Boolean | If the token is a regular expression pattern. The 
default value is false
+| xml | false | Boolean | Whether the input is XML messages. This option must 
be set to true if working with XML payloads.
+| includeTokens | false | Boolean | Whether to include the tokens in the parts 
when using pairs The default value is false
+| group |  | Integer | To group N parts together for example to split big 
files into chunks of 1000 lines.
+| skipFirst | false | Boolean | To skip the very first element
+| trim | true | Boolean | Whether to trim the value to remove leading and 
trailing whitespaces and line breaks
+|=======================================================================
+{% endraw %}
+// language options: END

http://git-wip-us.apache.org/repos/asf/camel/blob/35ea8de9/components/readme.adoc
----------------------------------------------------------------------
diff --git a/components/readme.adoc b/components/readme.adoc
index 6b5ec75..9f44564 100644
--- a/components/readme.adoc
+++ b/components/readme.adoc
@@ -108,9 +108,6 @@ Components
 | link:camel-consul/src/main/docs/consul-component.adoc[Consul] (camel-consul) 
+
 `consul://apiEndpoint` | Camel Consul support
 
-| link:camel-couchdb/src/main/docs/couchdb-component.adoc[CouchDB] 
(camel-couchdb) +
-`couchdb:protocol:hostname:port/database` | The couchdb component is used for 
integrate with CouchDB databases.
-
 | link:camel-crypto/src/main/docs/crypto-component.adoc[Crypto (JCE)] 
(camel-crypto) +
 `crypto:cryptoOperation:name` | The crypto component is used for signing and 
verifying exchanges using the Signature Service of the Java Cryptographic 
Extension (JCE).
 

http://git-wip-us.apache.org/repos/asf/camel/blob/35ea8de9/docs/user-manual/en/SUMMARY.md
----------------------------------------------------------------------
diff --git a/docs/user-manual/en/SUMMARY.md b/docs/user-manual/en/SUMMARY.md
index b3eda45..29ff1db 100644
--- a/docs/user-manual/en/SUMMARY.md
+++ b/docs/user-manual/en/SUMMARY.md
@@ -158,7 +158,6 @@
        * [CoAP](coap-component.adoc)
        * [CometD](cometd-component.adoc)
        * [Consul](consul-component.adoc)
-       * [CouchDB](couchdb-component.adoc)
        * [Crypto (JCE)](crypto-component.adoc)
        * [CXF](cxf-component.adoc)
        * [CXF-RS](cxfrs-component.adoc)

Reply via email to