Author: buildbot
Date: Thu Mar 21 10:27:16 2013
New Revision: 855380
Log:
Production update by buildbot for camel
Modified:
websites/production/camel/content/book-pattern-appendix.html
websites/production/camel/content/content-enricher.html
websites/production/camel/content/http4.html
Modified: websites/production/camel/content/book-pattern-appendix.html
==============================================================================
--- websites/production/camel/content/book-pattern-appendix.html (original)
+++ websites/production/camel/content/book-pattern-appendix.html Thu Mar 21
10:27:16 2013
@@ -4443,16 +4443,16 @@ from(<span class="code-quote">"direct:st
<h3><a shape="rect"
name="BookPatternAppendix-PollEnrichOptions"></a>PollEnrich Options</h3>
<div class="confluenceTableSmall"><div class="table-wrap">
-<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"> Name </th><th colspan="1" rowspan="1"
class="confluenceTh"> Default Value </th><th colspan="1" rowspan="1"
class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>uri</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> </td><td colspan="1" rowspan="1"
class="confluenceTd"> The endpoint uri for the external service to enrich from.
You must use either <tt>uri</tt> or <tt>ref</tt>. </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>ref</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> </td><td colspan="1" rowspan="1"
class="confluenceTd"> Refers to the endpoint for the external service to enrich
from. You must use either <tt>uri</tt> or <tt>ref</tt>. </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>strategyRef</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> </td>
<td colspan="1" rowspan="1" class="confluenceTd"> Refers to an <a shape="rect"
class="external-link"
href="http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/processor/aggregate/AggregationStrategy.html">AggregationStrategy</a>
to be used to merge the reply from the external service, into a single
outgoing message. By default Camel will use the reply from the external service
as outgoing message. </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>timeout</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>0</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> Timeout in millis when polling from the external service.
See below for important details about the timeout. </td></tr></tbody></table>
+<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"> Name </th><th colspan="1" rowspan="1"
class="confluenceTh"> Default Value </th><th colspan="1" rowspan="1"
class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>uri</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> </td><td colspan="1" rowspan="1"
class="confluenceTd"> The endpoint uri for the external service to enrich from.
You must use either <tt>uri</tt> or <tt>ref</tt>. </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>ref</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> </td><td colspan="1" rowspan="1"
class="confluenceTd"> Refers to the endpoint for the external service to enrich
from. You must use either <tt>uri</tt> or <tt>ref</tt>. </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>strategyRef</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> </td>
<td colspan="1" rowspan="1" class="confluenceTd"> Refers to an <a shape="rect"
class="external-link"
href="http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/processor/aggregate/AggregationStrategy.html">AggregationStrategy</a>
to be used to merge the reply from the external service, into a single
outgoing message. By default Camel will use the reply from the external service
as outgoing message. </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>timeout</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>-1</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> Timeout in millis when polling from the external service.
See below for important details about the timeout. </td></tr></tbody></table>
</div>
</div>
+<div class="panelMacro"><table class="infoMacro"><colgroup span="1"><col
span="1" width="24"><col span="1"></colgroup><tr><td colspan="1" rowspan="1"
valign="top"><img align="middle"
src="https://cwiki.apache.org/confluence/images/icons/emoticons/information.gif"
width="16" height="16" alt="" border="0"></td><td colspan="1"
rowspan="1"><b>Good practice to use timeout value</b><br clear="none">By
default Camel will use the <tt>receive</tt>. Which may block until there is a
message available. It is therefore recommended to always provide a timeout
value, to make this clear that we may wait for a message, until the timeout is
hit.</td></tr></table></div>
-<p>By default Camel will use the <tt>receiveNoWait</tt>. <br clear="none">
-If there is no data then the <tt>newExchange</tt> in the aggregation strategy
is <tt>null</tt>. </p>
+<p>If there is no data then the <tt>newExchange</tt> in the aggregation
strategy is <tt>null</tt>. </p>
<p>You can pass in a timeout value that determines which method to use</p>
-<ul class="alternate" type="square"><li>if timeout is -1 or other negative
number then <tt>receive</tt> is selected</li><li>if timeout is 0 then
<tt>receiveNoWait</tt> is selected</li><li>otherwise <tt>receive(timeout)</tt>
is selected</li></ul>
+<ul class="alternate" type="square"><li>if timeout is -1 or other negative
number then <tt>receive</tt> is selected (<b>Important:</b> the
<tt>receive</tt> method may block if there is no message)</li><li>if timeout is
0 then <tt>receiveNoWait</tt> is selected</li><li>otherwise
<tt>receive(timeout)</tt> is selected</li></ul>
<p>The timeout values is in millis.</p>
Modified: websites/production/camel/content/content-enricher.html
==============================================================================
--- websites/production/camel/content/content-enricher.html (original)
+++ websites/production/camel/content/content-enricher.html Thu Mar 21 10:27:16
2013
@@ -247,16 +247,16 @@ from(<span class="code-quote">"direct:st
<h3><a shape="rect" name="ContentEnricher-PollEnrichOptions"></a>PollEnrich
Options</h3>
<div class="confluenceTableSmall"><div class="table-wrap">
-<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"> Name </th><th colspan="1" rowspan="1"
class="confluenceTh"> Default Value </th><th colspan="1" rowspan="1"
class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>uri</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> </td><td colspan="1" rowspan="1"
class="confluenceTd"> The endpoint uri for the external service to enrich from.
You must use either <tt>uri</tt> or <tt>ref</tt>. </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>ref</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> </td><td colspan="1" rowspan="1"
class="confluenceTd"> Refers to the endpoint for the external service to enrich
from. You must use either <tt>uri</tt> or <tt>ref</tt>. </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>strategyRef</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> </td>
<td colspan="1" rowspan="1" class="confluenceTd"> Refers to an <a shape="rect"
class="external-link"
href="http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/processor/aggregate/AggregationStrategy.html">AggregationStrategy</a>
to be used to merge the reply from the external service, into a single
outgoing message. By default Camel will use the reply from the external service
as outgoing message. </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>timeout</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>0</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> Timeout in millis when polling from the external service.
See below for important details about the timeout. </td></tr></tbody></table>
+<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"> Name </th><th colspan="1" rowspan="1"
class="confluenceTh"> Default Value </th><th colspan="1" rowspan="1"
class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>uri</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> </td><td colspan="1" rowspan="1"
class="confluenceTd"> The endpoint uri for the external service to enrich from.
You must use either <tt>uri</tt> or <tt>ref</tt>. </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>ref</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> </td><td colspan="1" rowspan="1"
class="confluenceTd"> Refers to the endpoint for the external service to enrich
from. You must use either <tt>uri</tt> or <tt>ref</tt>. </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>strategyRef</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> </td>
<td colspan="1" rowspan="1" class="confluenceTd"> Refers to an <a shape="rect"
class="external-link"
href="http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/processor/aggregate/AggregationStrategy.html">AggregationStrategy</a>
to be used to merge the reply from the external service, into a single
outgoing message. By default Camel will use the reply from the external service
as outgoing message. </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>timeout</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>-1</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> Timeout in millis when polling from the external service.
See below for important details about the timeout. </td></tr></tbody></table>
</div>
</div>
+<div class="panelMacro"><table class="infoMacro"><colgroup span="1"><col
span="1" width="24"><col span="1"></colgroup><tr><td colspan="1" rowspan="1"
valign="top"><img align="middle"
src="https://cwiki.apache.org/confluence/images/icons/emoticons/information.gif"
width="16" height="16" alt="" border="0"></td><td colspan="1"
rowspan="1"><b>Good practice to use timeout value</b><br clear="none">By
default Camel will use the <tt>receive</tt>. Which may block until there is a
message available. It is therefore recommended to always provide a timeout
value, to make this clear that we may wait for a message, until the timeout is
hit.</td></tr></table></div>
-<p>By default Camel will use the <tt>receiveNoWait</tt>. <br clear="none">
-If there is no data then the <tt>newExchange</tt> in the aggregation strategy
is <tt>null</tt>. </p>
+<p>If there is no data then the <tt>newExchange</tt> in the aggregation
strategy is <tt>null</tt>. </p>
<p>You can pass in a timeout value that determines which method to use</p>
-<ul class="alternate" type="square"><li>if timeout is -1 or other negative
number then <tt>receive</tt> is selected</li><li>if timeout is 0 then
<tt>receiveNoWait</tt> is selected</li><li>otherwise <tt>receive(timeout)</tt>
is selected</li></ul>
+<ul class="alternate" type="square"><li>if timeout is -1 or other negative
number then <tt>receive</tt> is selected (<b>Important:</b> the
<tt>receive</tt> method may block if there is no message)</li><li>if timeout is
0 then <tt>receiveNoWait</tt> is selected</li><li>otherwise
<tt>receive(timeout)</tt> is selected</li></ul>
<p>The timeout values is in millis.</p>
Modified: websites/production/camel/content/http4.html
==============================================================================
--- websites/production/camel/content/http4.html (original)
+++ websites/production/camel/content/http4.html Thu Mar 21 10:27:16 2013
@@ -383,13 +383,8 @@ Message out = exchange.getOut();
<p>If you need more control over the HTTP producer you should use the
<tt>HttpComponent</tt> where you can set various classes to give you custom
behavior.</p>
-<h4><a shape="rect" name="HTTP4-UsingHTTPStoauthenticategotchas"></a>Using
HTTPS to authenticate gotchas</h4>
-
-<p>An end user reported that he had problem with authenticating with HTTPS.
The problem was eventually resolved when he discovered the HTTPS server did not
return a HTTP code 401 Authorization Required. The solution was to set the
following URI option: <tt>httpClient.authenticationPreemptive=true</tt></p>
-
<h4><a shape="rect" name="HTTP4-SettingupSSLforHTTPClient"></a>Setting up SSL
for HTTP Client</h4>
-
<h5><a shape="rect" name="HTTP4-UsingtheJSSEConfigurationUtility"></a>Using
the JSSE Configuration Utility</h5>
<p>As of Camel 2.8, the HTTP4 component supports SSL/TLS configuration through
the <a shape="rect" href="camel-configuration-utilities.html" title="Camel
Configuration Utilities">Camel JSSE Configuration Utility</a>.  This
utility greatly decreases the amount of component specific code you need to
write and is configurable at the endpoint and component levels.  The
following examples demonstrate how to use the utility with the HTTP4
component.</p>