Author: buildbot
Date: Fri Jul 25 21:17:52 2014
New Revision: 917406

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/rest-dsl.html

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

Modified: websites/production/camel/content/rest-dsl.html
==============================================================================
--- websites/production/camel/content/rest-dsl.html (original)
+++ websites/production/camel/content/rest-dsl.html Fri Jul 25 21:17:52 2014
@@ -236,7 +236,7 @@ public class UserPojo {
 }
 
 ]]></script>
-</div></div><p>By having the JAXB annotations the POJO supports both json and 
xml bindings.</p><p>&#160;</p><h3 id="RestDSL-ConfiguringRestDSL"><span 
style="line-height: 1.5625;">Configuring Rest DSL</span></h3><p>The Rest DSL 
allows to configure the following options using a builder 
style</p><p>&#160;</p><div class="table-wrap"><table 
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh">Option</th><th colspan="1" rowspan="1" 
class="confluenceTh">Default</th><th colspan="1" rowspan="1" 
class="confluenceTh">Description</th></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">component</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">The Camel Rest component to use for the REST transport, 
such as restlet, spark-rest. If no component has been explicit configured, then 
Camel will lookup if there is a Camel component that integrates with the Rest 
DSL, or if a&#160;<code>org.apache.camel.sp
 i.RestConsumerFactory</code>&#160;is registered in the registry. If either one 
is found, then that is being used.</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">scheme</td><td colspan="1" rowspan="1" 
class="confluenceTd">http</td><td colspan="1" rowspan="1" 
class="confluenceTd">The scheme to use for exposing the REST service. Usually 
http or https is supported</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">hostname</td><td colspan="1" rowspan="1" 
class="confluenceTd">0.0.0.0</td><td colspan="1" rowspan="1" 
class="confluenceTd">The hostname to use for exposing the REST 
service.</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">port</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">The port number to use for exposing the REST 
service.</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">bindingMode</td><td colspan="1" rowspan="1" 
class="confluenceTd">off</td><td colspan="1
 " rowspan="1" class="confluenceTd">Whether binding is in use. See further 
above for more details.</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">jsonDataFormat</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">Name of specific json data format to use. By default 
<code>json-jackson</code> will be used. <strong>Notice:</strong> Currently 
Jackson is what we recommend and are using for testing.</td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd">xmlDataFormat</td><td colspan="1" 
rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">Name of specific XML data format to use. By default 
<code>jaxb</code> will be used. <strong>Notice:</strong> Currently only 
<code>jaxb</code> is supported.</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">componentProperty</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" class="c
 onfluenceTd">Allows to configure as many additional properties. This is used 
to configure component specific options such as for&#160;<a shape="rect" 
href="restlet.html">Restlet</a>&#160;/&#160;<a shape="rect" 
href="spark-rest.html">Spark-Rest</a>&#160;etc.</td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd">endpointProperty</td><td colspan="1" 
rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd"><span>Allows to configure as many additional properties. 
This is used to configure endpoint specific options for <span>&#160;</span><a 
shape="rect" href="restlet.html">Restlet</a><span>&#160;/&#160;</span><a 
shape="rect" 
href="spark-rest.html">Spark-Rest</a><span>&#160;etc.</span></span></td></tr><tr><td
 colspan="1" rowspan="1" class="confluenceTd">consumerProperty</td><td 
colspan="1" rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" 
rowspan="1" class="confluenceTd"><span>Allows to configure as many additional 
properties. This is u
 sed to configure consumer specific options for </span><span>&#160;</span><a 
shape="rect" href="restlet.html">Restlet</a><span>&#160;/&#160;</span><a 
shape="rect" 
href="spark-rest.html">Spark-Rest</a><span>&#160;etc.</span></td></tr></tbody></table></div><p>&#160;</p><p><span
 style="line-height: 1.4285715;">For example to configure to use the spark-rest 
component on port 9091, then we can do as follows</span></p><div class="code 
panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><p>By having the JAXB annotations the POJO supports both json and 
xml bindings.</p><p>&#160;</p><h3 id="RestDSL-ConfiguringRestDSL"><span 
style="line-height: 1.5625;">Configuring Rest DSL</span></h3><p>The Rest DSL 
allows to configure the following options using a builder 
style</p><p>&#160;</p><div class="table-wrap"><table 
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh">Option</th><th colspan="1" rowspan="1" 
class="confluenceTh">Default</th><th colspan="1" rowspan="1" 
class="confluenceTh">Description</th></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">component</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">The Camel Rest component to use for the REST transport, 
such as restlet, spark-rest. If no component has been explicit configured, then 
Camel will lookup if there is a Camel component that integrates with the Rest 
DSL, or if a&#160;<code>org.apache.camel.sp
 i.RestConsumerFactory</code>&#160;is registered in the registry. If either one 
is found, then that is being used.</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">scheme</td><td colspan="1" rowspan="1" 
class="confluenceTd">http</td><td colspan="1" rowspan="1" 
class="confluenceTd">The scheme to use for exposing the REST service. Usually 
http or https is supported</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">hostname</td><td colspan="1" rowspan="1" 
class="confluenceTd">0.0.0.0</td><td colspan="1" rowspan="1" 
class="confluenceTd">The hostname to use for exposing the REST 
service.</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">port</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">The port number to use for exposing the REST 
service.</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">bindingMode</td><td colspan="1" rowspan="1" 
class="confluenceTd">off</td><td colspan="1
 " rowspan="1" class="confluenceTd">Whether binding is in use. See further 
above for more details.</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">jsonDataFormat</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">Name of specific json data format to use. By default 
<code>json-jackson</code> will be used. <strong>Notice:</strong> Currently 
Jackson is what we recommend and are using for testing.</td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd">xmlDataFormat</td><td colspan="1" 
rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">Name of specific XML data format to use. By default 
<code>jaxb</code> will be used. <strong>Notice:</strong> Currently only 
<code>jaxb</code> is supported.</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">componentProperty</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" class="c
 onfluenceTd">Allows to configure as many additional properties. This is used 
to configure component specific options such as for&#160;<a shape="rect" 
href="restlet.html">Restlet</a>&#160;/&#160;<a shape="rect" 
href="spark-rest.html">Spark-Rest</a>&#160;etc.</td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd">endpointProperty</td><td colspan="1" 
rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd"><span>Allows to configure as many additional properties. 
This is used to configure endpoint specific options for <span>&#160;</span><a 
shape="rect" href="restlet.html">Restlet</a><span>&#160;/&#160;</span><a 
shape="rect" 
href="spark-rest.html">Spark-Rest</a><span>&#160;etc.</span></span></td></tr><tr><td
 colspan="1" rowspan="1" class="confluenceTd">consumerProperty</td><td 
colspan="1" rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" 
rowspan="1" class="confluenceTd"><span>Allows to configure as many additional 
properties. This is u
 sed to configure consumer specific options for </span><span>&#160;</span><a 
shape="rect" href="restlet.html">Restlet</a><span>&#160;/&#160;</span><a 
shape="rect" 
href="spark-rest.html">Spark-Rest</a><span>&#160;etc.</span></td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd">dataFormatProperty</td><td 
colspan="1" rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" 
rowspan="1" class="confluenceTd">Allows to configure as many additional 
properties. This is used to configure the data format specific options. For 
example set property prettyPrint to true to have json outputted in pretty 
mode.</td></tr></tbody></table></div><p>&#160;</p><p><span style="line-height: 
1.4285715;">For example to configure to use the spark-rest component on port 
9091, then we can do as follows</span></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[restConfiguration().component(&quot;spark-rest&quot;).port(9091).componentProperty(&quot;foo&quot;,
 &quot;123&quot;);]]></script>
 </div></div><p><span style="line-height: 1.4285715;"><br 
clear="none"></span></p><p><span style="line-height: 1.4285715;">And with XML 
DSL</span></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;restConfiguration 
component=&quot;spark-rest&quot; port=&quot;9091&quot;&gt; 
&lt;componentProperty key=&quot;foo&quot; value=&quot;123&quot;/&gt; 
&lt;/restConfiguration&gt;]]></script>


Reply via email to