camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r934984 [1/2] - in /websites/production/camel/content: aws-s3.html book-component-appendix.html book-in-one-page.html cache/main.pageCache ldap.html
Date Sun, 04 Jan 2015 08:19:59 GMT
Author: buildbot
Date: Sun Jan  4 08:19:59 2015
New Revision: 934984

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/aws-s3.html
    websites/production/camel/content/book-component-appendix.html
    websites/production/camel/content/book-in-one-page.html
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/ldap.html

Modified: websites/production/camel/content/aws-s3.html
==============================================================================
--- websites/production/camel/content/aws-s3.html (original)
+++ websites/production/camel/content/aws-s3.html Sun Jan  4 08:19:59 2015
@@ -102,7 +102,7 @@
                             <p>You have to provide the amazonS3Client 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/s3" rel="nofollow">Amazon's S3</a>.</p>
                     </div>
     </div>
-<h3 id="AWS-S3-BatchConsumer">Batch Consumer</h3><p>This component implements the <a shape="rect" href="batch-consumer.html">Batch Consumer</a>.</p><p>This allows you for instance to know how many messages exists in this batch and for instance let the <a shape="rect" href="aggregator.html">Aggregator</a> aggregate this number of messages.</p><h3 id="AWS-S3-Usage">Usage</h3><h4 id="AWS-S3-MessageheadersevaluatedbytheS3producer">Message headers evaluated by the S3 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>CamelAwsS3Key</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="co
 nfluenceTd"><p>The key under which this object will be stored.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelAwsS3ContentLength</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 content length of this object.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelAwsS3ContentType</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 content type of this object.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelAwsS3ContentControl</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.8.2:</strong> The content control of this object.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"
 ><p><code>CamelAwsS3ContentDisposition</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.8.2:</strong> The content disposition of this object.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelAwsS3ContentEncoding</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.8.2:</strong> The content encoding of this object.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelAwsS3ContentMD5</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.8.2:</strong> The md5 checksum of this object.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelAwsS3LastModified</code></p></td><td col
 span="1" rowspan="1" class="confluenceTd"><p><code>java.util.Date</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.8.2:</strong> The last modified timestamp of this object.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelAwsS3StorageClass</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.8.4:</strong> The storage class of this object.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelAwsS3CannedAcl</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.11.0:</strong> The canned acl that will be applied to the object. see <code>com.amazonaws.services.s3.model.CannedAccessControlList</code> for allowed values.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd
 "><p><code>CamelAwsS3Acl</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>com.amazonaws.services.s3.model.AccessControlList</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.11.0:</strong> a well constructed Amazon S3 Access Control List object. see <code>com.amazonaws.services.s3.model.AccessControlList</code> for more details</p></td></tr></tbody></table></div></div><h4 id="AWS-S3-MessageheaderssetbytheS3producer">Message headers set by the S3 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>CamelAwsS3ETag</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 ETag value for the newly uploaded object.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelAwsS3VersionId</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 <strong>optional</strong> version ID of the newly uploaded object.</p></td></tr></tbody></table></div></div><h4 id="AWS-S3-MessageheaderssetbytheS3consumer">Message headers set by the S3 consumer</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>CamelAwsS3Key</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 key under which this object is stored.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelAwsS3BucketName</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 bucket in which this object is contained.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelAwsS3ETag</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 hex encoded 128-bit MD5 digest of the associated object according to RFC 1864. This data is used as an integrity check to verify that the data received by the caller is the same data that was sent by Amazon S3.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelAwsS3LastModified</code></p></td><td c
 olspan="1" rowspan="1" class="confluenceTd"><p><code>Date</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The value of the Last-Modified header, indicating the date and time at which Amazon S3 last recorded a modification to the associated object.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelAwsS3VersionId</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 version ID of the associated Amazon S3 object if available. Version IDs are only assigned to objects when an object is uploaded to an Amazon S3 bucket that has object versioning enabled.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelAwsS3ContentType</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 Content-Type HTTP header, which indicates the typ
 e of content stored in the associated object. The value of this header is a standard MIME type.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelAwsS3ContentMD5</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 base64 encoded 128-bit MD5 digest of the associated object (content - not including headers) according to RFC 1864. This data is used as a message integrity check to verify that the data received by Amazon S3 is the same data that the caller sent.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelAwsS3ContentLength</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 Content-Length HTTP header indicating the size of the associated object in bytes.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>C
 amelAwsS3ContentEncoding</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 <strong>optional</strong> Content-Encoding HTTP header specifying what content encodings have been applied to the object and what decoding mechanisms must be applied in order to obtain the media-type referenced by the Content-Type field.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelAwsS3ContentDisposition</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 <strong>optional</strong> Content-Disposition HTTP header, which specifies presentational information such as the recommended filename for the object to be saved as.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelAwsS3ContentControl</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 <strong>optional</strong> Cache-Control HTTP header which allows the user to specify caching behavior along the HTTP request/reply chain.</p></td></tr></tbody></table></div></div><h4 id="AWS-S3-AdvancedAmazonS3configuration">Advanced AmazonS3 configuration</h4><p>If your Camel Application is running behind a firewall or if you need to have more control over the <code>AmazonS3</code> instance configuration, you can create your own instance:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<h3 id="AWS-S3-BatchConsumer">Batch Consumer</h3><p>This component implements the <a shape="rect" href="batch-consumer.html">Batch Consumer</a>.</p><p>This allows you for instance to know how many messages exists in this batch and for instance let the <a shape="rect" href="aggregator.html">Aggregator</a> aggregate this number of messages.</p><h3 id="AWS-S3-Usage">Usage</h3><h4 id="AWS-S3-MessageheadersevaluatedbytheS3producer">Message headers evaluated by the S3 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>CamelAwsS3Key</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="co
 nfluenceTd"><p>The key under which this object will be stored.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelAwsS3ContentLength</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 content length of this object.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelAwsS3ContentType</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 content type of this object.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelAwsS3ContentControl</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.8.2:</strong> The content control of this object.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"
 ><p><code>CamelAwsS3ContentDisposition</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.8.2:</strong> The content disposition of this object.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelAwsS3ContentEncoding</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.8.2:</strong> The content encoding of this object.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelAwsS3ContentMD5</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.8.2:</strong> The md5 checksum of this object.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelAwsS3LastModified</code></p></td><td col
 span="1" rowspan="1" class="confluenceTd"><p><code>java.util.Date</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.8.2:</strong> The last modified timestamp of this object.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelAwsS3StorageClass</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.8.4:</strong> The storage class of this object.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelAwsS3CannedAcl</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.11.0:</strong> The canned acl that will be applied to the object. see <code>com.amazonaws.services.s3.model.CannedAccessControlList</code> for allowed values.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd
 "><p><code>CamelAwsS3Acl</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>com.amazonaws.services.s3.model.AccessControlList</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.11.0:</strong> a well constructed Amazon S3 Access Control List object. see <code>com.amazonaws.services.s3.model.AccessControlList</code> for more details</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><code>CamelAwsS3Headers</code></td><td colspan="1" rowspan="1" class="confluenceTd"><code>Map&lt;String,String&gt;</code></td><td colspan="1" rowspan="1" class="confluenceTd"><strong>Camel 2.15.0</strong>: support to get or set custom <span>objectMetadata headers.</span></td></tr></tbody></table></div></div><h4 id="AWS-S3-MessageheaderssetbytheS3producer">Message headers set by the S3 producer</h4><div class="confluenceTableSmall"><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluen
 ceTh"><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>CamelAwsS3ETag</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 ETag value for the newly uploaded object.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelAwsS3VersionId</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 <strong>optional</strong> version ID of the newly uploaded object.</p></td></tr></tbody></table></div></div><h4 id="AWS-S3-MessageheaderssetbytheS3consumer">Message headers set by the S3 consumer</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>CamelAwsS3Key</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 key under which this object is stored.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelAwsS3BucketName</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 bucket in which this object is contained.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelAwsS3ETag</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 hex encoded 128-bit MD5 digest of the associated object according to RFC 1864. This data is used as an integrity check to verify that the data received by the caller is the same data that was sent by Amazon S3.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelAwsS3LastModified</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>Date</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The value of the Last-Modified header, indicating the date and time at which Amazon S3 last recorded a modification to the associated object.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelAwsS3VersionId</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 version ID of the associated Amazon S3 object if available. Version IDs are only assigned to objects when an object is uploaded to an Amazon S3 bucket
  that has object versioning enabled.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelAwsS3ContentType</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 Content-Type HTTP header, which indicates the type of content stored in the associated object. The value of this header is a standard MIME type.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelAwsS3ContentMD5</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 base64 encoded 128-bit MD5 digest of the associated object (content - not including headers) according to RFC 1864. This data is used as a message integrity check to verify that the data received by Amazon S3 is the same data that the caller sent.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><co
 de>CamelAwsS3ContentLength</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 Content-Length HTTP header indicating the size of the associated object in bytes.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelAwsS3ContentEncoding</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 <strong>optional</strong> Content-Encoding HTTP header specifying what content encodings have been applied to the object and what decoding mechanisms must be applied in order to obtain the media-type referenced by the Content-Type field.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelAwsS3ContentDisposition</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 <strong>optional</strong> Content-Disposition HTTP header, which specifies presentational information such as the recommended filename for the object to be saved as.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelAwsS3ContentControl</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 <strong>optional</strong> Cache-Control HTTP header which allows the user to specify caching behavior along the HTTP request/reply chain.</p></td></tr></tbody></table></div></div><h4 id="AWS-S3-AdvancedAmazonS3configuration">Advanced AmazonS3 configuration</h4><p>If your Camel Application is running behind a firewall or if you need to have more control over the <code>AmazonS3</code> instance configuration, you can create your own instance:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[AWSCredentials awsCredentials = new BasicAWSCredentials(&quot;myAccessKey&quot;, &quot;mySecretKey&quot;);
 
 ClientConfiguration clientConfiguration = new ClientConfiguration();

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 Sun Jan  4 08:19:59 2015
@@ -1415,11 +1415,11 @@ template.send(&quot;direct:alias-verify&
                     </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.rbtoc1420186651505 {padding: 0px;}
-div.rbtoc1420186651505 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1420186651505 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1420359518437 {padding: 0px;}
+div.rbtoc1420359518437 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1420359518437 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style></p><div class="toc-macro rbtoc1420186651505">
+/*]]>*/</style></p><div class="toc-macro rbtoc1420359518437">
 <ul class="toc-indentation"><li><a shape="rect" href="#CXF-CXFComponent">CXF Component</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#CXF-URIformat">URI format</a></li><li><a shape="rect" href="#CXF-Options">Options</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#CXF-Thedescriptionsofthedataformats">The descriptions of the dataformats</a>
@@ -7127,50 +7127,19 @@ from(&quot;direct:start&quot;)
 ]]></script>
 </div></div><p></p><h3 id="BookComponentAppendix-SeeAlso.36">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="languages.html">Languages</a></li><li><a shape="rect" href="routing-slip.html">Routing Slip</a></li><li><a shape="rect" href="dynamic-router.html">Dynamic Router</a></li></ul>
-<h2 id="BookComponentAppendix-LDAPComponent">LDAP Component</h2>
-
-<p>The <strong>ldap</strong> component allows you to perform searches in LDAP servers using filters as the message payload.<br clear="none">
-This component uses standard JNDI (<code>javax.naming</code> package) to access the server. </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">
-<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
-&lt;dependency&gt;
+<h2 id="BookComponentAppendix-LDAPComponent">LDAP Component</h2><p>The <strong>ldap</strong> component allows you to perform searches in LDAP servers using filters as the message payload.<br clear="none"> This component uses standard JNDI (<code>javax.naming</code> package) to access the server.</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">
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[&lt;dependency&gt;
     &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
     &lt;artifactId&gt;camel-ldap&lt;/artifactId&gt;
     &lt;version&gt;x.x.x&lt;/version&gt;
     &lt;!-- use the same version as your Camel core version --&gt;
 &lt;/dependency&gt;
 ]]></script>
-</div></div>
-
-<h3 id="BookComponentAppendix-URIformat.39">URI format</h3>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
-ldap:ldapServerBean[?options]
+</div></div><h3 id="BookComponentAppendix-URIformat.39">URI format</h3><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[ldap:ldapServerBean[?options]
 ]]></script>
-</div></div>
-
-<p>The <em>ldapServerBean</em> portion of the URI refers to a <a shape="rect" class="external-link" href="http://java.sun.com/j2se/1.4.2/docs/api/javax/naming/directory/DirContext.html" rel="nofollow">DirContext</a> bean in the registry. The LDAP component only supports producer endpoints, which means that an <code>ldap</code> URI cannot appear in the <code>from</code> at the start of a route.</p>
-
-<p>You can append query options to the URI in the following format, <code>?option=value&amp;option=value&amp;...</code></p>
-
-<h3 id="BookComponentAppendix-Options.30">Options</h3>
-<div class="confluenceTableSmall">
-<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> Description </p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>base</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>ou=system</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The base DN for searches. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>scope</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>subtree</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Specifies how deeply to search the tree of entries, starting at the base DN.  Value can be <code>object</code>, <code>onelevel</code>, or <code>subtree</code>. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"
 ><p>pageSize </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>	no paging used </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel 2.6:</strong> When specified the ldap module uses paging to retrieve all results (most LDAP Servers throw an exception when trying to retrieve more than 1000 entries in one query). To be able to use this a LdapContext (subclass of DirContext) has to be passed in as ldapServerBean (otherwise an exception is thrown)   </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>returnedAttributes</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> depends on LDAP Server (could be all or none) </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel 2.6:</strong> Comma-separated list of attributes that should be set in each entry of the result </p></td></tr></tbody></table></div>
-</div>
-
-<h3 id="BookComponentAppendix-Result.1">Result</h3>
-<p>The result is returned in the Out body as a <code>ArrayList&lt;javax.naming.directory.SearchResult&gt;</code> object. </p>
-
-<h3 id="BookComponentAppendix-DirContext">DirContext</h3>
-
-<p>The URI, <code>ldap:ldapserver</code>, references a Spring bean with the ID, <code>ldapserver</code>. The <code>ldapserver</code> bean may be defined as follows:</p>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
-&lt;bean id=&quot;ldapserver&quot; class=&quot;javax.naming.directory.InitialDirContext&quot; scope=&quot;prototype&quot;&gt;
+</div></div><p>The <em>ldapServerBean</em> portion of the URI refers to a <a shape="rect" class="external-link" href="http://java.sun.com/j2se/1.4.2/docs/api/javax/naming/directory/DirContext.html" rel="nofollow">DirContext</a> bean in the registry. The LDAP component only supports producer endpoints, which means that an <code>ldap</code> URI cannot appear in the <code>from</code> at the start of a route.</p><p>You can append query options to the URI in the following format, <code>?option=value&amp;option=value&amp;...</code></p><h3 id="BookComponentAppendix-Options.30">Options</h3><div class="confluenceTableSmall"><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>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>base</code></p></td><td colspa
 n="1" rowspan="1" class="confluenceTd"><p><code>ou=system</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The base DN for searches.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>scope</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>subtree</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Specifies how deeply to search the tree of entries, starting at the base DN. Value can be <code>object</code>, <code>onelevel</code>, or <code>subtree</code>.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>pageSize</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>no paging used</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.6:</strong> When specified the ldap module uses paging to retrieve all results (most LDAP Servers throw an exception when trying to retrieve more than 1000 entries in one query). To be able to use this a LdapContext (subclass of 
 DirContext) has to be passed in as ldapServerBean (otherwise an exception is thrown)</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>returnedAttributes</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>depends on LDAP Server (could be all or none)</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.6:</strong> Comma-separated list of attributes that should be set in each entry of the result</p></td></tr></tbody></table></div></div><h3 id="BookComponentAppendix-Result.1">Result</h3><p>The result is returned in the Out body as a <code>ArrayList&lt;javax.naming.directory.SearchResult&gt;</code> object.</p><h3 id="BookComponentAppendix-DirContext">DirContext</h3><p>The URI, <code>ldap:ldapserver</code>, references a Spring bean with the ID, <code>ldapserver</code>. The <code>ldapserver</code> bean may be defined as follows:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[&lt;bean id=&quot;ldapserver&quot; class=&quot;javax.naming.directory.InitialDirContext&quot; scope=&quot;prototype&quot;&gt;
   &lt;constructor-arg&gt;
     &lt;props&gt;
       &lt;prop key=&quot;java.naming.factory.initial&quot;&gt;com.sun.jndi.ldap.LdapCtxFactory&lt;/prop&gt;
@@ -7180,26 +7149,14 @@ ldap:ldapServerBean[?options]
   &lt;/constructor-arg&gt;
 &lt;/bean&gt;
 ]]></script>
-</div></div>
-
-<p>The preceding example declares a regular Sun based LDAP <code>DirContext</code> that connects anonymously to a locally hosted LDAP server.</p>
-
-    <div class="aui-message warning shadowed information-macro">
+</div></div><p>The preceding example declares a regular Sun based LDAP <code>DirContext</code> that connects anonymously to a locally hosted LDAP server.</p>    <div class="aui-message warning shadowed information-macro">
                             <span class="aui-icon icon-warning">Icon</span>
                 <div class="message-content">
-                            
-<p><code>DirContext</code> objects are <strong>not</strong> required to support concurrency by contract. It is therefore important that the directory context is declared with the setting, <code>scope="prototype"</code>, in the <code>bean</code> definition or that the context supports concurrency. In the Spring framework, <code>prototype</code> scoped objects are instantiated each time they are looked up.</p>
+                            <p><code>DirContext</code> objects are <strong>not</strong> required to support concurrency by contract. It is therefore important that the directory context is declared with the setting, <code>scope="prototype"</code>, in the <code>bean</code> definition or that the context supports concurrency. In the Spring framework, <code>prototype</code> scoped objects are instantiated each time they are looked up.</p>
                     </div>
     </div>
-
-
-<h3 id="BookComponentAppendix-Samples.8">Samples</h3>
-
-<p>Following on from the Spring configuration above, the code sample below sends an LDAP request to filter search a group for a member. The Common Name is then extracted from the response.</p>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
-ProducerTemplate&lt;Exchange&gt; template = exchange
+<h3 id="BookComponentAppendix-Samples.8">Samples</h3><p>Following on from the Spring configuration above, the code sample below sends an LDAP request to filter search a group for a member. The Common Name is then extracted from the response.</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[ProducerTemplate&lt;Exchange&gt; template = exchange
   .getContext().createProducerTemplate();
 
 Collection&lt;?&gt; results = (Collection&lt;?&gt;) (template
@@ -7220,22 +7177,11 @@ if (results.size() &gt; 0) {
 
   ...
 ]]></script>
-</div></div>
-
-<p>If no specific filter is required - for example, you just need to look up a single entry - specify a wildcard filter expression. For example, if the LDAP entry has a Common Name, use a filter expression like:</p>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
-(cn=*)
+</div></div><p>If no specific filter is required - for example, you just need to look up a single entry - specify a wildcard filter expression. For example, if the LDAP entry has a Common Name, use a filter expression like:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[(cn=*)
 ]]></script>
-</div></div>
-
-<h4 id="BookComponentAppendix-Bindingusingcredentials">Binding using credentials</h4>
-
-<p>A Camel end user donated this sample code he used to bind to the ldap server using credentials.</p>
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
-Properties props = new Properties();
+</div></div><h4 id="BookComponentAppendix-Bindingusingcredentials">Binding using credentials</h4><p>A Camel end user donated this sample code he used to bind to the ldap server using credentials.</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[Properties props = new Properties();
 props.setProperty(Context.INITIAL_CONTEXT_FACTORY, &quot;com.sun.jndi.ldap.LdapCtxFactory&quot;);
 props.setProperty(Context.PROVIDER_URL, &quot;ldap://localhost:389&quot;);
 props.setProperty(Context.URL_PKG_PREFIXES, &quot;com.sun.jndi.url&quot;);
@@ -7272,9 +7218,131 @@ System.out.println(out.getOut().getBody(
 
 context.stop();
 ]]></script>
-</div></div>
+</div></div><h3 id="BookComponentAppendix-ConfiguringSSL">Configuring SSL</h3><p>All required is to create a custom socket factory and reference it in the InitialDirContext bean - see below sample.</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;"><b>SSL Configuration</b></div><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
+&lt;blueprint xmlns=&quot;http://www.osgi.org/xmlns/blueprint/v1.0.0&quot;
+           xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
+           xsi:schemaLocation=&quot;http://www.osgi.org/xmlns/blueprint/v1.0.0 http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd
+                 http://camel.apache.org/schema/blueprint http://camel.apache.org/schema/blueprint/camel-blueprint.xsd&quot;&gt;
+
+
+    &lt;sslContextParameters xmlns=&quot;http://camel.apache.org/schema/blueprint&quot;
+                          id=&quot;sslContextParameters&quot;&gt;
+        &lt;keyManagers
+                keyPassword=&quot;{{keystore.pwd}}&quot;&gt;
+            &lt;keyStore
+                    resource=&quot;{{keystore.url}}&quot;
+                    password=&quot;{{keystore.pwd}}&quot;/&gt;
+        &lt;/keyManagers&gt;
+    &lt;/sslContextParameters&gt;
+
+    &lt;bean id=&quot;customSocketFactory&quot; class=&quot;zotix.co.util.CustomSocketFactory&quot;&gt;
+        &lt;argument ref=&quot;sslContextParameters&quot; /&gt;
+    &lt;/bean&gt;
+    &lt;bean id=&quot;ldapserver&quot; class=&quot;javax.naming.directory.InitialDirContext&quot; scope=&quot;prototype&quot;&gt;
+        &lt;argument&gt;
+            &lt;props&gt;
+                &lt;prop key=&quot;java.naming.factory.initial&quot; value=&quot;com.sun.jndi.ldap.LdapCtxFactory&quot;/&gt;
+                &lt;prop key=&quot;java.naming.provider.url&quot; value=&quot;ldaps://lab.zotix.co:636&quot;/&gt;
+                &lt;prop key=&quot;java.naming.security.protocol&quot; value=&quot;ssl&quot;/&gt;
+                &lt;prop key=&quot;java.naming.security.authentication&quot; value=&quot;simple&quot; /&gt;
+                &lt;prop key=&quot;java.naming.security.principal&quot; value=&quot;cn=Manager,dc=example,dc=com&quot;/&gt;
+                &lt;prop key=&quot;java.naming.security.credentials&quot; value=&quot;passw0rd&quot;/&gt;
+                &lt;prop key=&quot;java.naming.ldap.factory.socket&quot;
+                      value=&quot;zotix.co.util.CustomSocketFactory&quot;/&gt;
+            &lt;/props&gt;
+        &lt;/argument&gt;
+    &lt;/bean&gt;
+&lt;/blueprint&gt;]]></script>
+</div></div><div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;"><b>Custom Socket Factory</b></div><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[import org.apache.camel.util.jsse.SSLContextParameters;
+
+import javax.net.SocketFactory;
+import javax.net.ssl.SSLContext;
+import javax.net.ssl.SSLSocketFactory;
+import javax.net.ssl.TrustManagerFactory;
+import java.io.IOException;
+import java.net.InetAddress;
+import java.net.Socket;
+import java.security.KeyStore;
+
+/**
+ * The CustomSocketFactory. Loads the KeyStore and creates an instance of SSLSocketFactory
+ */
+public class CustomSocketFactory extends SSLSocketFactory {
+
+    private static SSLSocketFactory socketFactory;
 
-<h3 id="BookComponentAppendix-SeeAlso.37">See Also</h3>
+    /**
+     * Called by the getDefault() method.
+     */
+    public CustomSocketFactory() {
+
+    }
+
+    /**
+     * Called by Blueprint DI to initialise an instance of SocketFactory
+     *
+     * @param sslContextParameters
+     */
+    public CustomSocketFactory(SSLContextParameters sslContextParameters) {
+        try {
+            KeyStore keyStore = sslContextParameters.getKeyManagers().getKeyStore().createKeyStore();
+            TrustManagerFactory tmf = TrustManagerFactory.getInstance(&quot;SunX509&quot;);
+            tmf.init(keyStore);
+            SSLContext ctx = SSLContext.getInstance(&quot;TLS&quot;);
+            ctx.init(null, tmf.getTrustManagers(), null);
+            socketFactory = ctx.getSocketFactory();
+        } catch (Exception ex) {
+            ex.printStackTrace(System.err);  /* handle exception */
+        }
+    }
+
+    /**
+     * Getter for the SocketFactory
+     *
+     * @return
+     */
+    public static SocketFactory getDefault() {
+        return new CustomSocketFactory();
+    }
+
+    @Override
+    public String[] getDefaultCipherSuites() {
+        return socketFactory.getDefaultCipherSuites();
+    }
+
+    @Override
+    public String[] getSupportedCipherSuites() {
+        return socketFactory.getSupportedCipherSuites();
+    }
+
+    @Override
+    public Socket createSocket(Socket socket, String string, int i, boolean bln) throws IOException {
+        return socketFactory.createSocket(socket, string, i, bln);
+    }
+
+    @Override
+    public Socket createSocket(String string, int i) throws IOException {
+        return socketFactory.createSocket(string, i);
+    }
+
+    @Override
+    public Socket createSocket(String string, int i, InetAddress ia, int i1) throws IOException {
+        return socketFactory.createSocket(string, i, ia, i1);
+    }
+
+    @Override
+    public Socket createSocket(InetAddress ia, int i) throws IOException {
+        return socketFactory.createSocket(ia, i);
+    }
+
+    @Override
+    public Socket createSocket(InetAddress ia, int i, InetAddress ia1, int i1) throws IOException {
+        return socketFactory.createSocket(ia, i, ia1, i1);
+    }
+}]]></script>
+</div></div><p>&#160;</p><p></p><h3 id="BookComponentAppendix-SeeAlso.37">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>
 <h2 id="BookComponentAppendix-LogComponent">Log Component</h2><p>The <strong>log:</strong> component logs message exchanges to the underlying logging mechanism.</p><p>Camel uses <a shape="rect" class="external-link" href="http://www.slf4j.org/" rel="nofollow">sfl4j</a> which allows you to configure logging via, among others:
 </p><ul><li><a shape="rect" class="external-link" href="http://logging.apache.org/log4j/">Log4j</a></li><li><a shape="rect" class="external-link" href="http://logback.qos.ch/" rel="nofollow">Logback</a></li><li><a shape="rect" class="external-link" href="http://java.sun.com/j2se/1.4.2/docs/api/java/util/logging/package-summary.html" rel="nofollow">JDK Util Logging logging</a></li></ul><h3 id="BookComponentAppendix-URIformat.40">URI format</h3><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">

Modified: websites/production/camel/content/book-in-one-page.html
==============================================================================
--- websites/production/camel/content/book-in-one-page.html (original)
+++ websites/production/camel/content/book-in-one-page.html Sun Jan  4 08:19:59 2015
@@ -4126,11 +4126,11 @@ While not actual tutorials you might fin
                     </div>
     </div>
 <h2 id="BookInOnePage-Preface">Preface</h2><p>This tutorial aims to guide the reader through the stages of creating a project which uses Camel to facilitate the routing of messages from a JMS queue to a <a shape="rect" class="external-link" href="http://www.springramework.org" rel="nofollow">Spring</a> service. The route works in a synchronous fashion returning a response to the client.</p><p><style type="text/css">/*<![CDATA[*/
-div.rbtoc1420186662734 {padding: 0px;}
-div.rbtoc1420186662734 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1420186662734 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1420359528541 {padding: 0px;}
+div.rbtoc1420359528541 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1420359528541 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style></p><div class="toc-macro rbtoc1420186662734">
+/*]]>*/</style></p><div class="toc-macro rbtoc1420359528541">
 <ul class="toc-indentation"><li><a shape="rect" href="#Tutorial-JmsRemoting-TutorialonSpringRemotingwithJMS">Tutorial on Spring Remoting with JMS</a></li><li><a shape="rect" href="#Tutorial-JmsRemoting-Preface">Preface</a></li><li><a shape="rect" href="#Tutorial-JmsRemoting-Prerequisites">Prerequisites</a></li><li><a shape="rect" href="#Tutorial-JmsRemoting-Distribution">Distribution</a></li><li><a shape="rect" href="#Tutorial-JmsRemoting-About">About</a></li><li><a shape="rect" href="#Tutorial-JmsRemoting-CreatetheCamelProject">Create the Camel Project</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#Tutorial-JmsRemoting-UpdatethePOMwithDependencies">Update the POM with Dependencies</a></li></ul>
 </li><li><a shape="rect" href="#Tutorial-JmsRemoting-WritingtheServer">Writing the Server</a>
@@ -6316,11 +6316,11 @@ So we completed the last piece in the pi
 
 
 <style type="text/css">/*<![CDATA[*/
-div.rbtoc1420186663068 {padding: 0px;}
-div.rbtoc1420186663068 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1420186663068 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1420359528950 {padding: 0px;}
+div.rbtoc1420359528950 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1420359528950 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style><div class="toc-macro rbtoc1420186663068">
+/*]]>*/</style><div class="toc-macro rbtoc1420359528950">
 <ul class="toc-indentation"><li><a shape="rect" href="#Tutorial-AXIS-Camel-TutorialusingAxis1.4withApacheCamel">Tutorial using Axis 1.4 with Apache Camel</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#Tutorial-AXIS-Camel-Prerequisites">Prerequisites</a></li><li><a shape="rect" href="#Tutorial-AXIS-Camel-Distribution">Distribution</a></li><li><a shape="rect" href="#Tutorial-AXIS-Camel-Introduction">Introduction</a></li><li><a shape="rect" href="#Tutorial-AXIS-Camel-SettinguptheprojecttorunAxis">Setting up the project to run Axis</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#Tutorial-AXIS-Camel-Maven2">Maven 2</a></li><li><a shape="rect" href="#Tutorial-AXIS-Camel-wsdl">wsdl</a></li><li><a shape="rect" href="#Tutorial-AXIS-Camel-ConfiguringAxis">Configuring Axis</a></li><li><a shape="rect" href="#Tutorial-AXIS-Camel-RunningtheExample">Running the Example</a></li></ul>
@@ -19229,11 +19229,11 @@ template.send(&quot;direct:alias-verify&
                     </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.rbtoc1420186669569 {padding: 0px;}
-div.rbtoc1420186669569 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1420186669569 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1420359534104 {padding: 0px;}
+div.rbtoc1420359534104 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1420359534104 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style></p><div class="toc-macro rbtoc1420186669569">
+/*]]>*/</style></p><div class="toc-macro rbtoc1420359534104">
 <ul class="toc-indentation"><li><a shape="rect" href="#CXF-CXFComponent">CXF Component</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#CXF-URIformat">URI format</a></li><li><a shape="rect" href="#CXF-Options">Options</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#CXF-Thedescriptionsofthedataformats">The descriptions of the dataformats</a>
@@ -24941,50 +24941,19 @@ from(&quot;direct:start&quot;)
 ]]></script>
 </div></div><p></p><h3 id="BookInOnePage-SeeAlso.56">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="languages.html">Languages</a></li><li><a shape="rect" href="routing-slip.html">Routing Slip</a></li><li><a shape="rect" href="dynamic-router.html">Dynamic Router</a></li></ul>
-<h2 id="BookInOnePage-LDAPComponent">LDAP Component</h2>
-
-<p>The <strong>ldap</strong> component allows you to perform searches in LDAP servers using filters as the message payload.<br clear="none">
-This component uses standard JNDI (<code>javax.naming</code> package) to access the server. </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">
-<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
-&lt;dependency&gt;
+<h2 id="BookInOnePage-LDAPComponent">LDAP Component</h2><p>The <strong>ldap</strong> component allows you to perform searches in LDAP servers using filters as the message payload.<br clear="none"> This component uses standard JNDI (<code>javax.naming</code> package) to access the server.</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">
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[&lt;dependency&gt;
     &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
     &lt;artifactId&gt;camel-ldap&lt;/artifactId&gt;
     &lt;version&gt;x.x.x&lt;/version&gt;
     &lt;!-- use the same version as your Camel core version --&gt;
 &lt;/dependency&gt;
 ]]></script>
-</div></div>
-
-<h3 id="BookInOnePage-URIformat.40">URI format</h3>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
-ldap:ldapServerBean[?options]
+</div></div><h3 id="BookInOnePage-URIformat.40">URI format</h3><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[ldap:ldapServerBean[?options]
 ]]></script>
-</div></div>
-
-<p>The <em>ldapServerBean</em> portion of the URI refers to a <a shape="rect" class="external-link" href="http://java.sun.com/j2se/1.4.2/docs/api/javax/naming/directory/DirContext.html" rel="nofollow">DirContext</a> bean in the registry. The LDAP component only supports producer endpoints, which means that an <code>ldap</code> URI cannot appear in the <code>from</code> at the start of a route.</p>
-
-<p>You can append query options to the URI in the following format, <code>?option=value&amp;option=value&amp;...</code></p>
-
-<h3 id="BookInOnePage-Options.51">Options</h3>
-<div class="confluenceTableSmall">
-<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> Description </p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>base</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>ou=system</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The base DN for searches. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>scope</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>subtree</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Specifies how deeply to search the tree of entries, starting at the base DN.  Value can be <code>object</code>, <code>onelevel</code>, or <code>subtree</code>. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"
 ><p>pageSize </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>	no paging used </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel 2.6:</strong> When specified the ldap module uses paging to retrieve all results (most LDAP Servers throw an exception when trying to retrieve more than 1000 entries in one query). To be able to use this a LdapContext (subclass of DirContext) has to be passed in as ldapServerBean (otherwise an exception is thrown)   </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>returnedAttributes</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> depends on LDAP Server (could be all or none) </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel 2.6:</strong> Comma-separated list of attributes that should be set in each entry of the result </p></td></tr></tbody></table></div>
-</div>
-
-<h3 id="BookInOnePage-Result.1">Result</h3>
-<p>The result is returned in the Out body as a <code>ArrayList&lt;javax.naming.directory.SearchResult&gt;</code> object. </p>
-
-<h3 id="BookInOnePage-DirContext">DirContext</h3>
-
-<p>The URI, <code>ldap:ldapserver</code>, references a Spring bean with the ID, <code>ldapserver</code>. The <code>ldapserver</code> bean may be defined as follows:</p>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
-&lt;bean id=&quot;ldapserver&quot; class=&quot;javax.naming.directory.InitialDirContext&quot; scope=&quot;prototype&quot;&gt;
+</div></div><p>The <em>ldapServerBean</em> portion of the URI refers to a <a shape="rect" class="external-link" href="http://java.sun.com/j2se/1.4.2/docs/api/javax/naming/directory/DirContext.html" rel="nofollow">DirContext</a> bean in the registry. The LDAP component only supports producer endpoints, which means that an <code>ldap</code> URI cannot appear in the <code>from</code> at the start of a route.</p><p>You can append query options to the URI in the following format, <code>?option=value&amp;option=value&amp;...</code></p><h3 id="BookInOnePage-Options.51">Options</h3><div class="confluenceTableSmall"><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>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>base</code></p></td><td colspan="1" ro
 wspan="1" class="confluenceTd"><p><code>ou=system</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The base DN for searches.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>scope</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>subtree</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Specifies how deeply to search the tree of entries, starting at the base DN. Value can be <code>object</code>, <code>onelevel</code>, or <code>subtree</code>.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>pageSize</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>no paging used</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.6:</strong> When specified the ldap module uses paging to retrieve all results (most LDAP Servers throw an exception when trying to retrieve more than 1000 entries in one query). To be able to use this a LdapContext (subclass of DirConte
 xt) has to be passed in as ldapServerBean (otherwise an exception is thrown)</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>returnedAttributes</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>depends on LDAP Server (could be all or none)</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.6:</strong> Comma-separated list of attributes that should be set in each entry of the result</p></td></tr></tbody></table></div></div><h3 id="BookInOnePage-Result.1">Result</h3><p>The result is returned in the Out body as a <code>ArrayList&lt;javax.naming.directory.SearchResult&gt;</code> object.</p><h3 id="BookInOnePage-DirContext">DirContext</h3><p>The URI, <code>ldap:ldapserver</code>, references a Spring bean with the ID, <code>ldapserver</code>. The <code>ldapserver</code> bean may be defined as follows:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[&lt;bean id=&quot;ldapserver&quot; class=&quot;javax.naming.directory.InitialDirContext&quot; scope=&quot;prototype&quot;&gt;
   &lt;constructor-arg&gt;
     &lt;props&gt;
       &lt;prop key=&quot;java.naming.factory.initial&quot;&gt;com.sun.jndi.ldap.LdapCtxFactory&lt;/prop&gt;
@@ -24994,26 +24963,14 @@ ldap:ldapServerBean[?options]
   &lt;/constructor-arg&gt;
 &lt;/bean&gt;
 ]]></script>
-</div></div>
-
-<p>The preceding example declares a regular Sun based LDAP <code>DirContext</code> that connects anonymously to a locally hosted LDAP server.</p>
-
-    <div class="aui-message warning shadowed information-macro">
+</div></div><p>The preceding example declares a regular Sun based LDAP <code>DirContext</code> that connects anonymously to a locally hosted LDAP server.</p>    <div class="aui-message warning shadowed information-macro">
                             <span class="aui-icon icon-warning">Icon</span>
                 <div class="message-content">
-                            
-<p><code>DirContext</code> objects are <strong>not</strong> required to support concurrency by contract. It is therefore important that the directory context is declared with the setting, <code>scope="prototype"</code>, in the <code>bean</code> definition or that the context supports concurrency. In the Spring framework, <code>prototype</code> scoped objects are instantiated each time they are looked up.</p>
+                            <p><code>DirContext</code> objects are <strong>not</strong> required to support concurrency by contract. It is therefore important that the directory context is declared with the setting, <code>scope="prototype"</code>, in the <code>bean</code> definition or that the context supports concurrency. In the Spring framework, <code>prototype</code> scoped objects are instantiated each time they are looked up.</p>
                     </div>
     </div>
-
-
-<h3 id="BookInOnePage-Samples.15">Samples</h3>
-
-<p>Following on from the Spring configuration above, the code sample below sends an LDAP request to filter search a group for a member. The Common Name is then extracted from the response.</p>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
-ProducerTemplate&lt;Exchange&gt; template = exchange
+<h3 id="BookInOnePage-Samples.15">Samples</h3><p>Following on from the Spring configuration above, the code sample below sends an LDAP request to filter search a group for a member. The Common Name is then extracted from the response.</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[ProducerTemplate&lt;Exchange&gt; template = exchange
   .getContext().createProducerTemplate();
 
 Collection&lt;?&gt; results = (Collection&lt;?&gt;) (template
@@ -25034,22 +24991,11 @@ if (results.size() &gt; 0) {
 
   ...
 ]]></script>
-</div></div>
-
-<p>If no specific filter is required - for example, you just need to look up a single entry - specify a wildcard filter expression. For example, if the LDAP entry has a Common Name, use a filter expression like:</p>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
-(cn=*)
+</div></div><p>If no specific filter is required - for example, you just need to look up a single entry - specify a wildcard filter expression. For example, if the LDAP entry has a Common Name, use a filter expression like:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[(cn=*)
 ]]></script>
-</div></div>
-
-<h4 id="BookInOnePage-Bindingusingcredentials">Binding using credentials</h4>
-
-<p>A Camel end user donated this sample code he used to bind to the ldap server using credentials.</p>
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
-Properties props = new Properties();
+</div></div><h4 id="BookInOnePage-Bindingusingcredentials">Binding using credentials</h4><p>A Camel end user donated this sample code he used to bind to the ldap server using credentials.</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[Properties props = new Properties();
 props.setProperty(Context.INITIAL_CONTEXT_FACTORY, &quot;com.sun.jndi.ldap.LdapCtxFactory&quot;);
 props.setProperty(Context.PROVIDER_URL, &quot;ldap://localhost:389&quot;);
 props.setProperty(Context.URL_PKG_PREFIXES, &quot;com.sun.jndi.url&quot;);
@@ -25086,9 +25032,131 @@ System.out.println(out.getOut().getBody(
 
 context.stop();
 ]]></script>
-</div></div>
+</div></div><h3 id="BookInOnePage-ConfiguringSSL">Configuring SSL</h3><p>All required is to create a custom socket factory and reference it in the InitialDirContext bean - see below sample.</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;"><b>SSL Configuration</b></div><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
+&lt;blueprint xmlns=&quot;http://www.osgi.org/xmlns/blueprint/v1.0.0&quot;
+           xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
+           xsi:schemaLocation=&quot;http://www.osgi.org/xmlns/blueprint/v1.0.0 http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd
+                 http://camel.apache.org/schema/blueprint http://camel.apache.org/schema/blueprint/camel-blueprint.xsd&quot;&gt;
 
-<h3 id="BookInOnePage-SeeAlso.57">See Also</h3>
+
+    &lt;sslContextParameters xmlns=&quot;http://camel.apache.org/schema/blueprint&quot;
+                          id=&quot;sslContextParameters&quot;&gt;
+        &lt;keyManagers
+                keyPassword=&quot;{{keystore.pwd}}&quot;&gt;
+            &lt;keyStore
+                    resource=&quot;{{keystore.url}}&quot;
+                    password=&quot;{{keystore.pwd}}&quot;/&gt;
+        &lt;/keyManagers&gt;
+    &lt;/sslContextParameters&gt;
+
+    &lt;bean id=&quot;customSocketFactory&quot; class=&quot;zotix.co.util.CustomSocketFactory&quot;&gt;
+        &lt;argument ref=&quot;sslContextParameters&quot; /&gt;
+    &lt;/bean&gt;
+    &lt;bean id=&quot;ldapserver&quot; class=&quot;javax.naming.directory.InitialDirContext&quot; scope=&quot;prototype&quot;&gt;
+        &lt;argument&gt;
+            &lt;props&gt;
+                &lt;prop key=&quot;java.naming.factory.initial&quot; value=&quot;com.sun.jndi.ldap.LdapCtxFactory&quot;/&gt;
+                &lt;prop key=&quot;java.naming.provider.url&quot; value=&quot;ldaps://lab.zotix.co:636&quot;/&gt;
+                &lt;prop key=&quot;java.naming.security.protocol&quot; value=&quot;ssl&quot;/&gt;
+                &lt;prop key=&quot;java.naming.security.authentication&quot; value=&quot;simple&quot; /&gt;
+                &lt;prop key=&quot;java.naming.security.principal&quot; value=&quot;cn=Manager,dc=example,dc=com&quot;/&gt;
+                &lt;prop key=&quot;java.naming.security.credentials&quot; value=&quot;passw0rd&quot;/&gt;
+                &lt;prop key=&quot;java.naming.ldap.factory.socket&quot;
+                      value=&quot;zotix.co.util.CustomSocketFactory&quot;/&gt;
+            &lt;/props&gt;
+        &lt;/argument&gt;
+    &lt;/bean&gt;
+&lt;/blueprint&gt;]]></script>
+</div></div><div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;"><b>Custom Socket Factory</b></div><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[import org.apache.camel.util.jsse.SSLContextParameters;
+
+import javax.net.SocketFactory;
+import javax.net.ssl.SSLContext;
+import javax.net.ssl.SSLSocketFactory;
+import javax.net.ssl.TrustManagerFactory;
+import java.io.IOException;
+import java.net.InetAddress;
+import java.net.Socket;
+import java.security.KeyStore;
+
+/**
+ * The CustomSocketFactory. Loads the KeyStore and creates an instance of SSLSocketFactory
+ */
+public class CustomSocketFactory extends SSLSocketFactory {
+
+    private static SSLSocketFactory socketFactory;
+
+    /**
+     * Called by the getDefault() method.
+     */
+    public CustomSocketFactory() {
+
+    }
+
+    /**
+     * Called by Blueprint DI to initialise an instance of SocketFactory
+     *
+     * @param sslContextParameters
+     */
+    public CustomSocketFactory(SSLContextParameters sslContextParameters) {
+        try {
+            KeyStore keyStore = sslContextParameters.getKeyManagers().getKeyStore().createKeyStore();
+            TrustManagerFactory tmf = TrustManagerFactory.getInstance(&quot;SunX509&quot;);
+            tmf.init(keyStore);
+            SSLContext ctx = SSLContext.getInstance(&quot;TLS&quot;);
+            ctx.init(null, tmf.getTrustManagers(), null);
+            socketFactory = ctx.getSocketFactory();
+        } catch (Exception ex) {
+            ex.printStackTrace(System.err);  /* handle exception */
+        }
+    }
+
+    /**
+     * Getter for the SocketFactory
+     *
+     * @return
+     */
+    public static SocketFactory getDefault() {
+        return new CustomSocketFactory();
+    }
+
+    @Override
+    public String[] getDefaultCipherSuites() {
+        return socketFactory.getDefaultCipherSuites();
+    }
+
+    @Override
+    public String[] getSupportedCipherSuites() {
+        return socketFactory.getSupportedCipherSuites();
+    }
+
+    @Override
+    public Socket createSocket(Socket socket, String string, int i, boolean bln) throws IOException {
+        return socketFactory.createSocket(socket, string, i, bln);
+    }
+
+    @Override
+    public Socket createSocket(String string, int i) throws IOException {
+        return socketFactory.createSocket(string, i);
+    }
+
+    @Override
+    public Socket createSocket(String string, int i, InetAddress ia, int i1) throws IOException {
+        return socketFactory.createSocket(string, i, ia, i1);
+    }
+
+    @Override
+    public Socket createSocket(InetAddress ia, int i) throws IOException {
+        return socketFactory.createSocket(ia, i);
+    }
+
+    @Override
+    public Socket createSocket(InetAddress ia, int i, InetAddress ia1, int i1) throws IOException {
+        return socketFactory.createSocket(ia, i, ia1, i1);
+    }
+}]]></script>
+</div></div><p>&#160;</p><p></p><h3 id="BookInOnePage-SeeAlso.57">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>
 <h2 id="BookInOnePage-LogComponent">Log Component</h2><p>The <strong>log:</strong> component logs message exchanges to the underlying logging mechanism.</p><p>Camel uses <a shape="rect" class="external-link" href="http://www.slf4j.org/" rel="nofollow">sfl4j</a> which allows you to configure logging via, among others:
 </p><ul><li><a shape="rect" class="external-link" href="http://logging.apache.org/log4j/">Log4j</a></li><li><a shape="rect" class="external-link" href="http://logback.qos.ch/" rel="nofollow">Logback</a></li><li><a shape="rect" class="external-link" href="http://java.sun.com/j2se/1.4.2/docs/api/java/util/logging/package-summary.html" rel="nofollow">JDK Util Logging logging</a></li></ul><h3 id="BookInOnePage-URIformat.41">URI format</h3><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">

Modified: websites/production/camel/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.



Mime
View raw message