Author: buildbot
Date: Sat Oct 17 09:20:09 2015
New Revision: 969262
Log:
Production update by buildbot for camel
Modified:
websites/production/camel/content/cache/main.pageCache
websites/production/camel/content/camel-2170-release.html
websites/production/camel/content/elasticsearch.html
websites/production/camel/content/paho.html
Modified: websites/production/camel/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.
Modified: websites/production/camel/content/camel-2170-release.html
==============================================================================
--- websites/production/camel/content/camel-2170-release.html (original)
+++ websites/production/camel/content/camel-2170-release.html Sat Oct 17
09:20:09 2015
@@ -85,7 +85,7 @@
<tbody>
<tr>
<td valign="top" width="100%">
-<div class="wiki-content maincontent"><h1
id="Camel2.17.0Release-Camel2.17.0release(currentlyinprogress)">Camel 2.17.0
release (currently in progress)</h1><div
style="padding-right:20px;float:left;margin-left:-20px;"><p><span
class="confluence-embedded-file-wrapper"><img class="confluence-embedded-image
confluence-external-resource"
src="http://camel.apache.org/download.data/camel-box-v1.0-150x200.png"
data-image-src="http://camel.apache.org/download.data/camel-box-v1.0-150x200.png"></span></p></div><div
style="min-height:200px"> </div><h2
id="Camel2.17.0Release-NewandNoteworthy">New and Noteworthy</h2><p>Welcome to
the x.y.z release which approx XXX issues resolved (new features, improvements
and bug fixes such as...)</p><ul><li>highlighted issue
fixed</li></ul><p> </p><p>Fixed these issues</p><ul><li>The <a
shape="rect" href="swagger-java.html">Swagger Java</a> now parses nested types
in the POJO model that has been annotated with the swagger api annotations to
use
in the schema api model</li></ul><h3 id="Camel2.17.0Release-New">New <a
shape="rect" href="enterprise-integration-patterns.html">Enterprise Integration
Patterns</a></h3><h3 id="Camel2.17.0Release-New.1">New <a shape="rect"
href="components.html">Components</a></h3><h3
id="Camel2.17.0Release-NewDSL">New DSL</h3><h3
id="Camel2.17.0Release-NewAnnotations">New Annotations</h3><h3
id="Camel2.17.0Release-NewDataFormats">New <a shape="rect"
href="data-format.html">Data Formats</a></h3><h3
id="Camel2.17.0Release-New.2">New <a shape="rect"
href="languages.html">Languages</a></h3><h3 id="Camel2.17.0Release-New.3">New
<a shape="rect" href="examples.html">Examples</a></h3><h3
id="Camel2.17.0Release-New.4">New <a shape="rect"
href="tutorials.html">Tutorials</a></h3><h2
id="Camel2.17.0Release-APIbreaking">API breaking</h2><h2
id="Camel2.17.0Release-KnownIssues">Known Issues</h2><h2
id="Camel2.17.0Release-Importantchangestoconsiderwhenupgrading">Important
changes to consider when upgrading</h2><h2
id="Camel2.17.0Release-GettingtheDistributions">Getting the
Distributions</h2><h3 id="Camel2.17.0Release-BinaryDistributions">Binary
Distributions</h3><div class="table-wrap"><table
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"><p>Description</p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p>Download Link</p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p>PGP Signature file of download</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>Windows
Distribution</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a
shape="rect" class="external-link"
href="http://www.apache.org/dyn/closer.cgi/camel/apache-camel/x.y.x/apache-camel-x.y.x.zip">apache-camel-x.y.x.zip</a></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect"
class="external-link"
href="http://www.apache.org/dist/camel/apache-camel/x.y.x/apache-camel-x.y.x.zip.asc">apache-camel-x.y.x.zip.asc</a></p></td></tr><tr><td
colspan
="1" rowspan="1" class="confluenceTd"><p>Unix/Linux/Cygwin
Distribution</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a
shape="rect" class="external-link"
href="http://www.apache.org/dyn/closer.cgi/camel/apache-camel/x.y.x/apache-camel-x.y.x.tar.gz">apache-camel-x.y.x.tar.gz</a></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect"
class="external-link"
href="http://www.apache.org/dist/camel/apache-camel/x.y.x/apache-camel-x.y.x.tar.gz.asc">apache-camel-x.y.x.tar.gz.asc</a></p></td></tr></tbody></table></div><div
class="confluence-information-macro
confluence-information-macro-information"><p class="title">The above URLs use
redirection</p><span class="aui-icon aui-icon-small aui-iconfont-info
confluence-information-macro-icon"></span><div
class="confluence-information-macro-body"><p>The above URLs use the Apache
Mirror system to redirect you to a suitable mirror for your download. Some
users have experienced issues with some versions of browsers
(e.g. some Safari browsers). If the download doesn't seem to work for you
from the above URL then try using <a shape="rect" class="external-link"
href="http://www.mozilla.com/en-US/firefox/"
rel="nofollow">FireFox</a></p></div></div><h3
id="Camel2.17.0Release-SourceDistributions">Source Distributions</h3><div
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1"
rowspan="1" class="confluenceTh"><p>Description</p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p>Download Link</p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p>PGP Signature file of
download</p></th></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p>Source for Windows</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p><a shape="rect" class="external-link"
href="http://www.apache.org/dyn/closer.cgi/camel/apache-camel/x.y.x/apache-camel-x.y.x-src.zip">apache-camel-x.y.x-src.zip</a></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class=
"external-link"
href="http://www.apache.org/dist/camel/apache-camel/x.y.x/apache-camel-x.y.x-src.zip.asc">apache-camel-x.y.x-src.zip.asc</a></p></td></tr></tbody></table></div><div
class="table-wrap"><table class="confluenceTable"><tbody><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p>Source for Unix/Linux/Cygwin</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect"
class="external-link"
href="http://www.apache.org/dyn/closer.cgi/camel/apache-camel/x.y.x/apache-camel-x.y.x-src.tar.gz">apache-camel-x.y.x-src.tar.gz</a></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect"
class="external-link"
href="http://www.apache.org/dist/camel/apache-camel/x.y.x/apache-camel-x.y.x-src.tar.gz.asc">apache-camel-x.y.x-src.tar.gz.asc</a></p></td></tr></tbody></table></div><h3
id="Camel2.17.0Release-GettingtheBinariesusingMaven2">Getting the Binaries
using Maven 2</h3><p>To use this release in your maven project, the proper
dependency configuration
that you should use in your <a shape="rect" class="external-link"
href="http://maven.apache.org/guides/introduction/introduction-to-the-pom.html">Maven
POM</a> is:</p><div class="code panel pdl" style="border-width: 1px;"><div
class="codeContent panelContent pdl">
+<div class="wiki-content maincontent"><h1
id="Camel2.17.0Release-Camel2.17.0release(currentlyinprogress)">Camel 2.17.0
release (currently in progress)</h1><div
style="padding-right:20px;float:left;margin-left:-20px;"><p><span
class="confluence-embedded-file-wrapper"><img class="confluence-embedded-image
confluence-external-resource"
src="http://camel.apache.org/download.data/camel-box-v1.0-150x200.png"
data-image-src="http://camel.apache.org/download.data/camel-box-v1.0-150x200.png"></span></p></div><div
style="min-height:200px"> </div><h2
id="Camel2.17.0Release-NewandNoteworthy">New and Noteworthy</h2><p>Welcome to
the x.y.z release which approx XXX issues resolved (new features, improvements
and bug fixes such as...)</p><ul><li>highlighted issue
fixed</li></ul><p> </p><p>Fixed these issues</p><ul><li>The <a
shape="rect" href="swagger-java.html">Swagger Java</a> now parses nested types
in the POJO model that has been annotated with the swagger api annotations to
use
in the schema api model</li></ul><h3 id="Camel2.17.0Release-New">New <a
shape="rect" href="enterprise-integration-patterns.html">Enterprise Integration
Patterns</a></h3><h3 id="Camel2.17.0Release-New.1">New <a shape="rect"
href="components.html">Components</a></h3><h3
id="Camel2.17.0Release-NewDSL">New DSL</h3><h3
id="Camel2.17.0Release-NewAnnotations">New Annotations</h3><h3
id="Camel2.17.0Release-NewDataFormats">New <a shape="rect"
href="data-format.html">Data Formats</a></h3><h3
id="Camel2.17.0Release-New.2">New <a shape="rect"
href="languages.html">Languages</a></h3><h3 id="Camel2.17.0Release-New.3">New
<a shape="rect"
href="examples.html">Examples</a></h3><ul><li>camel-example-spring-boot-metrics
- showing a Camel spring-boot application that report metrics to Graphite.
Requires Graphite running on your network.</li></ul><p> </p><h3
id="Camel2.17.0Release-New.4">New <a shape="rect"
href="tutorials.html">Tutorials</a></h3><h2
id="Camel2.17.0Release-APIbreaking">API breaking
</h2><h2 id="Camel2.17.0Release-KnownIssues">Known Issues</h2><h2
id="Camel2.17.0Release-Importantchangestoconsiderwhenupgrading">Important
changes to consider when upgrading</h2><h2
id="Camel2.17.0Release-GettingtheDistributions">Getting the
Distributions</h2><h3 id="Camel2.17.0Release-BinaryDistributions">Binary
Distributions</h3><div class="table-wrap"><table
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"><p>Description</p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p>Download Link</p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p>PGP Signature file of download</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>Windows
Distribution</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a
shape="rect" class="external-link"
href="http://www.apache.org/dyn/closer.cgi/camel/apache-camel/x.y.x/apache-camel-x.y.x.zip">apache-camel-x.y.x.zip</a></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><
a shape="rect" class="external-link"
href="http://www.apache.org/dist/camel/apache-camel/x.y.x/apache-camel-x.y.x.zip.asc">apache-camel-x.y.x.zip.asc</a></p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>Unix/Linux/Cygwin
Distribution</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a
shape="rect" class="external-link"
href="http://www.apache.org/dyn/closer.cgi/camel/apache-camel/x.y.x/apache-camel-x.y.x.tar.gz">apache-camel-x.y.x.tar.gz</a></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect"
class="external-link"
href="http://www.apache.org/dist/camel/apache-camel/x.y.x/apache-camel-x.y.x.tar.gz.asc">apache-camel-x.y.x.tar.gz.asc</a></p></td></tr></tbody></table></div><div
class="confluence-information-macro
confluence-information-macro-information"><p class="title">The above URLs use
redirection</p><span class="aui-icon aui-icon-small aui-iconfont-info
confluence-information-macro-icon"></span><div class="confluence-informatio
n-macro-body"><p>The above URLs use the Apache Mirror system to redirect you
to a suitable mirror for your download. Some users have experienced issues with
some versions of browsers (e.g. some Safari browsers). If the download doesn't
seem to work for you from the above URL then try using <a shape="rect"
class="external-link" href="http://www.mozilla.com/en-US/firefox/"
rel="nofollow">FireFox</a></p></div></div><h3
id="Camel2.17.0Release-SourceDistributions">Source Distributions</h3><div
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1"
rowspan="1" class="confluenceTh"><p>Description</p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p>Download Link</p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p>PGP Signature file of
download</p></th></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p>Source for Windows</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p><a shape="rect" class="external-link"
href="http://www.apache.org
/dyn/closer.cgi/camel/apache-camel/x.y.x/apache-camel-x.y.x-src.zip">apache-camel-x.y.x-src.zip</a></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect"
class="external-link"
href="http://www.apache.org/dist/camel/apache-camel/x.y.x/apache-camel-x.y.x-src.zip.asc">apache-camel-x.y.x-src.zip.asc</a></p></td></tr></tbody></table></div><div
class="table-wrap"><table class="confluenceTable"><tbody><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p>Source for Unix/Linux/Cygwin</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect"
class="external-link"
href="http://www.apache.org/dyn/closer.cgi/camel/apache-camel/x.y.x/apache-camel-x.y.x-src.tar.gz">apache-camel-x.y.x-src.tar.gz</a></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect"
class="external-link"
href="http://www.apache.org/dist/camel/apache-camel/x.y.x/apache-camel-x.y.x-src.tar.gz.asc">apache-camel-x.y.x-src.tar.gz.asc</a></p></td></tr></tbody></table></d
iv><h3 id="Camel2.17.0Release-GettingtheBinariesusingMaven2">Getting the
Binaries using Maven 2</h3><p>To use this release in your maven project, the
proper dependency configuration that you should use in your <a shape="rect"
class="external-link"
href="http://maven.apache.org/guides/introduction/introduction-to-the-pom.html">Maven
POM</a> is:</p><div class="code panel pdl" style="border-width: 1px;"><div
class="codeContent panelContent pdl">
<script class="brush: xml; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-core</artifactId>
Modified: websites/production/camel/content/elasticsearch.html
==============================================================================
--- websites/production/camel/content/elasticsearch.html (original)
+++ websites/production/camel/content/elasticsearch.html Sat Oct 17 09:20:09
2015
@@ -96,7 +96,7 @@
</div></div><h3 id="ElasticSearch-URIformat">URI format</h3><div class="code
panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[elasticsearch://clusterName[?options]
]]></script>
-</div></div><div class="confluence-information-macro
confluence-information-macro-tip"><span class="aui-icon aui-icon-small
aui-iconfont-approve confluence-information-macro-icon"></span><div
class="confluence-information-macro-body"><p>if you want to run against a local
(in JVM/classloader) ElasticSearch server, just set the clusterName value in
the URI to "local". See the <a shape="rect" class="external-link"
href="http://www.elasticsearch.org/guide/reference/java-api/client.html"
rel="nofollow">client guide</a> for more details.</p></div></div><h3
id="ElasticSearch-EndpointOptions">Endpoint Options</h3><p>The following
options may be configured on the ElasticSearch endpoint. All are required to be
set as either an endpoint URI parameter or as a header (headers override
endpoint properties)</p><div class="table-wrap"><table
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"><p>name</p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p>descrip
tion</p></th></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p>operation</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>required, indicates the operation to
perform</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p>indexName</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>the name of the index to act
against</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p>indexType</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>the type of the index to act
against</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p>ip</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>the TransportClient remote host ip to use <strong>Camel
2.12</strong></p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p>port</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>the TransportClient remote port to use (defaults to
9300) <strong>Camel 2.12</strong></p></td></tr><tr><td colspan="1" r
owspan="1" class="confluenceTd"><p>transportAddresses</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><span>comma separated list with
<em>ip:port</em> formatted remote transport addresses to use <strong>Camel
2.16</strong></span></p><p><span>Options <em>ip</em> and <em>port</em> must be
left blank for <em>transportAddresses</em> to be considered
instead</span>.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p>consistencyLevel</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>the write consistency level to use with INDEX and BULK
<span>operations</span> (can be any of <span>ONE, QUORUM, ALL or
DEFAULT</span>) <strong>Camel 2.16</strong></p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p>replicationType</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>the replication type to use with
INDEX<span> and BULK</span> operations (can be any of SYNC, ASYNC or DEFAULT)
<strong>Camel 2.16</strong></p></td></tr></tbody></tabl
e></div><h3 id="ElasticSearch-MessageOperations">Message Operations</h3><p>The
following ElasticSearch operations are currently supported. Simply set an
endpoint URI option or exchange header with a key of "operation" and a value
set to one of the following. Some operations also require other parameters or
the message body to be set.</p><div class="table-wrap"><table
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"><p>operation</p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p>message body</p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p>description</p></th></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p>INDEX</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>Map, String, byte[] or XContentBuilder content to
index</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>adds content
to an index and returns the content's indexId in the body.</p><p><strong>Camel
2.15,</strong> you can set the <span style
="line-height: 1.4285715;">indexId by setting the message header with the key
"indexId".</span></p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p>GET_BY_ID</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>index id of content to retrieve</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>retrieves the specified index and returns a
GetResult object in the body</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p>DELETE</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>index id of content to delete</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>deletes the specified indexId and returns a
DeleteResult object in the body</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p class="p1">BULK_INDEX</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>a <strong>List</strong> or
<strong>Collection</strong> of any type that is already accepted
(XContentBuilder, Map, byte[], String)</p>
</td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.14,
</strong>adds content to an index and return a List of the id of the
successfully indexed documents in the body</p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p>BULK</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p><span>a </span><strong>List</strong><span> or
</span><strong>Collection</strong><span> of any type that is already accepted
(XContentBuilder, Map, byte[], String)</span></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><strong>Camel 2.15:</strong> Adds content
to an index and returns the BulkResponse object in the
body</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd">SEARCH</td><td colspan="1" rowspan="1"
class="confluenceTd">Map or SearchRequest Object</td><td colspan="1"
rowspan="1" class="confluenceTd"><strong>Camel 2.15:</strong><span> search
the content with the map of query string</span></td></tr></tbody></t
able></div><h3 id="ElasticSearch-IndexExample">Index Example</h3><p>Below is a
simple INDEX example</p><div class="code panel pdl" style="border-width:
1px;"><div class="codeContent panelContent pdl">
+</div></div><div class="confluence-information-macro
confluence-information-macro-tip"><span class="aui-icon aui-icon-small
aui-iconfont-approve confluence-information-macro-icon"></span><div
class="confluence-information-macro-body"><p>if you want to run against a local
(in JVM/classloader) ElasticSearch server, just set the clusterName value in
the URI to "local". See the <a shape="rect" class="external-link"
href="http://www.elasticsearch.org/guide/reference/java-api/client.html"
rel="nofollow">client guide</a> for more details.</p></div></div><h3
id="ElasticSearch-EndpointOptions">Endpoint Options</h3><p>The following
options may be configured on the ElasticSearch endpoint. All are required to be
set as either an endpoint URI parameter or as a header (headers override
endpoint properties)</p><div class="table-wrap"><table
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"><p>name</p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p>descrip
tion</p></th></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p>operation</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>required, indicates the operation to
perform</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p>indexName</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>the name of the index to act
against</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p>indexType</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>the type of the index to act
against</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p>ip</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>the TransportClient remote host ip to use <strong>Camel
2.12</strong></p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p>port</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>the TransportClient remote port to use (defaults to
9300) <strong>Camel 2.12</strong></p></td></tr><tr><td colspan="1" r
owspan="1" class="confluenceTd"><p>transportAddresses</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><span>comma separated list with
<em>ip:port</em> formatted remote transport addresses to use <strong>Camel
2.16</strong></span></p><p><span>Options <em>ip</em> and <em>port</em> must be
left blank for <em>transportAddresses</em> to be considered
instead</span>.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p>consistencyLevel</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>the write consistency level to use with INDEX and BULK
<span>operations</span> (can be any of <span>ONE, QUORUM, ALL or
DEFAULT</span>) <strong>Camel 2.16</strong></p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p>replicationType</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>the replication type to use with
INDEX<span> and BULK</span> operations (can be any of SYNC, ASYNC or DEFAULT)
<strong>Camel 2.16</strong></p></td></tr></tbody></tabl
e></div><h3 id="ElasticSearch-MessageOperations">Message Operations</h3><p>The
following ElasticSearch operations are currently supported. Simply set an
endpoint URI option or exchange header with a key of "operation" and a value
set to one of the following. Some operations also require other parameters or
the message body to be set.</p><div class="table-wrap"><table
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"><p>operation</p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p>message body</p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p>description</p></th></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p>INDEX</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>Map, String, byte[] or XContentBuilder content to
index</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>adds content
to an index and returns the content's indexId in the body.</p><p><strong>Camel
2.15,</strong> you can set the <span style
="line-height: 1.4285715;">indexId by setting the message header with the key
"indexId".</span></p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p>GET_BY_ID</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>index id of content to retrieve</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>retrieves the specified index and returns a
GetResult object in the body</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p>DELETE</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>index id of content to delete</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>deletes the specified indexId and returns a
DeleteResult object in the body</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p class="p1">BULK_INDEX</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>a <strong>List</strong> or
<strong>Collection</strong> of any type that is already accepted
(XContentBuilder, Map, byte[], String)</p>
</td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.14,
</strong>adds content to an index and return a List of the id of the
successfully indexed documents in the body</p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p>BULK</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p><span>a </span><strong>List</strong><span> or
</span><strong>Collection</strong><span> of any type that is already accepted
(XContentBuilder, Map, byte[], String)</span></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><strong>Camel 2.15:</strong> Adds content
to an index and returns the BulkResponse object in the
body</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p>SEARCH</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>Map or SearchRequest Object</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><strong>Camel 2.15:</strong><span> search
the content with the map of query string</span></td></
tr></tbody></table></div><h3 id="ElasticSearch-IndexExample">Index
Example</h3><p>Below is a simple INDEX example</p><div class="code panel pdl"
style="border-width: 1px;"><div class="codeContent panelContent pdl">
<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[from("direct:index")
.to("elasticsearch://local?operation=INDEX&indexName=twitter&indexType=tweet");
]]></script>
Modified: websites/production/camel/content/paho.html
==============================================================================
--- websites/production/camel/content/paho.html (original)
+++ websites/production/camel/content/paho.html Sat Oct 17 09:20:09 2015
@@ -137,7 +137,7 @@ MqttConnectOptions connectOptions() {
connectOptions.setPassword("secret".toCharArray());
return connectOptions;
}]]></script>
-</div></div><p><span style="line-height: 1.4285715;"><br
clear="none"></span></p><h3 id="Paho-Headers">Headers</h3><p>The following
headers are recognized by the Paho component:</p><div
class="confluenceTableSmall"><div class="table-wrap"><table
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"><p>Header</p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p>Java constant</p></th><th colspan="1" rowspan="1"
class="confluenceTh">Endpoint type</th><th colspan="1" rowspan="1"
class="confluenceTh">Value type</th><th colspan="1" rowspan="1"
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><code>PahoOriginalMessage</code></td><td
colspan="1" rowspan="1"
class="confluenceTd"><code><span>PahoConstants.</span><span>HEADER_ORIGINAL_MESSAGE</span></code></td><td
colspan="1" rowspan="1" class="confluenceTd">Consumer</td><td colspan="1"
rowspan="1" class="confluenceTd"><code>org.eclipse.paho.client.mqttv3
.MqttMessage</code></td><td colspan="1" rowspan="1" class="confluenceTd">The
original Paho message instance received by the
client.</td></tr></tbody></table></div></div><p> </p><p></p><h3
id="Paho-SeeAlso">See Also</h3>
+</div></div><p><span style="line-height: 1.4285715;"><br
clear="none"></span></p><h3 id="Paho-Headers">Headers</h3><p>The following
headers are recognized by the Paho component:</p><div
class="confluenceTableSmall"><div class="table-wrap"><table
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"><p>Header</p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p>Java constant</p></th><th colspan="1" rowspan="1"
class="confluenceTh">Endpoint type</th><th colspan="1" rowspan="1"
class="confluenceTh">Value type</th><th colspan="1" rowspan="1"
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><code>PahoOriginalMessage</code></td><td
colspan="1" rowspan="1"
class="confluenceTd"><code><span>PahoConstants.</span><span>HEADER_ORIGINAL_MESSAGE</span></code></td><td
colspan="1" rowspan="1" class="confluenceTd">Consumer</td><td colspan="1"
rowspan="1" class="confluenceTd"><code>org.eclipse.paho.client.mqttv3
.MqttMessage</code></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>The original Paho message instance received by the
client.</p><p><strong>Deprecated: </strong>from Camel 2.17 onwards the original
MqttMessage is not stored as a header but on the
<code>org.apache.camel.component.paho.PahoMessage</code> message that has a
getter <code>getMqttMessage</code>.</p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><code>CamelMqttTopic</code></td><td
colspan="1" rowspan="1"
class="confluenceTd"><span>PahoConstants.MQTT_TOPIC</span></td><td colspan="1"
rowspan="1" class="confluenceTd">Consumer</td><td colspan="1" rowspan="1"
class="confluenceTd">String</td><td colspan="1" rowspan="1"
class="confluenceTd"><strong>Camel 2.17:</strong>The
topic</td></tr></tbody></table></div></div><p> </p><p></p><h3
id="Paho-SeeAlso">See Also</h3>
<ul><li><a shape="rect" href="configuring-camel.html">Configuring
Camel</a></li><li><a shape="rect"
href="component.html">Component</a></li><li><a shape="rect"
href="endpoint.html">Endpoint</a></li><li><a shape="rect"
href="getting-started.html">Getting Started</a></li></ul></div>
</td>
<td valign="top">