You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by bu...@apache.org on 2019/03/31 15:23:09 UTC
svn commit: r1042911 [2/48] - in /websites/production/camel/content: ./
2007/08/17/ 2008/04/08/ 2008/04/28/ 2009/01/19/ 2009/10/26/ 2012/01/17/
2012/03/01/ 2019/03/ 2019/03/31/
Modified: websites/production/camel/content/aws-ddb.html
==============================================================================
--- websites/production/camel/content/aws-ddb.html (original)
+++ websites/production/camel/content/aws-ddb.html Sun Mar 31 15:23:07 2019
@@ -88,7 +88,7 @@
<tbody>
<tr>
<td valign="top" width="100%">
-<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 conf-macro output-block" data-hasbody="true" data-macro-name="info"><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 c
onf-macro output-block" data-hasbody="true" data-macro-name="code" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<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 conf-macro output-block" data-hasbody="true" data-macro-name="info"><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 c
onf-macro output-block" style="border-width: 1px;" data-hasbody="true" data-macro-name="code"><div class="codeContent panelContent pdl">
<pre class="syntaxhighlighter-pre" data-syntaxhighlighter-params="brush: java; gutter: false; theme: Default" data-theme="Default">aws-ddb://tableName[?options]
</pre>
</div></div><p>You can append query options to the URI in the following format: <strong><code>?options=value&option2=value&...</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 conf-macro output-block" data-hasbody="true" data-macro-name="info"><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 <strong><code>amazonDDBClient</code></strong> in the <a shape="rect" href="registry.html">Registry</a> or your <strong><code>accessKey</code></strong> and <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 conf-macro output-block" data-hasbody="true" data-macro-name="div"><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<String, KeysAndAttributes></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<String, AttributeValue></code></strong> and not <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<String, ExpectedAttributeValue></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<String></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<String, AttributeValue><
/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<String, Condition></code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>From Camel 2.16.0</strong>. This header specify the selection criteria fo
r the query, and merge together the two old headers <strong><code>CamelAwsDdbHashKeyValue</code></strong> and <strong><code>CamelAwsDdbScanRangeKeyCondition</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 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<String, Condition></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<String, AttributeValueUpdate></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>
@@ -121,11 +121,11 @@
<h4 id="AWS-DDB-MessageheaderssetduringUpdateItemoperation">Message headers set during UpdateItem operation</h4><div class="confluenceTableSmall conf-macro output-block" data-hasbody="true" data-macro-name="div"><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<String, AttributeValue></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 conf-macro output-block" data-hasbody="true" data-macro-name="code" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<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 conf-macro output-block" style="border-width: 1px;" data-hasbody="true" data-macro-name="code"><div class="codeContent panelContent pdl">
<pre class="syntaxhighlighter-pre" data-syntaxhighlighter-params="brush: java; gutter: false; theme: Default" data-theme="Default">from("direct:start")
.to("aws-ddb://tableName?amazonDDBClient=#client");
</pre>
-</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 conf-macro output-block" data-hasbody="true" data-macro-name="code" 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 conf-macro output-block" style="border-width: 1px;" data-hasbody="true" data-macro-name="code"><div class="codeContent panelContent pdl">
<pre class="syntaxhighlighter-pre" data-syntaxhighlighter-params="brush: java; gutter: false; theme: Default" data-theme="Default">AWSCredentials awsCredentials = new BasicAWSCredentials("myAccessKey", "mySecretKey");
ClientConfiguration clientConfiguration = new ClientConfiguration();
clientConfiguration.setProxyHost("http://myProxyHost");
@@ -135,7 +135,7 @@ AmazonDynamoDB client = new AmazonDynamo
registry.bind("client", client);
</pre>
-</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 conf-macro output-block" data-hasbody="true" data-macro-name="code" 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 conf-macro output-block" style="border-width: 1px;" data-hasbody="true" data-macro-name="code"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;"><b>pom.xml</b></div><div class="codeContent panelContent pdl">
<pre class="syntaxhighlighter-pre" data-syntaxhighlighter-params="brush: java; gutter: false; theme: Default" data-theme="Default"><dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-aws</artifactId>
Modified: websites/production/camel/content/aws-ec2.html
==============================================================================
--- websites/production/camel/content/aws-ec2.html (original)
+++ websites/production/camel/content/aws-ec2.html Sun Mar 31 15:23:07 2019
@@ -88,13 +88,13 @@
<tbody>
<tr>
<td valign="top" width="100%">
-<div class="wiki-content maincontent"><h2 id="AWS-EC2-EC2Component">EC2 Component</h2><p><strong>Available as of Camel 2.16</strong></p><p>The EC2 component supports create, run, start, stop and terminate <a shape="rect" class="external-link" href="https://aws.amazon.com/it/ec2/" rel="nofollow">AWS EC2</a> instances.</p><div class="confluence-information-macro confluence-information-macro-information conf-macro output-block" data-hasbody="true" data-macro-name="info"><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 EC2. More information are available at <a shape="rect" class="external-link" href="https://aws.amazon.com/it/ec2/" rel="nofollow">Amazon EC2</a>.</p></div></div><h3 id="AWS-EC2-URIFormat">URI Format</h3><div class="code panel pdl conf-macro output-blo
ck" data-hasbody="true" data-macro-name="code" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<div class="wiki-content maincontent"><h2 id="AWS-EC2-EC2Component">EC2 Component</h2><p><strong>Available as of Camel 2.16</strong></p><p>The EC2 component supports create, run, start, stop and terminate <a shape="rect" class="external-link" href="https://aws.amazon.com/it/ec2/" rel="nofollow">AWS EC2</a> instances.</p><div class="confluence-information-macro confluence-information-macro-information conf-macro output-block" data-hasbody="true" data-macro-name="info"><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 EC2. More information are available at <a shape="rect" class="external-link" href="https://aws.amazon.com/it/ec2/" rel="nofollow">Amazon EC2</a>.</p></div></div><h3 id="AWS-EC2-URIFormat">URI Format</h3><div class="code panel pdl conf-macro output-blo
ck" style="border-width: 1px;" data-hasbody="true" data-macro-name="code"><div class="codeContent panelContent pdl">
<pre class="syntaxhighlighter-pre" data-syntaxhighlighter-params="brush: java; gutter: false; theme: Default" data-theme="Default">aws-ec2://label[?options]
</pre>
</div></div><p>You can append query options to the URI in the following format: <strong><code>?options=value&option2=value&...</code></strong></p><h3 id="AWS-EC2-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>amazonEc2Client</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>Producer</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Reference to a <strong><code>com.amazonaws.services.ec2.AmazonEC2Client</code></strong> in the <a shape="rect" href="registry.html">Registr
y</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><code>Producer</code></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><code>Producer</code></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>amazonEc2Endpoint</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>Producer</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Th
e region with which the <strong><code>aws-ec2</code></strong> client wants to work with.</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>null</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>Producer</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Valid values are:</p><ul><li><code>createAndRunInstances</code></li><li><code><code>describeInstances</code></code></li><li><code><code>describeInstancesStatus</code></code></li><li><code><code><code>monitorInstances</code></code></code></li><li><code><code>rebootInstances</code></code></li><li><code>startInstances</code></li><li><code>stopInstances</code></li><li><code>terminateInstances</code></li><li><code>unmonitorInstances</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="confluenceT
d"><p><code>null</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><code>Producer</code></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><code>Producer</code></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 conf-macro output-block" data-hasbody="true" data-macro-name="info"><p class="title">Required EC2 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 <strong><code>amazonEc2Client</code></strong> in the <a shape="rect" href="registry.html">Registry</a> or your <strong><code>accessKey</code></strong> and <strong><code>secretKey</code></strong> to access the <a shape="rect" class="external-link" href="https://aws.amazon.com/it/ec2/" rel="nofollow">Amazon EC2</a> service.</p></div></div><h3 id="AWS-EC2-Usage">Usage</h3><h4 id="AWS-EC2-MessageheadersevaluatedbytheEC2producer">Message headers evaluated by the EC2 producer</h4><div class="confluenceTableSmall conf-macro output-block" data-hasbody="true" data-macro-name="div"><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>Ca
melAwsEC2ImageId</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>An image ID of the AWS marketplace.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelAwsEC2InstancesIds</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>Collection</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>A collection of instances IDS to execute start, stop, describe and terminate operations on.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelAwsEC2InstanceEbsOptimized</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>Boolean</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Define if the creating <span style="color: rgb(53,56,51);">instance is optimized for <code>EBS</code> I/O.</span></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelA
wsEC2InstanceType</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>com.amazonaws.services.ec2.model.InstanceType</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The instance type we want to create and run.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelAwsEC2InstanceMaxCount</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><span style="font-family: monospace;">Int</span></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><span>The maximum number of instances we want to run.</span></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelAwsEC2InstanceMinCount</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>Int</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The minimum number of instances we want to run.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelAwsEC2InstanceMonitoring</code></
p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><span style="font-family: monospace;">Boolean</span></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Define if we want the running instances to be monitored.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelAwsEC2InstanceSecurityGroups</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><span style="font-family: monospace;">Collection</span></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The security groups to associate to the instances.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelAwsEC2Operation</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 operation to perform.</p></td></tr></tbody></table></div></div>
-<p><span style="font-size: 16.0px;line-height: 1.5625;">Dependencies</span></p><p>Maven users will need to add the following dependency to their <strong><code>pom.xml</code></strong>.</p><div class="code panel pdl conf-macro output-block" data-hasbody="true" data-macro-name="code" style="border-width: 1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;"><b>pom.xml</b></div><div class="codeContent panelContent pdl">
+<p><span style="font-size: 16.0px;line-height: 1.5625;">Dependencies</span></p><p>Maven users will need to add the following dependency to their <strong><code>pom.xml</code></strong>.</p><div class="code panel pdl conf-macro output-block" style="border-width: 1px;" data-hasbody="true" data-macro-name="code"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;"><b>pom.xml</b></div><div class="codeContent panelContent pdl">
<pre class="syntaxhighlighter-pre" data-syntaxhighlighter-params="brush: java; gutter: false; theme: Default" data-theme="Default"><dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-aws</artifactId>
Modified: websites/production/camel/content/aws-sdb.html
==============================================================================
--- websites/production/camel/content/aws-sdb.html (original)
+++ websites/production/camel/content/aws-sdb.html Sun Mar 31 15:23:07 2019
@@ -88,7 +88,7 @@
<tbody>
<tr>
<td valign="top" width="100%">
-<div class="wiki-content maincontent"><h2 id="AWS-SDB-SDBComponent">SDB Component</h2><p><strong>Available as of Camel 2.8.4</strong></p><p>The sdb component supports storing and retrieving data from/to <a shape="rect" class="external-link" href="http://aws.amazon.com/sdb" rel="nofollow">Amazon's SDB</a> service.</p><div class="confluence-information-macro confluence-information-macro-information conf-macro output-block" data-hasbody="true" data-macro-name="info"><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 SDB. More information are available at <a shape="rect" class="external-link" href="http://aws.amazon.com/sdb" rel="nofollow">Amazon SDB</a>.</p></div></div><h3 id="AWS-SDB-URIFormat">URI Format</h3><div class="code panel pdl conf-macro output-block" data-
hasbody="true" data-macro-name="code" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<div class="wiki-content maincontent"><h2 id="AWS-SDB-SDBComponent">SDB Component</h2><p><strong>Available as of Camel 2.8.4</strong></p><p>The sdb component supports storing and retrieving data from/to <a shape="rect" class="external-link" href="http://aws.amazon.com/sdb" rel="nofollow">Amazon's SDB</a> service.</p><div class="confluence-information-macro confluence-information-macro-information conf-macro output-block" data-hasbody="true" data-macro-name="info"><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 SDB. More information are available at <a shape="rect" class="external-link" href="http://aws.amazon.com/sdb" rel="nofollow">Amazon SDB</a>.</p></div></div><h3 id="AWS-SDB-URIFormat">URI Format</h3><div class="code panel pdl conf-macro output-block" style
="border-width: 1px;" data-hasbody="true" data-macro-name="code"><div class="codeContent panelContent pdl">
<pre class="syntaxhighlighter-pre" data-syntaxhighlighter-params="brush: java; gutter: false; theme: Default" data-theme="Default">aws-sdb://domainName[?options]
</pre>
</div></div><p>You can append query options to the URI in the following format, ?options=value&option2=value&...</p><h3 id="AWS-SDB-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>amazonSDBClient</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.simpledb.AmazonSimpleDB</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>amazonSdbEndpoint</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-SDB client wants to work with.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>domainName</p></td><td c
olspan="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 domain currently worked with.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>maxNumberOfDomains</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>100</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Producer</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The maximum number of domain names you want returned. The range is 1 * to 100.</p></td></tr><tr><td colspan="1" rowspan="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 BatchDeleteAttributes, BatchPutAttributes, DeleteAttributes, DeleteDomain, DomainMetadata, GetAttributes, ListDomains, PutAttributes, Select.</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 colspa
n="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 conf-macro output-block" data-hasbody="true" data-macro-name="info"><p class="title">Required SDB 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 amazonSDBClient in the <a shape="rect" href="registry.html">Registry</a> or your accessKey and secretKey to access the <a shape="rect" class="external-link" href="http://aws.amazon.com/sdb" rel="nofollow">Amazon's SDB</a>.</p></div></div><h3 id="AWS-SDB-Usage">Usage</h3><h4 id="AWS-SDB-MessageheadersevaluatedbytheSDBproducer">Message headers evaluated by the SDB producer</h4><div clas
s="confluenceTableSmall conf-macro output-block" data-hasbody="true" data-macro-name="div"><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>CamelAwsSdbAttributes</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>Collection<Attribute></code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>List of attributes to be acted upon.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelAwsSdbAttributeNames</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>Collection<String></code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The names of the attributes to be retrieved.</p></td></tr><tr><td colspan="1
" rowspan="1" class="confluenceTd"><p><code>CamelAwsSdbConsistentRead</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>Boolean</code></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>CamelAwsSdbDeletableItems</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>Collection<DeletableItem></code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>A list of items on which to perform the delete operation in a batch.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelAwsSdbDomainName</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 name of the domain currently worked with.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd
"><p><code>CamelAwsSdbItemName</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 unique key for this item</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelAwsSdbMaxNumberOfDomains</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 domain names you want returned. The range is 1 * to 100.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelAwsSdbNextToken</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>A string specifying where to start the next list of domain/item names.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelAwsSdbOperation</code></p></td><td colspan="1" rowspan="1" class
="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>To override the operation from the URI options.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelAwsSdbReplaceableAttributes</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>Collection<ReplaceableAttribute></code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>List of attributes to put in an Item.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelAwsSdbReplaceableItems</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>Collection<ReplaceableItem></code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>A list of items to put in a Domain.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelAwsSdbSelectExpression</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 expression used to query the domain.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelAwsSdbUpdateCondition</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>UpdateCondition</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The update condition which, if specified, determines whether the specified attributes will be updated/deleted or not.</p></td></tr></tbody></table></div></div>
@@ -106,11 +106,11 @@
<h4 id="AWS-SDB-MessageheaderssetduringSelectoperation">Message headers set during Select operation</h4><div class="confluenceTableSmall conf-macro output-block" data-hasbody="true" data-macro-name="div"><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>CamelAwsSdbItems</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>List<Item></code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>A list of items that match the select expression.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelAwsSdbNextToken</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="conflu
enceTd"><p>An opaque token indicating that more items than MaxNumberOfItems were matched, the response size exceeded 1 megabyte, or the execution time exceeded 5 seconds.</p></td></tr></tbody></table></div></div>
-<h4 id="AWS-SDB-AdvancedAmazonSimpleDBconfiguration">Advanced AmazonSimpleDB configuration</h4><p>If you need more control over the <code>AmazonSimpleDB</code> instance configuration you can create your own instance and refer to it from the URI:</p><div class="code panel pdl conf-macro output-block" data-hasbody="true" data-macro-name="code" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<h4 id="AWS-SDB-AdvancedAmazonSimpleDBconfiguration">Advanced AmazonSimpleDB configuration</h4><p>If you need more control over the <code>AmazonSimpleDB</code> instance configuration you can create your own instance and refer to it from the URI:</p><div class="code panel pdl conf-macro output-block" style="border-width: 1px;" data-hasbody="true" data-macro-name="code"><div class="codeContent panelContent pdl">
<pre class="syntaxhighlighter-pre" data-syntaxhighlighter-params="brush: java; gutter: false; theme: Default" data-theme="Default">from("direct:start")
.to("aws-sdb://domainName?amazonSDBClient=#client");
</pre>
-</div></div><p>The <code>#client</code> refers to a <code>AmazonSimpleDB</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 conf-macro output-block" data-hasbody="true" data-macro-name="code" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><p>The <code>#client</code> refers to a <code>AmazonSimpleDB</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 conf-macro output-block" style="border-width: 1px;" data-hasbody="true" data-macro-name="code"><div class="codeContent panelContent pdl">
<pre class="syntaxhighlighter-pre" data-syntaxhighlighter-params="brush: java; gutter: false; theme: Default" data-theme="Default">AWSCredentials awsCredentials = new BasicAWSCredentials("myAccessKey", "mySecretKey");
ClientConfiguration clientConfiguration = new ClientConfiguration();
clientConfiguration.setProxyHost("http://myProxyHost");
@@ -120,7 +120,7 @@ AmazonSimpleDB client = new AmazonSimple
registry.bind("client", client);
</pre>
-</div></div><h3 id="AWS-SDB-Dependencies">Dependencies</h3><p>Maven users will need to add the following dependency to their pom.xml.</p><div class="code panel pdl conf-macro output-block" data-hasbody="true" data-macro-name="code" 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-SDB-Dependencies">Dependencies</h3><p>Maven users will need to add the following dependency to their pom.xml.</p><div class="code panel pdl conf-macro output-block" style="border-width: 1px;" data-hasbody="true" data-macro-name="code"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;"><b>pom.xml</b></div><div class="codeContent panelContent pdl">
<pre class="syntaxhighlighter-pre" data-syntaxhighlighter-params="brush: java; gutter: false; theme: Default" data-theme="Default"><dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-aws</artifactId>
Modified: websites/production/camel/content/aws-sns.html
==============================================================================
--- websites/production/camel/content/aws-sns.html (original)
+++ websites/production/camel/content/aws-sns.html Sun Mar 31 15:23:07 2019
@@ -88,7 +88,7 @@
<tbody>
<tr>
<td valign="top" width="100%">
-<div class="wiki-content maincontent"><h2 id="AWS-SNS-SNSComponent">SNS Component</h2><p><strong>Available as of Camel 2.8</strong></p><p>The SNS component allows messages to be sent to an <a shape="rect" class="external-link" href="http://aws.amazon.com/sns" rel="nofollow">Amazon Simple Notification</a> Topic. The implementation of the Amazon API is provided by the <a shape="rect" class="external-link" href="http://aws.amazon.com/sdkforjava/" rel="nofollow">AWS SDK</a>.</p><div class="confluence-information-macro confluence-information-macro-information conf-macro output-block" data-hasbody="true" data-macro-name="info"><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 SNS. More information are available at <a shape="rect" class="external-link" href="http:/
/aws.amazon.com/sns" rel="nofollow">Amazon SNS</a>.</p></div></div><h3 id="AWS-SNS-URIFormat">URI Format</h3><div class="code panel pdl conf-macro output-block" data-hasbody="true" data-macro-name="code" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<div class="wiki-content maincontent"><h2 id="AWS-SNS-SNSComponent">SNS Component</h2><p><strong>Available as of Camel 2.8</strong></p><p>The SNS component allows messages to be sent to an <a shape="rect" class="external-link" href="http://aws.amazon.com/sns" rel="nofollow">Amazon Simple Notification</a> Topic. The implementation of the Amazon API is provided by the <a shape="rect" class="external-link" href="http://aws.amazon.com/sdkforjava/" rel="nofollow">AWS SDK</a>.</p><div class="confluence-information-macro confluence-information-macro-information conf-macro output-block" data-hasbody="true" data-macro-name="info"><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 SNS. More information are available at <a shape="rect" class="external-link" href="http:/
/aws.amazon.com/sns" rel="nofollow">Amazon SNS</a>.</p></div></div><h3 id="AWS-SNS-URIFormat">URI Format</h3><div class="code panel pdl conf-macro output-block" style="border-width: 1px;" data-hasbody="true" data-macro-name="code"><div class="codeContent panelContent pdl">
<pre class="syntaxhighlighter-pre" data-syntaxhighlighter-params="brush: java; gutter: false; theme: Default" data-theme="Default">aws-sns://topicName[?options]
aws-sns://topicNameOrArn[?options] (Camel 2.18 onwards)</pre>
</div></div><p>The topic will be created if it doesn't already exists. You can append query options to the URI in the following format, <strong><code>?options=value&option2=value&...</code></strong></p><h3 id="AWS-SNS-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>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>amazonSNS
Client</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.sns.AmazonSNS</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>amazonSNSEndpoint</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-SNS client wants to work with.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>policy</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.8.4</strong>: The policy for this queue to set in the <strong><code>com.amazonaws.services.sns.model.SetTopicAttributesRequest</code></strong>.</p></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><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>subject</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 subject which is used if the message header <strong><code>CamelAwsSnsSubject</code></strong> is not present.</p></td></tr></tbody></table></div><div class="confluence-information-macro confluence-information-macro-information conf-macro output-block" data-hasbody="true" data-macro-name="info"><p class="title">Required SNS component options</p><span class="aui-icon aui-icon-small aui-iconfont-inf
o confluence-information-macro-icon"> </span><div class="confluence-information-macro-body"><p>You have to provide the <strong><code>amazonSNSClient</code></strong> in the <a shape="rect" href="registry.html">Registry</a> or your <strong><code>accessKey</code></strong> and <strong><code>secretKey</code></strong> to access the <a shape="rect" class="external-link" href="http://aws.amazon.com/sns" rel="nofollow">Amazon's SNS</a>.</p></div></div><h3 id="AWS-SNS-Usage">Usage</h3><h4 id="AWS-SNS-MessageheadersevaluatedbytheSNSproducer">Message headers evaluated by the SNS producer</h4><div class="confluenceTableSmall conf-macro output-block" data-hasbody="true" data-macro-name="div"><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>CamelAwsSnsSubject</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 Amazon SNS message subject. If not set, the subject from the <strong><code>SnsConfiguration</code></strong> is used.</p></td></tr></tbody></table></div></div>
@@ -97,11 +97,11 @@ aws-sns://topicNameOrArn[?options] (Came
<h4 id="AWS-SNS-MessageheaderssetbytheSNSproducer">Message headers set by the SNS producer</h4><div class="confluenceTableSmall conf-macro output-block" data-hasbody="true" data-macro-name="div"><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>CamelAwsSnsMessageId</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 Amazon SNS message ID.</p></td></tr></tbody></table></div></div>
-<h4 id="AWS-SNS-AdvancedAmazonSNSconfiguration">Advanced AmazonSNS configuration</h4><p>If you need more control over the <strong><code>AmazonSNS</code></strong> instance configuration you can create your own instance and refer to it from the URI:</p><div class="code panel pdl conf-macro output-block" data-hasbody="true" data-macro-name="code" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<h4 id="AWS-SNS-AdvancedAmazonSNSconfiguration">Advanced AmazonSNS configuration</h4><p>If you need more control over the <strong><code>AmazonSNS</code></strong> instance configuration you can create your own instance and refer to it from the URI:</p><div class="code panel pdl conf-macro output-block" style="border-width: 1px;" data-hasbody="true" data-macro-name="code"><div class="codeContent panelContent pdl">
<pre class="syntaxhighlighter-pre" data-syntaxhighlighter-params="brush: java; gutter: false; theme: Default" data-theme="Default">from("direct:start")
.to("aws-sns://MyTopic?amazonSNSClient=#client");
</pre>
-</div></div><p>The <code>client</code> refers to a <strong><code>AmazonSNS</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 conf-macro output-block" data-hasbody="true" data-macro-name="code" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><p>The <code>client</code> refers to a <strong><code>AmazonSNS</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 conf-macro output-block" style="border-width: 1px;" data-hasbody="true" data-macro-name="code"><div class="codeContent panelContent pdl">
<pre class="syntaxhighlighter-pre" data-syntaxhighlighter-params="brush: java; gutter: false; theme: Default" data-theme="Default">AWSCredentials awsCredentials = new BasicAWSCredentials("myAccessKey", "mySecretKey");
ClientConfiguration clientConfiguration = new ClientConfiguration();
clientConfiguration.setProxyHost("http://myProxyHost");
@@ -110,7 +110,7 @@ AmazonSNS client = new AmazonSNSClient(a
registry.bind("client", client);
</pre>
-</div></div><h3 id="AWS-SNS-Dependencies">Dependencies</h3><p>Maven users will need to add the following dependency to their pom.xml.</p><div class="code panel pdl conf-macro output-block" data-hasbody="true" data-macro-name="code" 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-SNS-Dependencies">Dependencies</h3><p>Maven users will need to add the following dependency to their pom.xml.</p><div class="code panel pdl conf-macro output-block" style="border-width: 1px;" data-hasbody="true" data-macro-name="code"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;"><b>pom.xml</b></div><div class="codeContent panelContent pdl">
<pre class="syntaxhighlighter-pre" data-syntaxhighlighter-params="brush: java; gutter: false; theme: Default" data-theme="Default"><dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-aws</artifactId>
Modified: websites/production/camel/content/barcode-data-format.html
==============================================================================
--- websites/production/camel/content/barcode-data-format.html (original)
+++ websites/production/camel/content/barcode-data-format.html Sun Mar 31 15:23:07 2019
@@ -87,29 +87,29 @@
<tbody>
<tr>
<td valign="top" width="100%">
-<div class="wiki-content maincontent"><p><strong>Available as of Camel 2.14</strong></p><p>The barcode data format is based on the <a shape="rect" class="external-link" href="https://github.com/zxing/zxing" rel="nofollow">zxing library</a>. The goal of this component is to create a barcode image from a String (marshal) and a String from a barcode image (unmarshal). You're free to use all features that zxing offers.</p><h3 id="BarcodeDataFormat-Dependencies">Dependencies</h3><p>To use the barcode data format in your camel routes you need to add the a dependency on <strong>camel-barcode</strong> which implements this data format.</p><p>If you use maven you could just add the following to your pom.xml, substituting the version number for the latest & greatest release (see <a shape="rect" href="download.html">the download page for the latest versions</a>).</p><div class="code panel pdl conf-macro output-block" data-hasbody="true" data-macro-name="code" style="border-width: 1px;"><di
v class="codeContent panelContent pdl">
+<div class="wiki-content maincontent"><p><strong>Available as of Camel 2.14</strong></p><p>The barcode data format is based on the <a shape="rect" class="external-link" href="https://github.com/zxing/zxing" rel="nofollow">zxing library</a>. The goal of this component is to create a barcode image from a String (marshal) and a String from a barcode image (unmarshal). You're free to use all features that zxing offers.</p><h3 id="BarcodeDataFormat-Dependencies">Dependencies</h3><p>To use the barcode data format in your camel routes you need to add the a dependency on <strong>camel-barcode</strong> which implements this data format.</p><p>If you use maven you could just add the following to your pom.xml, substituting the version number for the latest & greatest release (see <a shape="rect" href="download.html">the download page for the latest versions</a>).</p><div class="code panel pdl conf-macro output-block" style="border-width: 1px;" data-hasbody="true" data-macro-name="code"><di
v class="codeContent panelContent pdl">
<pre class="syntaxhighlighter-pre" data-syntaxhighlighter-params="brush: java; gutter: false; theme: Default" data-theme="Default"><dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-barcode</artifactId>
<version>x.x.x</version>
</dependency>
</pre>
-</div></div><h3 id="BarcodeDataFormat-UsingtheJavaDSL">Using the Java DSL</h3><p>First you have to initialize the barcode data fomat class. You can use the default constructor, or one of parameterized (see JavaDoc). The default values are:</p><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh">Parameter</th><th colspan="1" rowspan="1" class="confluenceTh">Default Value</th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">image type (BarcodeImageType)</td><td colspan="1" rowspan="1" class="confluenceTd">PNG</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">width</td><td colspan="1" rowspan="1" class="confluenceTd">100 px</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">height</td><td colspan="1" rowspan="1" class="confluenceTd">100 px</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">encoding</td><td colspan="1" rowspan="1" class="confluenceTd">UTF-8</td></tr><tr><td colspan="
1" rowspan="1" class="confluenceTd">barcode format (BarcodeFormat)</td><td colspan="1" rowspan="1" class="confluenceTd">QR-Code</td></tr></tbody></table></div><div class="code panel pdl conf-macro output-block" data-hasbody="true" data-macro-name="code" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><h3 id="BarcodeDataFormat-UsingtheJavaDSL">Using the Java DSL</h3><p>First you have to initialize the barcode data fomat class. You can use the default constructor, or one of parameterized (see JavaDoc). The default values are:</p><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh">Parameter</th><th colspan="1" rowspan="1" class="confluenceTh">Default Value</th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">image type (BarcodeImageType)</td><td colspan="1" rowspan="1" class="confluenceTd">PNG</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">width</td><td colspan="1" rowspan="1" class="confluenceTd">100 px</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">height</td><td colspan="1" rowspan="1" class="confluenceTd">100 px</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">encoding</td><td colspan="1" rowspan="1" class="confluenceTd">UTF-8</td></tr><tr><td colspan="
1" rowspan="1" class="confluenceTd">barcode format (BarcodeFormat)</td><td colspan="1" rowspan="1" class="confluenceTd">QR-Code</td></tr></tbody></table></div><div class="code panel pdl conf-macro output-block" style="border-width: 1px;" data-hasbody="true" data-macro-name="code"><div class="codeContent panelContent pdl">
<pre class="syntaxhighlighter-pre" data-syntaxhighlighter-params="brush: java; gutter: false; theme: Default" data-theme="Default">// QR-Code default
DataFormat code = new BarcodeDataFormat();
</pre>
-</div></div><p>If you want to use zxing hints, you can use the 'addToHintMap' method of your BarcodeDataFormat instance:</p><div class="code panel pdl conf-macro output-block" data-hasbody="true" data-macro-name="code" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><p>If you want to use zxing hints, you can use the 'addToHintMap' method of your BarcodeDataFormat instance:</p><div class="code panel pdl conf-macro output-block" style="border-width: 1px;" data-hasbody="true" data-macro-name="code"><div class="codeContent panelContent pdl">
<pre class="syntaxhighlighter-pre" data-syntaxhighlighter-params="brush: java; gutter: false; theme: Default" data-theme="Default">code.addToHintMap(DecodeHintType.TRY_HARDER, Boolean.true);
</pre>
-</div></div><p>For possible hints, please consult the xzing documentation.</p><h4 id="BarcodeDataFormat-Marshalling">Marshalling</h4><div class="code panel pdl conf-macro output-block" data-hasbody="true" data-macro-name="code" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><p>For possible hints, please consult the xzing documentation.</p><h4 id="BarcodeDataFormat-Marshalling">Marshalling</h4><div class="code panel pdl conf-macro output-block" style="border-width: 1px;" data-hasbody="true" data-macro-name="code"><div class="codeContent panelContent pdl">
<pre class="syntaxhighlighter-pre" data-syntaxhighlighter-params="brush: java; gutter: false; theme: Default" data-theme="Default">from("direct://code")
.marshal(code)
.to("file://barcode_out");
</pre>
-</div></div><p>You can call the route from a test class with:</p><div class="code panel pdl conf-macro output-block" data-hasbody="true" data-macro-name="code" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><p>You can call the route from a test class with:</p><div class="code panel pdl conf-macro output-block" style="border-width: 1px;" data-hasbody="true" data-macro-name="code"><div class="codeContent panelContent pdl">
<pre class="syntaxhighlighter-pre" data-syntaxhighlighter-params="brush: java; gutter: false; theme: Default" data-theme="Default">template.sendBody("direct://code", "This is a testmessage!");
</pre>
-</div></div><p>You should find inside the 'barcode_out' folder this image:</p><p><span class="confluence-embedded-file-wrapper"><img class="confluence-embedded-image" src="barcode-data-format.data/qr-code.png" data-image-src="/confluence/download/attachments/41812862/qr-code.png?version=1&modificationDate=1401301502000&api=v2" data-unresolved-comment-count="0" data-linked-resource-id="42041387" data-linked-resource-version="1" data-linked-resource-type="attachment" data-linked-resource-default-alias="qr-code.png" data-base-url="https://cwiki.apache.org/confluence" data-linked-resource-content-type="image/png" data-linked-resource-container-id="41812862" data-linked-resource-container-version="9"></span></p><h4 id="BarcodeDataFormat-Unmarshalling">Unmarshalling</h4><p>The unmarshaller is generic. For unmarshalling you can use any BarcodeDataFormat instance. If you've two instances, one for (generating) QR-Code and one for PDF417, it doesn't matter which one will be used.</p><
div class="code panel pdl conf-macro output-block" data-hasbody="true" data-macro-name="code" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><p>You should find inside the 'barcode_out' folder this image:</p><p><span class="confluence-embedded-file-wrapper"><img class="confluence-embedded-image" src="barcode-data-format.data/qr-code.png" data-image-src="/confluence/download/attachments/41812862/qr-code.png?version=1&modificationDate=1401301502000&api=v2" data-unresolved-comment-count="0" data-linked-resource-id="42041387" data-linked-resource-version="1" data-linked-resource-type="attachment" data-linked-resource-default-alias="qr-code.png" data-base-url="https://cwiki.apache.org/confluence" data-linked-resource-content-type="image/png" data-linked-resource-container-id="41812862" data-linked-resource-container-version="9"></span></p><h4 id="BarcodeDataFormat-Unmarshalling">Unmarshalling</h4><p>The unmarshaller is generic. For unmarshalling you can use any BarcodeDataFormat instance. If you've two instances, one for (generating) QR-Code and one for PDF417, it doesn't matter which one will be used.</p><
div class="code panel pdl conf-macro output-block" style="border-width: 1px;" data-hasbody="true" data-macro-name="code"><div class="codeContent panelContent pdl">
<pre class="syntaxhighlighter-pre" data-syntaxhighlighter-params="brush: java; gutter: false; theme: Default" data-theme="Default">from("file://barcode_in?noop=true")
.unmarshal(code) // for unmarshalling, the instance doesn't matter
.to("mock:out");