Author: buildbot
Date: Tue Jul 29 09:18:10 2014
New Revision: 917778

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 Tue Jul 29 09:18:10 2014
@@ -240,7 +240,7 @@ public class UserPojo {
 <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>
-</div></div><p><span style="line-height: 1.4285715;"><br 
clear="none"></span></p><p>You can configure properties on three 
levels.&#160;</p><ul><li>component - Is used to set any options on the 
Component class. You can also configure these directly on the 
component.</li><li>endpoint - Is used set any option on the endpoint level. 
Many of the Camel components has many options you can set on endpoint 
level.</li><li>consumer - Is used to set any option on the consumer level. Some 
components has consumer options, which you can also configure from endpoint 
level by prefixing the option with "consumer."&#160;</li></ul><p>You can set 
multiple options of the same level, so you can can for example configure 2 
component options, and 3 endpoint options etc.</p><h3 
id="RestDSL-IntegrationaCamelcomponentwithRestDSL">Integration a Camel 
component with Rest DSL</h3><p>Any Apache Camel component can integrate with 
the Rest DSL if they can be used as a REST service (eg as a REST consumer in 
Camel lin
 go). To integrate with the Rest DSL, then the component should implement 
the&#160;<code>org.apache.camel.spi.RestConsumerFactory</code>. The Rest DSL 
will then invoke the&#160;<code>createConsumer</code> method when it setup the 
Camel routes from the defined DSL. The component should then implement logic to 
create a Camel consumer that exposes the REST services based on the given 
parameters, such as path, verb, and other options. For example see the source 
code for camel-restlet, camel-spark-rest.</p><p>&#160;</p><h3 
id="RestDSL-SeeAlso">See Also</h3><p><a shape="rect" 
href="dsl.html">DSL</a></p><p><a shape="rect" 
href="rest.html">Rest</a></p><p><a shape="rect" 
href="spark-rest.html">Spark-rest</a></p></div>
+</div></div><p><span style="line-height: 1.4285715;"><br 
clear="none"></span></p><p>You can configure properties on these 
levels.&#160;</p><ul><li>component - Is used to set any options on the 
Component class. You can also configure these directly on the 
component.</li><li>endpoint - Is used set any option on the endpoint level. 
Many of the Camel components has many options you can set on endpoint 
level.</li><li>consumer - Is used to set any option on the consumer level. Some 
components has consumer options, which you can also configure from endpoint 
level by prefixing the option with "consumer."&#160;</li><li>data format - Is 
used to set any option on the data formats. For example to enable pretty print 
in the json data format.</li></ul><p>You can set multiple options of the same 
level, so you can can for example configure 2 component options, and 3 endpoint 
options etc.</p><h3 
id="RestDSL-IntegrationaCamelcomponentwithRestDSL">Integration a Camel 
component with Rest DSL</h3><p>Any
  Apache Camel component can integrate with the Rest DSL if they can be used as 
a REST service (eg as a REST consumer in Camel lingo). To integrate with the 
Rest DSL, then the component should implement 
the&#160;<code>org.apache.camel.spi.RestConsumerFactory</code>. The Rest DSL 
will then invoke the&#160;<code>createConsumer</code> method when it setup the 
Camel routes from the defined DSL. The component should then implement logic to 
create a Camel consumer that exposes the REST services based on the given 
parameters, such as path, verb, and other options. For example see the source 
code for camel-restlet, camel-spark-rest.</p><p>&#160;</p><h3 
id="RestDSL-SeeAlso">See Also</h3><p><a shape="rect" 
href="dsl.html">DSL</a></p><p><a shape="rect" 
href="rest.html">Rest</a></p><p><a shape="rect" 
href="spark-rest.html">Spark-rest</a></p></div>
         </td>
         <td valign="top">
           <div class="navigation">


Reply via email to