Modified: websites/production/camel/content/aws-ddb.html
==============================================================================
--- websites/production/camel/content/aws-ddb.html (original)
+++ websites/production/camel/content/aws-ddb.html Wed Aug 24 16:20:01 2016
@@ -88,11 +88,11 @@
 <div class="wiki-content maincontent"><h2 id="AWS-DDB-DDBComponent">DDB 
Component</h2><p><strong>Available as of Camel 2.10</strong></p><p>The DynamoDB 
component supports storing and retrieving data from/to <a shape="rect" 
class="external-link" href="http://aws.amazon.com/dynamodb"; 
rel="nofollow">Amazon's DynamoDB</a> service.</p><div 
class="confluence-information-macro 
confluence-information-macro-information"><p 
class="title">Prerequisites</p><span class="aui-icon aui-icon-small 
aui-iconfont-info confluence-information-macro-icon"></span><div 
class="confluence-information-macro-body"><p>You must have a valid Amazon Web 
Services developer account, and be signed up to use Amazon DynamoDB. More 
information are available at <a shape="rect" class="external-link" 
href="http://aws.amazon.com/dynamodb"; rel="nofollow">Amazon 
DynamoDB</a>.</p></div></div><h3 id="AWS-DDB-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[aws-ddb://domainName[?options]
 ]]></script>
-</div></div><p>You can append query options to the URI in the following 
format, ?options=value&amp;option2=value&amp;...</p><h3 
id="AWS-DDB-URIOptions">URI Options</h3><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>Default Value</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Context</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p>amazonDDBClient</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Producer</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Reference to a 
<code>com.amazonaws.services.dynamodb.AmazonDynamoDB</code> in the <a 
shape="rect" href="registry.html">Registry</a>.</p></td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"><
 p>accessKey</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>null</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>Producer</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>Amazon AWS Access Key</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p>secretKey</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Producer</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Amazon AWS Secret Key</p></td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"><p>amazonDdbEndpoint</p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Producer</p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>The region with which the 
AWS-DDB client wants to work with.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>tableName</p></td><td co
 lspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Producer</p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>The name of the table currently 
worked with.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>readCapacity</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>0</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>Producer</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>The provisioned throughput to reserve for reading 
resources from your table</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>writeCapacity</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>0</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>Producer</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>The provisioned throughput to reserved for writing 
resources to your table</p></td></tr><tr><td colspan="1" ro
 wspan="1" class="confluenceTd"><p>consistentRead</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Producer</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Determines whether or not strong 
consistency should be enforced when data is read.</p></td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"><p>operation</p></td><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>PutAttributes</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Producer</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Valid values are BatchGetItems, DeleteItem, 
DeleteTable, DescribeTable, GetItem, PutItem, Query, Scan, UpdateItem, 
UpdateTable.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>proxyHost</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>null</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>Producer</p></td>
 <td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 
2.16</strong>: Specify a proxy host to be used inside the client 
definition.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>proxyPort</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>null</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>Producer</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><strong>Camel 2.16</strong>: Specify a proxy port to be 
used inside the client definition.</p></td></tr></tbody></table></div><div 
class="confluence-information-macro 
confluence-information-macro-information"><p class="title">Required DDB 
component options</p><span class="aui-icon aui-icon-small aui-iconfont-info 
confluence-information-macro-icon"></span><div 
class="confluence-information-macro-body"><p>You have to provide the 
amazonDDBClient in the <a shape="rect" href="registry.html">Registry</a> or 
your accessKey and secretKey to access the <a shape="rect" cl
 ass="external-link" href="http://aws.amazon.com/dynamodb"; 
rel="nofollow">Amazon's DynamoDB</a>.</p></div></div><h3 
id="AWS-DDB-Usage">Usage</h3><h4 
id="AWS-DDB-MessageheadersevaluatedbytheDDBproducer">Message headers evaluated 
by the DDB producer</h4><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>Type</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbBatchItems</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>Map&lt;String, 
KeysAndAttributes&gt;</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>A map of the table name and corresponding items to get 
by primary key.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbTableName</code></p
 ></td><td colspan="1" rowspan="1" 
 >class="confluenceTd"><p><code>String</code></p></td><td colspan="1" 
 >rowspan="1" class="confluenceTd"><p>Table Name for this 
 >operation.</p></td></tr><tr><td colspan="1" rowspan="1" 
 >class="confluenceTd"><p><code>CamelAwsDdbKey</code></p></td><td colspan="1" 
 >rowspan="1" class="confluenceTd"><p><code>Key</code></p></td><td colspan="1" 
 >rowspan="1" class="confluenceTd"><p>The primary key that uniquely identifies 
 >each item in a table.</p><p><strong>>From Camel 2.16.0 the type of this 
 >header is <span>Map&lt;String, AttributeValue&gt; and not 
 >Key</span></strong></p></td></tr><tr><td colspan="1" rowspan="1" 
 >class="confluenceTd"><p><code>CamelAwsDdbReturnValues</code></p></td><td 
 >colspan="1" rowspan="1" 
 >class="confluenceTd"><p><code>String</code></p></td><td colspan="1" 
 >rowspan="1" class="confluenceTd"><p>Use this parameter if you want to get the 
 >attribute name-value pairs before or after they are modified(NONE, ALL_OLD, 
 >UPDATED_OLD, ALL_NEW, UPDATED_NEW).</p><
 /td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbUpdateCondition</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>Map&lt;String, 
ExpectedAttributeValue&gt;</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>Designates an attribute for a conditional 
modification.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbAttributeNames</code></p></td><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>Collection&lt;String&gt;</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>If attribute names are not 
specified then all attributes will be returned.</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbConsistentRead</code></p></td><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>Boolean</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>If set to true, then a consistent read is 
issued, otherwise eventually 
 consistent is used.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbItem</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>Map&lt;String, 
AttributeValue&gt;</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>A map of the attributes for the item, and must include 
the primary key values that define the item.</p></td></tr><tr><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbExactCount</code></p></td><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>Boolean</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>If set to true, Amazon DynamoDB returns a 
total number of items that match the query parameters, instead of a list of the 
matching items and their attributes.</p><p><strong>From Camel 2.16.0 this 
header doesn't exist anymore.</strong></p></td></tr><tr><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbKeyConditions</code></p></td><td 
colspan="1" r
 owspan="1" class="confluenceTd"><p><code>Map&lt;String, 
Condition&gt;</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><strong>From Camel 2.16.0</strong>. This header specify 
the selection criteria for the query, and merge together the two old headers 
<span><strong>CamelAwsDdbHashKeyValue</strong> and 
<strong>CamelAwsDdbScanRangeKeyCondition</strong></span></p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbStartKey</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>Key</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Primary key of the item from 
which to continue an earlier query.</p></td></tr><tr><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbHashKeyValue</code></p></td><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>AttributeValue</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Value of the hash component of the 
composite primary key.</p>
 <p><strong>From Camel 2.16.0 this header doesn't exist 
anymore.</strong></p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbLimit</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>Integer</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>The maximum number of items to 
return.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbScanRangeKeyCondition</code></p></td><td
 colspan="1" rowspan="1" 
class="confluenceTd"><p><code>Condition</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>A container for the attribute values and 
comparison operators to use for the query.</p><p><strong>From Camel 2.16.0 this 
header doesn't exist anymore.</strong></p></td></tr><tr><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbScanIndexForward</code></p></td><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>Boolean</code></p></td><td colspan="1" 
rowspan="1" 
 class="confluenceTd"><p>Specifies forward or backward traversal of the 
index.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbScanFilter</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>Map&lt;String, 
Condition&gt;</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>Evaluates the scan results and returns only the desired 
values.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbUpdateValues</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>Map&lt;String, 
AttributeValueUpdate&gt;</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>Map of attribute name to the new value and action for 
the update.</p></td></tr></tbody></table></div></div><h4 
id="AWS-DDB-MessageheaderssetduringBatchGetItemsoperation">Message headers set 
during BatchGetItems operation</h4><div class="confluenceTableSmall"><div 
class="table-wrap"><table class="confluenceTab
 le"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Header</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Type</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbBatchResponse</code></p></td><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>Map&lt;String,BatchResponse&gt;</code></p></td><td
 colspan="1" rowspan="1" class="confluenceTd"><p>Table names and the respective 
item attributes from the tables.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbUnprocessedKeys</code></p></td><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>Map&lt;String,KeysAndAttributes&gt;</code></p></td><td
 colspan="1" rowspan="1" class="confluenceTd"><p>Contains a map of tables and 
their respective keys that were not processed with the current 
response.</p></td></tr></tbody></table></div></div><h4 id="AWS-DDB-Messageheader
 ssetduringDeleteItemoperation">Message headers set during DeleteItem 
operation</h4><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>Type</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbAttributes</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>Map&lt;String, 
AttributeValue&gt;</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>The list of attributes returned by the 
operation.</p></td></tr></tbody></table></div></div><h4 
id="AWS-DDB-MessageheaderssetduringDeleteTableoperation">Message headers set 
during DeleteTable operation</h4><div class="confluenceTableSmall"><div 
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" 
rowspan="1" class="conflue
 nceTh"><p>Header</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Type</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbProvisionedThroughput</code></p></td><td
 colspan="1" rowspan="1" 
class="confluenceTd"><p><code>ProvisionedThroughputDescription</code></p></td><td
 colspan="1" rowspan="1" class="confluenceTd"><p>The value of the 
ProvisionedThroughput property for this table</p></td></tr><tr><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbCreationDate</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>Date</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Creation DateTime of this 
table.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbTableItemCount</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>Long</code></p></td><td 
colspan="1" rowspan="1" 
 class="confluenceTd"><p>Item count for this table.</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbKeySchema</code></p></td><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>KeySchema</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>The KeySchema that identifies the primary 
key for this table.</p><p><strong>From Camel 2.16.0 the type of this header is 
<span>List&lt;KeySchemaElement&gt;</span> and not 
KeySchema</strong></p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbTableName</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>The table 
name.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbTableSize</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>Long</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>The table 
 size in bytes.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbTableStatus</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>The status of the table: 
CREATING, UPDATING, DELETING, 
ACTIVE</p></td></tr></tbody></table></div></div><h4 
id="AWS-DDB-MessageheaderssetduringDescribeTableoperation">Message headers set 
during DescribeTable operation</h4><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>Type</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbProvisionedThroughput</code></p></td><td
 colspan="1" rowspan="1" 
class="confluenceTd"><p>{{ProvisionedThroughputDescription}</p></td><
 td colspan="1" rowspan="1" class="confluenceTd"><p>The value of the 
ProvisionedThroughput property for this table</p></td></tr><tr><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbCreationDate</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>Date</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Creation DateTime of this 
table.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbTableItemCount</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>Long</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Item count for this 
table.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbKeySchema</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>{{KeySchema</p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>The KeySchema that identifies 
the primary key for this table.</p><p><strong>From Camel 2.16.0 the 
 type of this header is List&lt;KeySchemaElement&gt; and not 
KeySchema</strong></p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbTableName</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>The table 
name.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbTableSize</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>Long</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>The table size in 
bytes.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbTableStatus</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>The status of the table: 
CREATING, UPDATING, DELETING, ACTIVE</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>CamelAwsDdb
 ReadCapacity</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>Long</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>ReadCapacityUnits property of this 
table.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbWriteCapacity</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>Long</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>WriteCapacityUnits property of 
this table.</p></td></tr></tbody></table></div></div><h4 
id="AWS-DDB-MessageheaderssetduringGetItemoperation">Message headers set during 
GetItem operation</h4><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>Type</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd">
 <p><code>CamelAwsDdbAttributes</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>Map&lt;String, 
AttributeValue&gt;</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>The list of attributes returned by the 
operation.</p></td></tr></tbody></table></div></div><h4 
id="AWS-DDB-MessageheaderssetduringPutItemoperation">Message headers set during 
PutItem operation</h4><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>Type</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbAttributes</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>Map&lt;String, 
AttributeValue&gt;</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>The list of attributes retur
 ned by the operation.</p></td></tr></tbody></table></div></div><h4 
id="AWS-DDB-MessageheaderssetduringQueryoperation">Message headers set during 
Query operation</h4><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>Type</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>CamelAwsDdbItems</code></p></td><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>List&lt;java.util.Map&lt;String,AttributeValue&gt;&gt;</code></p></td><td
 colspan="1" rowspan="1" class="confluenceTd"><p>The list of attributes 
returned by the operation.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbLastEvaluatedKey</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>Key</code></p></td><td 
 colspan="1" rowspan="1" class="confluenceTd"><p>Primary key of the item where 
the query operation stopped, inclusive of the previous result 
set.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbConsumedCapacity</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>Double</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>The number of Capacity Units of 
the provisioned throughput of the table consumed during the 
operation.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbCount</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>Integer</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Number of items in the 
response.</p></td></tr></tbody></table></div></div><h4 
id="AWS-DDB-MessageheaderssetduringScanoperation">Message headers set during 
Scan operation</h4><div class="confluenceTableSmall"><div 
class="table-wrap"><table class="confluenceTab
 le"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Header</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Type</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>CamelAwsDdbItems</code></p></td><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>List&lt;java.util.Map&lt;String,AttributeValue&gt;&gt;</code></p></td><td
 colspan="1" rowspan="1" class="confluenceTd"><p>The list of attributes 
returned by the operation.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbLastEvaluatedKey</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>Key</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Primary key of the item where 
the query operation stopped, inclusive of the previous result 
set.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbConsumedCapacity</c
 ode></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>Double</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>The number of Capacity Units of the provisioned 
throughput of the table consumed during the operation.</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbCount</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>Integer</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Number of items in the 
response.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbScannedCount</code></p></td><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>Integer</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Number of items in the complete scan before 
any filters are applied.</p></td></tr></tbody></table></div></div><h4 
id="AWS-DDB-MessageheaderssetduringUpdateItemoperation">Message headers set 
during UpdateItem operation</h4><div cl
 ass="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>Type</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbAttributes</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>Map&lt;String, 
AttributeValue&gt;</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>The list of attributes returned by the 
operation.</p></td></tr></tbody></table></div></div><h4 
id="AWS-DDB-AdvancedAmazonDynamoDBconfiguration">Advanced AmazonDynamoDB 
configuration</h4><p>If you need more control over the 
<code>AmazonDynamoDB</code> instance configuration you can create your own 
instance and refer to it from the URI:</p><div class="code panel pdl" 
style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><p>You can append query options to the URI in the following 
format:&#160;<strong><code>?options=value&amp;option2=value&amp;...</code></strong></p><h3
 id="AWS-DDB-URIOptions">URI Options</h3><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>Default Value</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Context</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>amazonDDBClient</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Producer</p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Reference to a 
<strong><code>com.amazonaws.services.dynamodb.AmazonDynamoDB</code></strong> in 
the <a shape="rect" href="registry.html">Registry</a>.</p
 ></td></tr><tr><td colspan="1" rowspan="1" 
 >class="confluenceTd"><p><code>accessKey</code></p></td><td colspan="1" 
 >rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" 
 >rowspan="1" class="confluenceTd"><p>Producer</p></td><td colspan="1" 
 >rowspan="1" class="confluenceTd"><p>Amazon AWS Access 
 >Key.</p></td></tr><tr><td colspan="1" rowspan="1" 
 >class="confluenceTd"><p><code>secretKey</code></p></td><td colspan="1" 
 >rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" 
 >rowspan="1" class="confluenceTd"><p>Producer</p></td><td colspan="1" 
 >rowspan="1" class="confluenceTd"><p>Amazon AWS Secret 
 >Key.</p></td></tr><tr><td colspan="1" rowspan="1" 
 >class="confluenceTd"><p><code>amazonDdbEndpoint</code></p></td><td 
 >colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td 
 >colspan="1" rowspan="1" class="confluenceTd"><p>Producer</p></td><td 
 >colspan="1" rowspan="1" class="confluenceTd"><p>The region with which the 
 >AWS-DDB client wants t
 o work with.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>tableName</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Producer</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>The name of the table currently worked 
with.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>readCapacity</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>0</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Producer</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>The provisioned throughput to reserve for 
reading resources from your table</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>writeCapacity</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>0</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Producer</p></td><td colspan="1" r
 owspan="1" class="confluenceTd"><p>The provisioned throughput to reserved for 
writing resources to your table</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>consistentRead</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Producer</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Determines whether or not strong 
consistency should be enforced when data is read.</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>operation</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>PutAttributes</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Producer</p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Valid values 
are:</p><ul><li><code>BatchGetItems</code></li><li><code>DeleteItem</code></li><li><code>DeleteTable</code></li><li><code>DescribeTable</code></li><li><code>GetItem</code></li><l
 
i><code>PutItem</code></li><li><code>Query</code></li><li><code>Scan</code></li><li><code>UpdateItem</code></li><li><code>UpdateTable</code></li></ul></td></tr><tr><td
 colspan="1" rowspan="1" 
class="confluenceTd"><p><code>proxyHost</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Producer</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><strong>Camel 2.16</strong>: Specify a 
proxy host to be used inside the client definition.</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>proxyPort</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Producer</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><strong>Camel 2.16</strong>: Specify a 
proxy port to be used inside the client 
definition.</p></td></tr></tbody></table></div><div 
class="confluence-information-
 macro confluence-information-macro-information"><p class="title">Required DDB 
component options</p><span class="aui-icon aui-icon-small aui-iconfont-info 
confluence-information-macro-icon"></span><div 
class="confluence-information-macro-body"><p>You have to provide 
the&#160;<strong><code>amazonDDBClient</code></strong> in the <a shape="rect" 
href="registry.html">Registry</a> or 
your&#160;<strong><code>accessKey</code></strong> 
and&#160;<strong><code>secretKey</code></strong> to access the <a shape="rect" 
class="external-link" href="http://aws.amazon.com/dynamodb"; 
rel="nofollow">Amazon's DynamoDB</a>.</p></div></div><h3 
id="AWS-DDB-Usage">Usage</h3><h4 
id="AWS-DDB-MessageheadersevaluatedbytheDDBproducer">Message headers evaluated 
by the DDB producer</h4><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>Type</p></th><t
 h colspan="1" rowspan="1" 
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbBatchItems</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>Map&lt;String, 
KeysAndAttributes&gt;</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>A map of the table name and corresponding items to get 
by primary key.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbTableName</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Table Name for this 
operation.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbKey</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>Key</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>The primary key that uniquely identifies 
each item in a table.</p><p><strong>From 
 Camel 2.16.0:</strong> the type of this header is 
<span><strong><code>Map&lt;String, AttributeValue&gt;</code></strong> and 
not&#160;<strong><code>Key</code></strong>.</span></p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbReturnValues</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Use this parameter if you want 
to get the attribute name-value pairs before or after they are modified 
(<code>NONE</code>, <code>ALL_OLD</code>, <code>UPDATED_OLD</code>, 
<code>ALL_NEW</code>, <code>UPDATED_NEW</code>).</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbUpdateCondition</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>Map&lt;String, 
ExpectedAttributeValue&gt;</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>Designates an attribute for a conditional 
modification.</p></td></tr><tr
 ><td colspan="1" rowspan="1" 
 >class="confluenceTd"><p><code>CamelAwsDdbAttributeNames</code></p></td><td 
 >colspan="1" rowspan="1" 
 >class="confluenceTd"><p><code>Collection&lt;String&gt;</code></p></td><td 
 >colspan="1" rowspan="1" class="confluenceTd"><p>If attribute names are not 
 >specified then all attributes will be returned.</p></td></tr><tr><td 
 >colspan="1" rowspan="1" 
 >class="confluenceTd"><p><code>CamelAwsDdbConsistentRead</code></p></td><td 
 >colspan="1" rowspan="1" 
 >class="confluenceTd"><p><code>Boolean</code></p></td><td colspan="1" 
 >rowspan="1" class="confluenceTd"><p>If set to true, then a consistent read is 
 >issued, otherwise eventually consistent is used.</p></td></tr><tr><td 
 >colspan="1" rowspan="1" 
 >class="confluenceTd"><p><code>CamelAwsDdbItem</code></p></td><td colspan="1" 
 >rowspan="1" class="confluenceTd"><p><code>Map&lt;String, 
 >AttributeValue&gt;</code></p></td><td colspan="1" rowspan="1" 
 >class="confluenceTd"><p>A map of the attributes for the item, and must 
 >include the primary 
 key values that define the item.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbExactCount</code></p></td><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>Boolean</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>If set to true, Amazon DynamoDB returns a 
total number of items that match the query parameters, instead of a list of the 
matching items and their attributes.</p><p><strong>From Camel 2.16.0 this 
header doesn't exist anymore.</strong></p></td></tr><tr><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbKeyConditions</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>Map&lt;String, 
Condition&gt;</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><strong>From Camel 2.16.0</strong>. This header specify 
the selection criteria for the query, and merge together the two old headers 
<strong><code>CamelAwsDdbHashKeyValue</code></strong> and 
<strong><code>CamelAwsDd
 bScanRangeKeyCondition</code></strong></p></td></tr><tr><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbStartKey</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>Key</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Primary key of the item from 
which to continue an earlier query.</p></td></tr><tr><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbHashKeyValue</code></p></td><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>AttributeValue</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Value of the hash component of the 
composite primary key.</p><p><strong>From Camel 2.16.0 this header doesn't 
exist anymore.</strong></p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbLimit</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>Integer</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>The maximum number of item
 s to return.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbScanRangeKeyCondition</code></p></td><td
 colspan="1" rowspan="1" 
class="confluenceTd"><p><code>Condition</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>A container for the attribute values and 
comparison operators to use for the query.</p><p><strong>From Camel 2.16.0 this 
header doesn't exist anymore.</strong></p></td></tr><tr><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbScanIndexForward</code></p></td><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>Boolean</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Specifies forward or backward traversal of 
the index.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbScanFilter</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>Map&lt;String, 
Condition&gt;</code></p></td><td colspan="1" rowspan="1" class="confluenceTd
 "><p>Evaluates the scan results and returns only the desired 
values.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbUpdateValues</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>Map&lt;String, 
AttributeValueUpdate&gt;</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>Map of attribute name to the new value and action for 
the update.</p></td></tr></tbody></table></div></div><h4 
id="AWS-DDB-MessageheaderssetduringBatchGetItemsoperation">Message headers set 
during BatchGetItems operation</h4><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>Type</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbBatchResponse</code></p></td><td 
colspan="
 1" rowspan="1" 
class="confluenceTd"><p><code>Map&lt;String,BatchResponse&gt;</code></p></td><td
 colspan="1" rowspan="1" class="confluenceTd"><p>Table names and the respective 
item attributes from the tables.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbUnprocessedKeys</code></p></td><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>Map&lt;String,KeysAndAttributes&gt;</code></p></td><td
 colspan="1" rowspan="1" class="confluenceTd"><p>Contains a map of tables and 
their respective keys that were not processed with the current 
response.</p></td></tr></tbody></table></div></div><h4 
id="AWS-DDB-MessageheaderssetduringDeleteItemoperation">Message headers set 
during DeleteItem operation</h4><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>Type</p></th><th colspan="1" rowspan=
 "1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbAttributes</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>Map&lt;String, 
AttributeValue&gt;</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>The list of attributes returned by the 
operation.</p></td></tr></tbody></table></div></div><h4 
id="AWS-DDB-MessageheaderssetduringDeleteTableoperation">Message headers set 
during DeleteTable operation</h4><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>Type</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbProvisionedThroughput</code></p></td><td
 colspan="1" rowspan="1" class="confluenceTd"><p><code>Prov
 isionedThroughputDescription</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>The value of 
the&#160;<strong><code>ProvisionedThroughput</code></strong> property for this 
table</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbCreationDate</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>Date</code></p></td><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p>Creation&#160;<strong><code>DateTime</code></strong> of 
this table.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbTableItemCount</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>Long</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Item count for this 
table.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbKeySchema</code></p></td><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>KeySchema</code></p></td><td colspan="1" rowspan=
 "1" class="confluenceTd"><p>The&#160;<strong><code>KeySchema</code></strong> 
that identifies the primary key for this table.</p><p><strong>From Camel 
2.16.0</strong>: the type of this header is 
<strong><code>List&lt;KeySchemaElement&gt;</code></strong> and not 
<strong><code>KeySchema</code></strong>.</p></td></tr><tr><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbTableName</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>The table 
name.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbTableSize</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>Long</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>The table size in 
bytes.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbTableStatus</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code
 >String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The 
 >status of the table: <code>CREATING</code>, <code>UPDATING</code>, 
 ><code>DELETING</code>,&#160;<code>ACTIVE</code></p></td></tr></tbody></table></div></div><h4
 > id="AWS-DDB-MessageheaderssetduringDescribeTableoperation">Message headers 
 >set during DescribeTable operation</h4><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>Type</p></th><th colspan="1" rowspan="1" 
 >class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" 
 >rowspan="1" 
 >class="confluenceTd"><p><code>CamelAwsDdbProvisionedThroughput</code></p></td><td
 > colspan="1" rowspan="1" 
 >class="confluenceTd"><p><code>ProvisionedThroughputDescription</code></p></td><td
 > colspan="1" rowspan="1" class="confluenceTd"><p>The value of the 
 >ProvisionedThroughput property for this table</p><
 /td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbCreationDate</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>Date</code></p></td><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p>Creation&#160;<strong><code>DateTime</code></strong> of 
this table.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbTableItemCount</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>Long</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Item count for this 
table.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbKeySchema</code></p></td><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>KeySchema</code></p></td><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p>The&#160;<strong><code>KeySchema</code></strong> that 
identifies the primary key for this table.</p><p><strong>From Camel 
2.16.0</strong>: the type of this header is&#160
 ;<strong><code>List&lt;KeySchemaElement&gt;</code></strong> and not 
<strong><code>KeySchema</code>.</strong></p></td></tr><tr><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbTableName</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>The table 
name.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbTableSize</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>Long</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>The table size in 
bytes.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbTableStatus</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>The status of the table: 
<code>CREATING</code>, <code>UPDATING</code>, <code>DELETING</code>, 
<code>ACTIVE</code>.</p>
 </td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbReadCapacity</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>Long</code></p></td><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><strong><code>ReadCapacityUnits</code></strong> 
property of this table.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbWriteCapacity</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>Long</code></p></td><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><strong><code>WriteCapacityUnits</code></strong> 
property of this table.</p></td></tr></tbody></table></div></div><h4 
id="AWS-DDB-MessageheaderssetduringGetItemoperation">Message headers set during 
GetItem operation</h4><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>
 Type</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbAttributes</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>Map&lt;String, 
AttributeValue&gt;</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>The list of attributes returned by the 
operation.</p></td></tr></tbody></table></div></div><h4 
id="AWS-DDB-MessageheaderssetduringPutItemoperation">Message headers set during 
PutItem operation</h4><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>Type</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbAttributes</code></p></td><td 
colspan="1" rowspan="1" class="confluenc
 eTd"><p><code>Map&lt;String, AttributeValue&gt;</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>The list of attributes returned by the 
operation.</p></td></tr></tbody></table></div></div><h4 
id="AWS-DDB-MessageheaderssetduringQueryoperation">Message headers set during 
Query operation</h4><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>Type</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>CamelAwsDdbItems</code></p></td><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>List&lt;java.util.Map&lt;String,AttributeValue&gt;&gt;</code></p></td><td
 colspan="1" rowspan="1" class="confluenceTd"><p>The list of attributes 
returned by the operation.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="conf
 luenceTd"><p><code>CamelAwsDdbLastEvaluatedKey</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>Key</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Primary key of the item where the query 
operation stopped, inclusive of the previous result set.</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbConsumedCapacity</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>Double</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>The number of Capacity Units of 
the provisioned throughput of the table consumed during the 
operation.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbCount</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>Integer</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Number of items in the 
response.</p></td></tr></tbody></table></div></div><h4 
id="AWS-DDB-MessageheaderssetduringSca
 noperation">Message headers set during Scan operation</h4><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>Type</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>CamelAwsDdbItems</code></p></td><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>List&lt;java.util.Map&lt;String,AttributeValue&gt;&gt;</code></p></td><td
 colspan="1" rowspan="1" class="confluenceTd"><p>The list of attributes 
returned by the operation.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbLastEvaluatedKey</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>Key</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Primary key of the item where 
the query operation stopped, 
 inclusive of the previous result set.</p></td></tr><tr><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbConsumedCapacity</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>Double</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>The number of Capacity Units of 
the provisioned throughput of the table consumed during the 
operation.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbCount</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>Integer</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Number of items in the 
response.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbScannedCount</code></p></td><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>Integer</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Number of items in the complete scan before 
any filters are applied.</p></td></tr></tb
 ody></table></div></div><h4 
id="AWS-DDB-MessageheaderssetduringUpdateItemoperation">Message headers set 
during UpdateItem operation</h4><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>Type</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p><code>CamelAwsDdbAttributes</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>Map&lt;String, 
AttributeValue&gt;</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>The list of attributes returned by the 
operation.</p></td></tr></tbody></table></div></div><h4 
id="AWS-DDB-AdvancedAmazonDynamoDBconfiguration">Advanced AmazonDynamoDB 
configuration</h4><p>If you need more control over the 
<strong><code>AmazonDynamoDB</code></strong> instance configuration you
  can create your own instance and refer to it from the URI:</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(&quot;direct:start&quot;)
-.to(&quot;aws-ddb://domainName?amazonDDBClient=#client&quot;);
+  .to(&quot;aws-ddb://domainName?amazonDDBClient=#client&quot;);
 ]]></script>
-</div></div><p>The <code>#client</code> refers to a 
<code>AmazonDynamoDB</code> in the <a shape="rect" 
href="registry.html">Registry</a>.</p><p>For example if your Camel Application 
is running behind a firewall:</p><div class="code panel pdl" 
style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><p>The <strong><code>#client</code></strong> refers to a 
<strong><code>AmazonDynamoDB</code></strong> in the <a shape="rect" 
href="registry.html">Registry</a>.</p><p>For example if your Camel Application 
is running behind a firewall:</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[AWSCredentials awsCredentials = new 
BasicAWSCredentials(&quot;myAccessKey&quot;, &quot;mySecretKey&quot;);
 ClientConfiguration clientConfiguration = new ClientConfiguration();
 clientConfiguration.setProxyHost(&quot;http://myProxyHost&quot;);
@@ -102,14 +102,14 @@ AmazonDynamoDB client = new AmazonDynamo
 
 registry.bind(&quot;client&quot;, client);
 ]]></script>
-</div></div><h3 id="AWS-DDB-Dependencies">Dependencies</h3><p>Maven users will 
need to add the following dependency to their pom.xml.</p><div class="code 
panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader pdl" 
style="border-bottom-width: 1px;"><b>pom.xml</b></div><div class="codeContent 
panelContent pdl">
+</div></div><h3 id="AWS-DDB-Dependencies">Dependencies</h3><p>Maven users will 
need to add the following dependency to their 
<strong><code>pom.xml</code></strong>.</p><div class="code panel pdl" 
style="border-width: 1px;"><div class="codeHeader panelHeader pdl" 
style="border-bottom-width: 1px;"><b>pom.xml</b></div><div class="codeContent 
panelContent pdl">
 <script class="brush: xml; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[&lt;dependency&gt;
     &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
     &lt;artifactId&gt;camel-aws&lt;/artifactId&gt;
     &lt;version&gt;${camel-version}&lt;/version&gt;
 &lt;/dependency&gt;
 ]]></script>
-</div></div><p>where <code>${camel-version</code>} must be replaced by the 
actual version of Camel (2.10 or higher).</p><p></p><h3 
id="AWS-DDB-SeeAlso">See Also</h3>
+</div></div><p>where <strong><code>${camel-version</code>}</strong> must be 
replaced by the actual version of Camel (2.10 or higher).</p><p></p><h3 
id="AWS-DDB-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><ul 
class="alternate"><li><a shape="rect" href="aws.html">AWS 
Component</a></li></ul></div>
         </td>
         <td valign="top">

Modified: websites/production/camel/content/book-component-appendix.html
==============================================================================
--- websites/production/camel/content/book-component-appendix.html (original)
+++ websites/production/camel/content/book-component-appendix.html Wed Aug 24 
16:20:01 2016
@@ -208,7 +208,7 @@ droppable = false}
 &lt;/dependency&gt;
 ]]></script>
 </div></div><p></p><h3 id="BookComponentAppendix-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 
class="error"><span class="error">Unable to render {include}</span> The 
included page could not be found.</div> <h2 
id="BookComponentAppendix-AMQP">AMQP</h2><p>The <strong style="line-height: 
1.42857;">amqp:</strong> component supports the <a shape="rect" 
class="external-link" href="http://www.amqp.org/"; style="line-height: 1.42857;" 
rel="nofollow">AMQP 1.0 protocol</a> using the JMS Client API of the <a 
shape="rect" class="external-link" href="https://github.com/apache/qpid-jms/"; 
rel="nofollow">Qpid</a> project. In case you want to use AMQP 0.9 (in 
particular RabbitMQ) you might also be interested in the <a shape="rect" 
href="rabbitmq.html">Camel RabbitMQ</a> component. Please keep in mind that 
prior to th
 e Camel 2.17.0 AMQP component supported AMQP 0.9 and above, however since 
Camel 2.17.0 it supports only AMQP 1.0.</p><p>Maven users will need to add the 
following dependency to their <code>pom.xml</code> for this component:</p><div 
class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
panelContent pdl">
+<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 
class="error"><span class="error">Unable to render {include}</span> The 
included page could not be found.</div> <h2 
id="BookComponentAppendix-AMQP">AMQP</h2><p>The <strong style="line-height: 
1.42857;">amqp:</strong> component supports the <a shape="rect" 
class="external-link" href="http://www.amqp.org/"; style="line-height: 1.42857;" 
rel="nofollow">AMQP 1.0 protocol</a> using the JMS Client API of the <a 
shape="rect" class="external-link" href="https://github.com/apache/qpid-jms/"; 
rel="nofollow">Qpid</a> project. In case you want to use <strong>AMQP 
0.9</strong> (in particular RabbitMQ) you might also be interested in the <a 
shape="rect" href="rabbitmq.html">Camel RabbitMQ</a> component. Please keep in 
mind
  that prior to the <strong>Camel 2.17.0</strong> AMQP component supported 
<strong>AMQP 0.9</strong> and above, however since <strong>Camel 
2.17.0</strong> it supports only <strong>AMQP 1.0</strong>.</p><p>Maven users 
will need to add the following dependency to their 
<strong><code>pom.xml</code></strong> for this component:</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[&lt;dependency&gt;
     &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
     &lt;artifactId&gt;camel-amqp&lt;/artifactId&gt;
@@ -218,21 +218,21 @@ droppable = false}
 </div></div><h3 id="BookComponentAppendix-URIformat.1">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[amqp:[queue:|topic:]destinationName[?options]
 ]]></script>
-</div></div><h3 id="BookComponentAppendix-AMQPOptions">AMQP Options</h3><p>You 
can specify all of the various configuration options of the <a shape="rect" 
href="jms.html">JMS</a> component after the destination name.</p><h3 
id="BookComponentAppendix-Usage">Usage</h3><p>As AMQP component is inherited 
from JMS component, the usage of the former is almost identical to the 
latter:</p><div class="code panel pdl" style="border-width: 1px;"><div 
class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;"><b>Using 
AMQP component</b></div><div class="codeContent panelContent pdl">
+</div></div><h3 id="BookComponentAppendix-AMQPOptions">AMQP Options</h3><p>You 
can specify all of the various configuration options of the <a shape="rect" 
href="jms.html">JMS</a> component after the destination name.</p><h3 
id="BookComponentAppendix-Usage">Usage</h3><p>As AMQP component inherits from 
the JMS component. The usage of the former is almost identical to the 
latter:</p><div class="code panel pdl" style="border-width: 1px;"><div 
class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;"><b>Using 
AMQP component</b></div><div class="codeContent panelContent pdl">
 <script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[// Consuming from AMQP queue
-from(&quot;amqp:queue:incoming&quot;).
-  to(...);
+from(&quot;amqp:queue:incoming&quot;)
+  .to(...);
  
 // Sending message to the AMQP topic
-from(...).
-  to(&quot;amqp:topic:notify&quot;);]]></script>
-</div></div><h3 id="BookComponentAppendix-ConfiguringAMQPcomponent"><span 
style="line-height: 1.5;">Configuring AMQP component</span></h3><p>Starting 
from the Camel 2.16.1 you can also use the 
<code>AMQPComponent#amqp10Component(String connectionURI)</code> factory method 
to return the AMQP 1.0 component with the pre-configured&#160;topic 
prefix:&#160;</p><div class="code panel pdl" style="border-width: 1px;"><div 
class="codeHeader panelHeader pdl" style="border-bottom-width: 
1px;"><b>Creating AMQP 1.0 component</b></div><div class="codeContent 
panelContent pdl">
+from(...)
+  .to(&quot;amqp:topic:notify&quot;);]]></script>
+</div></div><h3 id="BookComponentAppendix-ConfiguringAMQPcomponent"><span 
style="line-height: 1.5;">Configuring AMQP component</span></h3><p>Starting 
from the <strong>Camel 2.16.1</strong> you can also use the 
<strong><code>AMQPComponent#amqp10Component(String 
connectionURI)</code></strong> factory method to return the <strong>AMQP 
1.0</strong> component with the pre-configured&#160;topic prefix:&#160;</p><div 
class="code panel pdl" style="border-width: 1px;"><div class="codeHeader 
panelHeader pdl" style="border-bottom-width: 1px;"><b>Creating AMQP 1.0 
component</b></div><div class="codeContent panelContent pdl">
 <script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[ AMQPComponent amqp = 
AMQPComponent.amqp10Component(&quot;amqp://guest:guest@localhost:5672&quot;);]]></script>
-</div></div><p>Keep in mind that starting from the 
Camel&#160;2.17&#160;the&#160;<code>AMQPComponent#amqp10Component(String 
connectionURI)</code>&#160;factory method has been deprecated on the behalf of 
the <code><span>AMQPComponent#amqpComponent(String 
connectionURI)</span></code>:&#160;</p><div class="code panel pdl" 
style="border-width: 1px;"><div class="codeHeader panelHeader pdl" 
style="border-bottom-width: 1px;"><b>Creating AMQP 1.0 component</b></div><div 
class="codeContent panelContent pdl">
+</div></div><p>Keep in mind that starting from the 
<strong>Camel&#160;2.17</strong>&#160;the&#160;<strong><code>AMQPComponent#amqp10Component(String
 connectionURI)</code></strong>&#160;factory method has been deprecated on the 
behalf of the <strong><code>AMQPComponent#amqpComponent(String 
connectionURI)</code></strong>:&#160;</p><div class="code panel pdl" 
style="border-width: 1px;"><div class="codeHeader panelHeader pdl" 
style="border-bottom-width: 1px;"><b>Creating AMQP 1.0 component</b></div><div 
class="codeContent panelContent pdl">
 <script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[AMQPComponent amqp = 
AMQPComponent.amqpComponent(&quot;amqp://localhost:5672&quot;);
  
 AMQPComponent authorizedAmqp = 
AMQPComponent.amqpComponent(&quot;amqp://localhost:5672&quot;, 
&quot;user&quot;, &quot;password&quot;);]]></script>
-</div></div><p>Starting from Camel 2.17, in order to automatically configure 
the AMQP component, you can also add an instance 
of&#160;<code>org.apache.camel.component.amqp.AMQPConnectionDetails</code> to 
the registry. For example for Spring Boot you just have to 
define&#160;bean:</p><div class="code panel pdl" style="border-width: 
1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 
1px;"><b>AMQP connection details auto-configuration</b></div><div 
class="codeContent panelContent pdl">
+</div></div><p>Starting from <strong>Camel 2.17</strong>, in order to 
automatically configure the AMQP component, you can also add an instance 
of&#160;<strong><code>org.apache.camel.component.amqp.AMQPConnectionDetails</code></strong>
 to the registry. For example for Spring Boot you just have to 
define&#160;bean:</p><div class="code panel pdl" style="border-width: 
1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 
1px;"><b>AMQP connection details auto-configuration</b></div><div 
class="codeContent panelContent pdl">
 <script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[@Bean
 AMQPConnectionDetails amqpConnection() {
   return new AMQPConnectionDetails(&quot;amqp://lcoalhost:5672&quot;); 
@@ -242,7 +242,7 @@ AMQPConnectionDetails amqpConnection() {
 AMQPConnectionDetails securedAmqpConnection() {
   return new AMQPConnectionDetails(&quot;amqp://lcoalhost:5672&quot;, 
&quot;username&quot;, &quot;password&quot;); 
 }]]></script>
-</div></div><p>&#160;</p><p>You can also rely on the <a shape="rect" 
href="properties.html">Camel properties</a> to read the AMQP connection 
details. Factory 
method&#160;<code>AMQPConnectionDetails.discoverAMQP()</code>&#160;attempts to 
read Camel properties in a Kubernetes-like convention, just as demonstrated on 
the snippet below:</p><p>&#160;</p><div class="code panel pdl" 
style="border-width: 1px;"><div class="codeHeader panelHeader pdl" 
style="border-bottom-width: 1px;"><b>AMQP connection details 
auto-configuration</b></div><div class="codeContent panelContent pdl">
+</div></div><p>&#160;</p><p>You can also rely on the <a shape="rect" 
href="properties.html">Camel properties</a> to read the AMQP connection 
details. The factory 
method&#160;<strong><code>AMQPConnectionDetails.discoverAMQP()</code></strong>&#160;attempts
 to read Camel properties in a Kubernetes-like convention, just as demonstrated 
on the snippet below:</p><p>&#160;</p><div class="code panel pdl" 
style="border-width: 1px;"><div class="codeHeader panelHeader pdl" 
style="border-bottom-width: 1px;"><b>AMQP connection details 
auto-configuration</b></div><div class="codeContent panelContent pdl">
 <script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[export AMQP_SERVICE_HOST = 
&quot;mybroker.com&quot;
 export AMQP_SERVICE_PORT = &quot;6666&quot;
 export AMQP_SERVICE_USERNAME = &quot;username&quot;
@@ -255,39 +255,41 @@ AMQPConnectionDetails amqpConnection() {
   return AMQPConnectionDetails.discoverAMQP(); 
 }
 ]]></script>
-</div></div><h3 
id="BookComponentAppendix-ConfiguringConnectionFactory">Configuring Connection 
Factory</h3><p>Like with any other JMS-based component, usually it's important 
to configure JMS connection factory. For example, you'd like to set your broker 
url or set proper connection credentials. Additionally, you would always want 
to set some kind of pooling (or caching) on the connection factory. An example 
of how to do both of these tasks is shown below.</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[     &lt;bean 
id=&quot;jmsConnectionFactory&quot; 
class=&quot;org.apache.qpid.jms.JmsConnectionFactory&quot;&gt;
-        &lt;property name=&quot;remoteURI&quot; 
value=&quot;amqp://localhost:5672&quot; /&gt;
-        &lt;property name=&quot;username&quot; value=&quot;admin&quot;/&gt;
-        &lt;property name=&quot;password&quot; value=&quot;admin&quot;/&gt;
-    &lt;/bean&gt;
-
-       &lt;bean id=&quot;jmsCachingConnectionFactory&quot; 
class=&quot;org.springframework.jms.connection.CachingConnectionFactory&quot;&gt;
-       &lt;property name=&quot;targetConnectionFactory&quot; 
ref=&quot;jmsConnectionFactory&quot; /&gt;
-       &lt;/bean&gt;
-
-       &lt;bean id=&quot;jmsConfig&quot; 
class=&quot;org.apache.camel.component.jms.JmsConfiguration&quot; &gt;
-               &lt;property name=&quot;connectionFactory&quot; 
ref=&quot;jmsCachingConnectionFactory&quot; /&gt; 
-               &lt;property name=&quot;cacheLevelName&quot; 
value=&quot;CACHE_CONSUMER&quot; /&gt;
-       &lt;/bean&gt;   
-
-       &lt;bean id=&quot;amqp&quot; 
class=&quot;org.apache.camel.component.amqp.AMQPComponent&quot;&gt;
-               &lt;property name=&quot;configuration&quot; 
ref=&quot;jmsConfig&quot; /&gt;
-       &lt;/bean&gt;   
-
-    &lt;camelContext 
xmlns=&quot;http://camel.apache.org/schema/blueprint&quot; 
id=&quot;simple&quot;&gt;
-        &lt;route&gt;
-            &lt;from uri=&quot;timer:simple?period=5000&quot;/&gt;
-            &lt;setBody&gt;
-                &lt;simple&gt;Hello World&lt;/simple&gt;
-            &lt;/setBody&gt;
-            &lt;to uri=&quot;amqp:test&quot;/&gt;
-        &lt;/route&gt;
-    &lt;/camelContext&gt;]]></script>
-</div></div><h3 id="BookComponentAppendix-UsinginsideKaraf">Using inside 
Karaf</h3><p>If you want to use <strong>amqp</strong> component inside the 
Karaf, there's already defined feature that will install all necessary bundles 
for you. All you need to do is</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[karaf@root()&gt; repo-add camel
+</div></div><h3 
id="BookComponentAppendix-ConfiguringConnectionFactory">Configuring Connection 
Factory</h3><p>Like with any other JMS-based component, usually it's important 
to configure JMS connection factory. For example, you'd like to set your broker 
URL or set proper connection credentials. Additionally, you would always want 
to set some kind of pooling (or caching) on the connection factory. An example 
of how to do both of these tasks is shown below.</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[&lt;bean id=&quot;jmsConnectionFactory&quot; 
class=&quot;org.apache.qpid.jms.JmsConnectionFactory&quot;&gt;
+  &lt;property name=&quot;remoteURI&quot; 
value=&quot;amqp://localhost:5672&quot; /&gt;
+  &lt;property name=&quot;username&quot; value=&quot;admin&quot;/&gt;
+  &lt;property name=&quot;password&quot; value=&quot;admin&quot;/&gt;
+&lt;/bean&gt;
+
+&lt;bean id=&quot;jmsCachingConnectionFactory&quot; 
class=&quot;org.springframework.jms.connection.CachingConnectionFactory&quot;&gt;
+  &lt;property name=&quot;targetConnectionFactory&quot; 
ref=&quot;jmsConnectionFactory&quot; /&gt;
+&lt;/bean&gt;
+
+&lt;bean id=&quot;jmsConfig&quot; 
class=&quot;org.apache.camel.component.jms.JmsConfiguration&quot; &gt;
+  &lt;property name=&quot;connectionFactory&quot; 
ref=&quot;jmsCachingConnectionFactory&quot; /&gt; 
+  &lt;property name=&quot;cacheLevelName&quot; 
value=&quot;CACHE_CONSUMER&quot; /&gt;
+&lt;/bean&gt;    
+
+&lt;bean id=&quot;amqp&quot; 
class=&quot;org.apache.camel.component.amqp.AMQPComponent&quot;&gt;
+    &lt;property name=&quot;configuration&quot; ref=&quot;jmsConfig&quot; /&gt;
+&lt;/bean&gt;    
+
+&lt;camelContext xmlns=&quot;http://camel.apache.org/schema/blueprint&quot; 
id=&quot;simple&quot;&gt;
+  &lt;route&gt;
+    &lt;from uri=&quot;timer:simple?period=5000&quot;/&gt;
+    &lt;setBody&gt;
+        &lt;simple&gt;Hello World&lt;/simple&gt;
+    &lt;/setBody&gt;
+    &lt;to uri=&quot;amqp:test&quot;/&gt;
+  &lt;/route&gt;
+&lt;/camelContext&gt;
+
+]]></script>
+</div></div><h3 id="BookComponentAppendix-UsingamqpinsideKaraf">Using amqp 
inside Karaf</h3><p>To use the <strong><code>amqp</code></strong> component 
inside Karaf use the predefined feature called 
<strong><code>camel-amqp</code></strong> to install the necessary 
bundles.</p><p>Example:</p><div class="code panel pdl" style="border-width: 
1px;"><div class="codeContent panelContent pdl">
+<script class="brush: text; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[karaf@root()&gt; repo-add camel
 karaf@root()&gt; feature:install camel-amqp]]></script>
-</div></div><p>and the environment would be set. Additionally you can add 
<strong>camel-blueprint</strong> or <strong>camel-spring</strong> features if 
you want to define your routes in those contexts.</p><p>&#160;</p><p></p><h3 
id="BookComponentAppendix-SeeAlso.1">See Also</h3>
+</div></div><p>and the environment would be set.</p><p>Use the 
<strong><code>camel-blueprint</code></strong> 
or&#160;<strong><code>camel-spring</code></strong> features to define routes in 
those contexts.</p><p>&#160;</p><p></p><h3 
id="BookComponentAppendix-SeeAlso.1">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><p>&#160;</p> <h2 
id="BookComponentAppendix-SQSComponent">SQS Component</h2><p><strong>Available 
as of Camel 2.6</strong></p><p>The sqs component supports sending and receiving 
messages to <a shape="rect" class="external-link" 
href="http://aws.amazon.com/sqs"; rel="nofollow">Amazon's SQS</a> 
service.</p><div class="confluence-information-macro 
confluence-information-macro-information"><p 
class="title">Prerequisites</p><span class="aui-icon aui-icon-small 
aui-iconfont-info confluence-information-macro-icon"></span><div 
class="confluence-information-macro-body"><p>You must have a valid Amazon Web 
Services developer account, and be signed up to use Amazon SQS. More 
information are available at <a shape="rect" class="
 external-link" href="http://aws.amazon.com/sqs"; rel="nofollow">Amazon 
SQS</a>.</p></div></div><h3 id="BookComponentAppendix-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[aws-sqs://queueName[?options]
 aws-sqs://queueNameOrArn[?options] (Camel 2.18 onwards)
@@ -1040,11 +1042,11 @@ template.send(&quot;direct:alias-verify&
 ]]></script>
 </div></div><p></p><h3 id="BookComponentAppendix-SeeAlso.8">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><ul><li><a 
shape="rect" href="crypto.html">Crypto</a> Crypto is also available as a <a 
shape="rect" href="data-format.html">Data Format</a></li></ul> <h2 
id="BookComponentAppendix-CXFComponent">CXF Component</h2><div 
class="confluence-information-macro confluence-information-macro-note"><span 
class="aui-icon aui-icon-small aui-iconfont-warning 
confluence-information-macro-icon"></span><div 
class="confluence-information-macro-body"><p>When using CXF as a consumer, the 
<a shape="rect" href="cxf-bean-component.html">CXF Bean Component</a> allows 
you to factor out how message payloads are received from their processing as a 
RESTful or SOAP web service. This has the potential of using a multitude of 
transports to cons
 ume web services. The bean component's configuration is also simpler and 
provides the fastest method to implement web services using Camel and 
CXF.</p></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>When using CXF in streaming modes 
(see DataFormat option), then also read about <a shape="rect" 
href="stream-caching.html">Stream caching</a>.</p></div></div><p>The 
<strong>cxf:</strong> component provides integration with <a shape="rect" 
href="http://cxf.apache.org";>Apache CXF</a> for connecting to JAX-WS services 
hosted in CXF.</p><p><style type="text/css">/*<![CDATA[*/
-div.rbtoc1471911463339 {padding: 0px;}
-div.rbtoc1471911463339 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1471911463339 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1472055472697 {padding: 0px;}
+div.rbtoc1472055472697 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1472055472697 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style></p><div class="toc-macro rbtoc1471911463339">
+/*]]>*/</style></p><div class="toc-macro rbtoc1472055472697">
 <ul class="toc-indentation"><li><a shape="rect" 
href="#BookComponentAppendix-CXFComponent">CXF Component</a>
 <ul class="toc-indentation"><li><a shape="rect" 
href="#BookComponentAppendix-URIformat">URI format</a></li><li><a shape="rect" 
href="#BookComponentAppendix-Options">Options</a>
 <ul class="toc-indentation"><li><a shape="rect" 
href="#BookComponentAppendix-Thedescriptionsofthedataformats">The descriptions 
of the dataformats</a>


Reply via email to