Author: buildbot
Date: Mon Jul 21 09:18:25 2014
New Revision: 916929

Log:
Production update by buildbot for camel

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

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

Modified: websites/production/camel/content/camel-2140-release.html
==============================================================================
--- websites/production/camel/content/camel-2140-release.html (original)
+++ websites/production/camel/content/camel-2140-release.html Mon Jul 21 
09:18:25 2014
@@ -87,7 +87,7 @@
         <tr>
         <td valign="top" width="100%">
 <div class="wiki-content maincontent"><h1 
id="Camel2.14.0Release-Camel2.14.0release(currentlyinprogress)">Camel 2.14.0 
release (currently in progress)</h1><div 
style="padding-right:20px;float:left;margin-left:-20px;">
-<p><span class="image-wrap" style=""><img 
src="http://camel.apache.org/download.data/camel-box-v1.0-150x200.png"; 
style="border: 0px solid black"></span></p></div><div 
style="min-height:200px"></div><h2 id="Camel2.14.0Release-NewandNoteworthy">New 
and Noteworthy</h2><p>Welcome to the 2.14.0 release which approx XXX issues 
resolved (new features, improvements and bug fixes such 
as...)</p><ul><li>Support for running on Java 1.8 JVMs</li><li>Spring 4.x 
supported.</li><li>Simple language defined in routes using resultType as 
boolean is now evaluated as predicate instead of as 
expression.</li><li>Introduced RuntimeEndpointRegistry to capture runtime usage 
of endpoints in use during routing, such as dynamic endpoints from dynamic <a 
shape="rect" href="eip.html">EIP</a>s.</li><li>Added event notification for 
routes added and removed.</li><li>Allow to configure cache size in Recipient 
List, Routing Slip and Dynamic Router EIPs; and as well turn caching 
off.</li><li><a shape="rect" href="nett
 y-http.html">Netty HTTP</a>&#160;producer now supports the <span>CamelHttpPath 
header to define a dynamic context-path and query parameters to call the remote 
http server.</span></li><li><span><a shape="rect" 
href="polling-consumer.html">Polling Consumer</a>&#160;allows to configure 
initial queue size and whether to block when full when using the 
default&#160;<code>EventDrivenPollingConsumer</code> which most components 
does. We now block by default, as otherwise the message may be lost if the 
queue was full, and a new message was offered.</span></li><li><span><a 
shape="rect" class="external-link" 
href="https://issues.apache.org/jira/browse/CAMEL-7435";>Added</a> a generic 
callback to configure the <a shape="rect" href="apns.html">APNS</a> service 
builder.</span></li><li><span>Added&#160;<code>StreamList</code> option to 
the&#160;<a shape="rect" href="jdbc.html">JDBC</a> 
component</span></li><li>Allow to define Simple expressions for sql parameters 
of the <a shape="rect" href="sql-co
 mponent.html">SQL</a> component.<span><br clear="none"></span></li><li>A new 
XML tokenizer that is truly XML-aware (e.g., supporting XML namespaces and 
complex hierarchical structures)</li><li>Added 
option&#160;<code>parallelAggregate</code> to <a shape="rect" 
href="multicast.html">Multicast</a>, <a shape="rect" 
href="splitter.html">Splitter</a> and <a shape="rect" 
href="recipient-list.html">Recipient List</a>&#160;EIPs</li><li>Support to set 
the variable map from message header in <a shape="rect" 
href="velocity.html">Velocity</a>, <a shape="rect" 
href="freemarker.html">Freemarker</a>, <a shape="rect" 
href="stringtemplate.html">StringTemplate</a>.</li><li><span>Added 
HazelcastInstance option to&#160;<span><a shape="rect" 
href="hazelcast-component.html">Hazelcast</a> 
component.</span></span></li><li>Producers from static <a shape="rect" 
href="eip.html">EIPs</a> such as &lt;to&gt; is is now also enlisted in <a 
shape="rect" href="camel-jmx.html">JMX</a> when Camel is starting routes.</
 li></ul><h3 id="Camel2.14.0Release-FixedIssues">Fixed Issues</h3><ul><li>Timer 
consumer is now scheduled after CamelContext has started all routes, to ensure 
other routes is running when timer routes is triggered to run.</li><li><a 
shape="rect" href="netty-http.html">Netty HTTP</a> now returns HTTP status 404 
if resource not found instead of 503.</li><li>Fixed the <a shape="rect" 
class="external-link" 
href="https://camel.apache.org/mongodb.html";>MongoDB</a>&#160;<code>readPreference</code>&#160;option
 which used to cause an <code>IllegalArgumentException</code>&#160;to be 
thrown.</li><li>Fixed issue with Netty producer may leak HashWhealTimer 
instances when having many producers that are not reused.</li><li>Fixed issue 
with Netty consumer should wait for join to complete when joining a multicast 
group over UDP&#160;</li><li>Improved stability when testing 
with&#160;<code>camel-test-blueprint</code> component.</li><li><a shape="rect" 
href="netty-http.html">Netty HTTP</a>&#160;now <a 
 shape="rect" class="external-link" 
href="https://issues.apache.org/jira/browse/CAMEL-7506";>removes</a> 
<code>headerFilterStrategy</code> option after resolving<span 
class="overlay-icon aui-icon aui-icon-small 
aui-iconfont-edit">&#160;</span>it</li><li>Fixed <a shape="rect" 
href="aggregator2.html">POJO aggregating</a> when the parameter type was 
referring to a type that was class annotated.</li><li>Fixed&#160;<a 
shape="rect" href="mybatis.html">MyBatis</a>&#160;to keep the message body 
as-is when calling stored procedures, if the procedure returns data as OUT 
parameters.</li><li>Fixed Camel Karaf commands to work with multiple 
CamelContext from the same bundle.</li><li>Fixed <a shape="rect" 
href="advicewith.html">Advice-With</a> to work with transacted routes defined 
in XML DSL</li><li>Fixed <a shape="rect" href="advicewith.html">Advice-With</a> 
to work with Content Based Router when adding outputs to the when 
clauses.</li><li>Improved&#160;<span><code>NettyWorkerPoolBuilder#build</c
 ode> <a shape="rect" class="external-link" 
href="https://issues.apache.org/jira/browse/CAMEL-7583";>visibility</a>.</span></li></ul><h3
 id="Camel2.14.0Release-New">New <a shape="rect" 
href="enterprise-integration-patterns.html">Enterprise Integration 
Patterns</a></h3><ul><li><a shape="rect" href="load-balancer.html">Circuit 
Breaker</a> pattern implemented as a Load Balancer policy</li></ul><h3 
id="Camel2.14.0Release-New.1">New <a shape="rect" 
href="components.html">Components</a></h3><ul><li>camel-ahc-ws</li><li>camel-atmosphere-websocket</li><li>camel-box</li><li><a
 shape="rect" href="openshift.html">camel-openshift</a></li><li><a shape="rect" 
href="gora.html">camel-gora</a></li><li><a shape="rect" 
href="spark-rest.html">camel-spar</a><a shape="rect" 
href="spark-rest.html">k-rest</a></li></ul><h3 
id="Camel2.14.0Release-New.2">New <a shape="rect" 
href="camel-maven-archetypes.html">Camel Maven Archetypes</a></h3><h3 
id="Camel2.14.0Release-NewDSL">New DSL</h3><h3 id="Camel2.14.0Release
 -NewAnnotations">New Annotations</h3><h3 
id="Camel2.14.0Release-NewDataFormats">New <a shape="rect" 
href="data-format.html">Data Formats</a></h3><ul><li><a shape="rect" 
href="gora.html">camel-</a><a shape="rect" 
href="barcode-data-format.html">barcode</a></li></ul><h3 
id="Camel2.14.0Release-New.3">New <a shape="rect" 
href="languages.html">Languages</a></h3><ul><li>XMLTokenizer</li></ul><h3 
id="Camel2.14.0Release-New.4">New <a shape="rect" 
href="examples.html">Examples</a></h3><h3 id="Camel2.14.0Release-New.5">New <a 
shape="rect" href="tutorials.html">Tutorials</a></h3><h3 
id="Camel2.14.0Release-NewTooling">New Tooling</h3><h2 
id="Camel2.14.0Release-APIchanges">API changes</h2><ul><li>Removed duplicate 
getter <code>getMessageHistory</code> 
on&#160;<code>ManagedCamelContextMBean</code></li></ul><h2 
id="Camel2.14.0Release-KnownIssues">Known Issues</h2><h2 
id="Camel2.14.0Release-DependencyUpgrades">Dependency Upgrades</h2><p>You can 
see any dependency changes using <a shape="rect" class
 ="external-link" href="http://vdiff.notsoclever.cc/"; rel="nofollow">Camel 
Dependencies Version Differences web tool</a> created by Tracy Snell from the 
Camel <a shape="rect" href="team.html">Team</a>.</p><p>The below list is a best 
effort, and we may miss some updates, its better to use the <a shape="rect" 
class="external-link" href="http://vdiff.notsoclever.cc/"; rel="nofollow">Camel 
Dependencies Version Differences web tool</a> which uses the released projects 
for comparison.</p><ul><li>Atomikos 3.9.2 to 3.9.3</li><li>Commons-codec 1.8 to 
1.9</li><li>CXF 2.7.11 to 3.0.0</li><li>Deltaspike 0.7 to 1.0.0</li><li>Dozer 
5.4.0 to 5.5.1</li><li>EhCache 2.8.1 to 2.8.3</li><li>Groovy 2.2.2 to 
2.3.3</li><li>Guava 16.0.1 to 17.0</li><li>JRuby 1.7.10 to 
1.7.12</li><li>MongoDB-Java-Driver 2.11.4 to 2.12.0</li><li>RabbitMQ AMQ Client 
3.2.2 to 3.3.0</li><li>RxJava 0.17.5 to 0.19.4</li><li>Scala 2.10.3 to 
2.10.4</li><li>Snmp4j 2.2.5 to 2.3.0</li><li>SSHD 0.10.1 to 
0.11.0</li><li>spring-redis 1.1.0
  to 1.3.0</li></ul><h2 id="Camel2.14.0Release-Internalchanges">Internal 
changes</h2><ul><li>Changed ...</li></ul><h2 
id="Camel2.14.0Release-Changesthatmayaffectendusers">Changes that may affect 
end users</h2><ul><li><a shape="rect" href="polling-consumer.html">Polling 
Consumer</a>&#160;allows to configure initial queue size and whether to block 
when full when using the default&#160;<code>EventDrivenPollingConsumer</code> 
which most components does. We now block by default, as otherwise the message 
may be lost if the queue was full, and a new message was offered.</li></ul><h2 
id="Camel2.14.0Release-Importantchangestoconsiderwhenupgrading">Important 
changes to consider when upgrading</h2><ul><li>Java 1.6 no longer 
supported.</li><li>Unit testing with Spring 3.x now requires using 
camel-test-spring3, as camel-test-spring is for Spring 4.x<br clear="none"><br 
clear="none"></li></ul><h2 
id="Camel2.14.0Release-GettingtheDistributions">Getting the 
Distributions</h2><h3 id="Camel2.14.0Relea
 se-BinaryDistributions">Binary Distributions</h3><div 
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" 
rowspan="1" class="confluenceTh"><p>Description</p></th><th colspan="1" 
rowspan="1" class="confluenceTh"><p>Download Link</p></th><th colspan="1" 
rowspan="1" class="confluenceTh"><p>PGP Signature file of 
download</p></th></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>Windows Distribution</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" 
href="http://www.apache.org/dyn/closer.cgi/camel/apache-camel/2.14.0/apache-camel-2.14.0.zip";>apache-camel-2.14.0.zip</a></p></td><td
 colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" 
class="external-link" 
href="http://www.apache.org/dist/camel/apache-camel/2.14.0/apache-camel-2.14.0.zip.asc";>apache-camel-2.14.0.zip.asc</a></p></td></tr><tr><td
 colspan="1" rowspan="1" class="confluenceTd"><p>Unix/Linux/Cygwin 
Distribution</p></td><td colspan="1" r
 owspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" 
href="http://www.apache.org/dyn/closer.cgi/camel/apache-camel/2.14.0/apache-camel-2.14.0.tar.gz";>apache-camel-2.14.0.tar.gz</a></p></td><td
 colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" 
class="external-link" 
href="http://www.apache.org/dist/camel/apache-camel/2.14.0/apache-camel-2.14.0.tar.gz.asc";>apache-camel-2.14.0.tar.gz.asc</a></p></td></tr></tbody></table></div><h3
 id="Camel2.14.0Release-SourceDistribution">Source Distribution</h3><div 
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" 
rowspan="1" class="confluenceTh"><p>Description</p></th><th colspan="1" 
rowspan="1" class="confluenceTh"><p>Download Link</p></th><th colspan="1" 
rowspan="1" class="confluenceTh"><p>PGP Signature file of 
download</p></th></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>Source</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><a shape="rect" class="external-lin
 k" 
href="http://www.apache.org/dyn/closer.cgi/camel/apache-camel/2.14.0/apache-camel-2.14.0-src.zip";>apache-camel-2.14.0-src.zip</a></p></td><td
 colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" 
class="external-link" 
href="http://www.apache.org/dist/camel/apache-camel/2.14.0/apache-camel-2.14.0-src.zip.asc";>apache-camel-2.14.0-src.zip.asc</a></p></td></tr></tbody></table></div><h3
 id="Camel2.14.0Release-GettingtheBinariesusingMaven2">Getting the Binaries 
using Maven 2</h3><p>To use this release in your maven project, the proper 
dependency configuration that you should use in your <a shape="rect" 
class="external-link" 
href="http://maven.apache.org/guides/introduction/introduction-to-the-pom.html";>Maven
 POM</a> is:</p><div class="code panel pdl" style="border-width: 1px;"><div 
class="codeContent panelContent pdl">
+<p><span class="image-wrap" style=""><img 
src="http://camel.apache.org/download.data/camel-box-v1.0-150x200.png"; 
style="border: 0px solid black"></span></p></div><div 
style="min-height:200px"></div><h2 id="Camel2.14.0Release-NewandNoteworthy">New 
and Noteworthy</h2><p>Welcome to the 2.14.0 release which approx XXX issues 
resolved (new features, improvements and bug fixes such 
as...)</p><ul><li>Support for running on Java 1.8 JVMs</li><li>Spring 4.x 
supported.</li><li><a shape="rect" href="rest-dsl.html">REST DSL</a> to define 
REST services using a REST style with verbs such as get/post/put/delete etc. 
The Rest DSL supports Java and XML DSL.</li><li>Simple language defined in 
routes using resultType as boolean is now evaluated as predicate instead of as 
expression.</li><li>Introduced RuntimeEndpointRegistry to capture runtime usage 
of endpoints in use during routing, such as dynamic endpoints from dynamic <a 
shape="rect" href="eip.html">EIP</a>s.</li><li>Added event notification for 
 routes added and removed.</li><li>Allow to configure cache size in Recipient 
List, Routing Slip and Dynamic Router EIPs; and as well turn caching 
off.</li><li><a shape="rect" href="netty-http.html">Netty 
HTTP</a>&#160;producer now supports the <span>CamelHttpPath header to define a 
dynamic context-path and query parameters to call the remote http 
server.</span></li><li><span><a shape="rect" 
href="polling-consumer.html">Polling Consumer</a>&#160;allows to configure 
initial queue size and whether to block when full when using the 
default&#160;<code>EventDrivenPollingConsumer</code> which most components 
does. We now block by default, as otherwise the message may be lost if the 
queue was full, and a new message was offered.</span></li><li><span><a 
shape="rect" class="external-link" 
href="https://issues.apache.org/jira/browse/CAMEL-7435";>Added</a> a generic 
callback to configure the <a shape="rect" href="apns.html">APNS</a> service 
builder.</span></li><li><span>Added&#160;<code>StreamLi
 st</code> option to the&#160;<a shape="rect" href="jdbc.html">JDBC</a> 
component</span></li><li>Allow to define Simple expressions for sql parameters 
of the <a shape="rect" href="sql-component.html">SQL</a> component.<span><br 
clear="none"></span></li><li>A new XML tokenizer that is truly XML-aware (e.g., 
supporting XML namespaces and complex hierarchical structures)</li><li>Added 
option&#160;<code>parallelAggregate</code> to <a shape="rect" 
href="multicast.html">Multicast</a>, <a shape="rect" 
href="splitter.html">Splitter</a> and <a shape="rect" 
href="recipient-list.html">Recipient List</a>&#160;EIPs</li><li>Support to set 
the variable map from message header in <a shape="rect" 
href="velocity.html">Velocity</a>, <a shape="rect" 
href="freemarker.html">Freemarker</a>, <a shape="rect" 
href="stringtemplate.html">StringTemplate</a>.</li><li><span>Added 
HazelcastInstance option to&#160;<span><a shape="rect" 
href="hazelcast-component.html">Hazelcast</a> 
component.</span></span></li><li>Pr
 oducers from static <a shape="rect" href="eip.html">EIPs</a> such as 
&lt;to&gt; is is now also enlisted in <a shape="rect" 
href="camel-jmx.html">JMX</a> when Camel is starting routes.</li></ul><h3 
id="Camel2.14.0Release-FixedIssues">Fixed Issues</h3><ul><li>Timer consumer is 
now scheduled after CamelContext has started all routes, to ensure other routes 
is running when timer routes is triggered to run.</li><li><a shape="rect" 
href="netty-http.html">Netty HTTP</a> now returns HTTP status 404 if resource 
not found instead of 503.</li><li>Fixed the <a shape="rect" 
class="external-link" 
href="https://camel.apache.org/mongodb.html";>MongoDB</a>&#160;<code>readPreference</code>&#160;option
 which used to cause an <code>IllegalArgumentException</code>&#160;to be 
thrown.</li><li>Fixed issue with Netty producer may leak HashWhealTimer 
instances when having many producers that are not reused.</li><li>Fixed issue 
with Netty consumer should wait for join to complete when joining a multicast 
group
  over UDP&#160;</li><li>Improved stability when testing 
with&#160;<code>camel-test-blueprint</code> component.</li><li><a shape="rect" 
href="netty-http.html">Netty HTTP</a>&#160;now <a shape="rect" 
class="external-link" 
href="https://issues.apache.org/jira/browse/CAMEL-7506";>removes</a> 
<code>headerFilterStrategy</code> option after resolving<span 
class="overlay-icon aui-icon aui-icon-small 
aui-iconfont-edit">&#160;</span>it</li><li>Fixed <a shape="rect" 
href="aggregator2.html">POJO aggregating</a> when the parameter type was 
referring to a type that was class annotated.</li><li>Fixed&#160;<a 
shape="rect" href="mybatis.html">MyBatis</a>&#160;to keep the message body 
as-is when calling stored procedures, if the procedure returns data as OUT 
parameters.</li><li>Fixed Camel Karaf commands to work with multiple 
CamelContext from the same bundle.</li><li>Fixed <a shape="rect" 
href="advicewith.html">Advice-With</a> to work with transacted routes defined 
in XML DSL</li><li>Fixed <a shape="
 rect" href="advicewith.html">Advice-With</a> to work with Content Based Router 
when adding outputs to the when 
clauses.</li><li>Improved&#160;<span><code>NettyWorkerPoolBuilder#build</code> 
<a shape="rect" class="external-link" 
href="https://issues.apache.org/jira/browse/CAMEL-7583";>visibility</a>.</span></li></ul><h3
 id="Camel2.14.0Release-New">New <a shape="rect" 
href="enterprise-integration-patterns.html">Enterprise Integration 
Patterns</a></h3><ul><li><a shape="rect" href="load-balancer.html">Circuit 
Breaker</a> pattern implemented as a Load Balancer policy</li></ul><h3 
id="Camel2.14.0Release-New.1">New <a shape="rect" 
href="components.html">Components</a></h3><ul><li>camel-ahc-ws</li><li>camel-atmosphere-websocket</li><li>camel-box</li><li><a
 shape="rect" href="openshift.html">camel-openshift</a></li><li><a shape="rect" 
href="gora.html">camel-gora</a></li><li><a shape="rect" 
href="rest.html">camel-rest</a> (in camel-core)</li><li><a shape="rect" 
href="spark-rest.html">camel-spa
 r</a><a shape="rect" href="spark-rest.html">k-rest</a></li></ul><h3 
id="Camel2.14.0Release-New.2">New <a shape="rect" 
href="camel-maven-archetypes.html">Camel Maven Archetypes</a></h3><h3 
id="Camel2.14.0Release-NewDSL">New DSL</h3><h3 
id="Camel2.14.0Release-NewAnnotations">New Annotations</h3><h3 
id="Camel2.14.0Release-NewDataFormats">New <a shape="rect" 
href="data-format.html">Data Formats</a></h3><ul><li><a shape="rect" 
href="gora.html">camel-</a><a shape="rect" 
href="barcode-data-format.html">barcode</a></li></ul><h3 
id="Camel2.14.0Release-New.3">New <a shape="rect" 
href="languages.html">Languages</a></h3><ul><li>XMLTokenizer</li></ul><h3 
id="Camel2.14.0Release-New.4">New <a shape="rect" 
href="examples.html">Examples</a></h3><h3 id="Camel2.14.0Release-New.5">New <a 
shape="rect" href="tutorials.html">Tutorials</a></h3><h3 
id="Camel2.14.0Release-NewTooling">New Tooling</h3><h2 
id="Camel2.14.0Release-APIchanges">API changes</h2><ul><li>Removed duplicate 
getter <code>getMessageHistor
 y</code> on&#160;<code>ManagedCamelContextMBean</code></li></ul><h2 
id="Camel2.14.0Release-KnownIssues">Known Issues</h2><h2 
id="Camel2.14.0Release-DependencyUpgrades">Dependency Upgrades</h2><p>You can 
see any dependency changes using <a shape="rect" class="external-link" 
href="http://vdiff.notsoclever.cc/"; rel="nofollow">Camel Dependencies Version 
Differences web tool</a> created by Tracy Snell from the Camel <a shape="rect" 
href="team.html">Team</a>.</p><p>The below list is a best effort, and we may 
miss some updates, its better to use the <a shape="rect" class="external-link" 
href="http://vdiff.notsoclever.cc/"; rel="nofollow">Camel Dependencies Version 
Differences web tool</a> which uses the released projects for 
comparison.</p><ul><li>Atomikos 3.9.2 to 3.9.3</li><li>Commons-codec 1.8 to 
1.9</li><li>CXF 2.7.11 to 3.0.0</li><li>Deltaspike 0.7 to 1.0.0</li><li>Dozer 
5.4.0 to 5.5.1</li><li>EhCache 2.8.1 to 2.8.3</li><li>Groovy 2.2.2 to 
2.3.3</li><li>Guava 16.0.1 to 17.0</li><li>JRu
 by 1.7.10 to 1.7.12</li><li>MongoDB-Java-Driver 2.11.4 to 
2.12.0</li><li>RabbitMQ AMQ Client 3.2.2 to 3.3.0</li><li>RxJava 0.17.5 to 
0.19.4</li><li>Scala 2.10.3 to 2.10.4</li><li>Snmp4j 2.2.5 to 
2.3.0</li><li>SSHD 0.10.1 to 0.11.0</li><li>spring-redis 1.1.0 to 
1.3.0</li></ul><h2 id="Camel2.14.0Release-Internalchanges">Internal 
changes</h2><ul><li>Changed ...</li></ul><h2 
id="Camel2.14.0Release-Changesthatmayaffectendusers">Changes that may affect 
end users</h2><ul><li><a shape="rect" href="polling-consumer.html">Polling 
Consumer</a>&#160;allows to configure initial queue size and whether to block 
when full when using the default&#160;<code>EventDrivenPollingConsumer</code> 
which most components does. We now block by default, as otherwise the message 
may be lost if the queue was full, and a new message was offered.</li></ul><h2 
id="Camel2.14.0Release-Importantchangestoconsiderwhenupgrading">Important 
changes to consider when upgrading</h2><ul><li>Java 1.6 no longer 
supported.</li><li
 >Unit testing with Spring 3.x now requires using camel-test-spring3, as 
 >camel-test-spring is for Spring 4.x<br clear="none"><br 
 >clear="none"></li></ul><h2 
 >id="Camel2.14.0Release-GettingtheDistributions">Getting the 
 >Distributions</h2><h3 id="Camel2.14.0Release-BinaryDistributions">Binary 
 >Distributions</h3><div class="table-wrap"><table 
 >class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
 >class="confluenceTh"><p>Description</p></th><th colspan="1" rowspan="1" 
 >class="confluenceTh"><p>Download Link</p></th><th colspan="1" rowspan="1" 
 >class="confluenceTh"><p>PGP Signature file of download</p></th></tr><tr><td 
 >colspan="1" rowspan="1" class="confluenceTd"><p>Windows 
 >Distribution</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a 
 >shape="rect" class="external-link" 
 >href="http://www.apache.org/dyn/closer.cgi/camel/apache-camel/2.14.0/apache-camel-2.14.0.zip";>apache-camel-2.14.0.zip</a></p></td><td
 > colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="ext
 ernal-link" 
href="http://www.apache.org/dist/camel/apache-camel/2.14.0/apache-camel-2.14.0.zip.asc";>apache-camel-2.14.0.zip.asc</a></p></td></tr><tr><td
 colspan="1" rowspan="1" class="confluenceTd"><p>Unix/Linux/Cygwin 
Distribution</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a 
shape="rect" class="external-link" 
href="http://www.apache.org/dyn/closer.cgi/camel/apache-camel/2.14.0/apache-camel-2.14.0.tar.gz";>apache-camel-2.14.0.tar.gz</a></p></td><td
 colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" 
class="external-link" 
href="http://www.apache.org/dist/camel/apache-camel/2.14.0/apache-camel-2.14.0.tar.gz.asc";>apache-camel-2.14.0.tar.gz.asc</a></p></td></tr></tbody></table></div><h3
 id="Camel2.14.0Release-SourceDistribution">Source Distribution</h3><div 
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" 
rowspan="1" class="confluenceTh"><p>Description</p></th><th colspan="1" 
rowspan="1" class="confluenceTh"><p>Download Link</p></
 th><th colspan="1" rowspan="1" class="confluenceTh"><p>PGP Signature file of 
download</p></th></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>Source</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><a shape="rect" class="external-link" 
href="http://www.apache.org/dyn/closer.cgi/camel/apache-camel/2.14.0/apache-camel-2.14.0-src.zip";>apache-camel-2.14.0-src.zip</a></p></td><td
 colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" 
class="external-link" 
href="http://www.apache.org/dist/camel/apache-camel/2.14.0/apache-camel-2.14.0-src.zip.asc";>apache-camel-2.14.0-src.zip.asc</a></p></td></tr></tbody></table></div><h3
 id="Camel2.14.0Release-GettingtheBinariesusingMaven2">Getting the Binaries 
using Maven 2</h3><p>To use this release in your maven project, the proper 
dependency configuration that you should use in your <a shape="rect" 
class="external-link" 
href="http://maven.apache.org/guides/introduction/introduction-to-the-pom.html";>Maven
 POM</a> is:</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-core&lt;/artifactId&gt;

Modified: websites/production/camel/content/dsl.html
==============================================================================
--- websites/production/camel/content/dsl.html (original)
+++ websites/production/camel/content/dsl.html Mon Jul 21 09:18:25 2014
@@ -75,7 +75,7 @@
        <tbody>
         <tr>
         <td valign="top" width="100%">
-<div class="wiki-content maincontent"><h2 id="DSL-DSL">DSL</h2><p>Camel uses a 
Java <em>Domain Specific Language</em> or DSL for creating <a shape="rect" 
href="enterprise-integration-patterns.html">Enterprise Integration Patterns</a> 
or <a shape="rect" href="routes.html">Routes</a> in a variety of 
domain-specific languages (DSL) as listed below.</p><ul><li><a shape="rect" 
href="java-dsl.html">Java DSL</a> - A Java based DSL using the fluent builder 
style.</li><li><a shape="rect" href="spring.html">Spring XML</a> - A XML based 
DSL in Spring XML files</li><li><a shape="rect" 
href="using-osgi-blueprint-with-camel.html">Blueprint XML</a> - A XML based DSL 
in OSGi Blueprint XML files</li><li>Rest DSL - A DSL to define REST services 
using a REST style in either Java or XML.</li><li><a shape="rect" 
href="groovy-dsl.html">Groovy DSL</a> - A Groovy based DSL using Groovy 
programming language</li><li><a shape="rect" href="scala-dsl.html">Scala 
DSL</a> - A Scala based DSL using Scala programmi
 ng language</li><li><a shape="rect" href="bean-integration.html">Annotation 
DSL</a> - Use annotations in Java beans.</li><li><a shape="rect" 
class="external-link" 
href="https://github.com/koolio/kool/tree/master/kool-camel"; 
rel="nofollow">Kotlin DSL</a> - <strong>Work in progress</strong> - Currently 
developed outside ASF, but will we included later in Camel when Kotlin and the 
DSL is ready.</li></ul><p>The main entry points for the DSL are</p><ul><li><a 
shape="rect" href="camelcontext.html">CamelContext</a> for creating a Camel 
routing rulebase</li><li><a shape="rect" 
href="routebuilder.html">RouteBuilder</a> for creating a collection of routes 
using the routing DSL</li></ul><h3 id="DSL-SeeAlso">See Also</h3><p>For more 
examples of the DSL in action see</p><ul><li><a shape="rect" 
href="enterprise-integration-patterns.html">Enterprise Integration 
Patterns</a></li><li><a shape="rect" 
href="examples.html">Examples</a></li><li><a shape="rect" 
href="routes.html">Routes</a></li></ul></di
 v>
+<div class="wiki-content maincontent"><h2 id="DSL-DSL">DSL</h2><p>Camel uses a 
Java <em>Domain Specific Language</em> or DSL for creating <a shape="rect" 
href="enterprise-integration-patterns.html">Enterprise Integration Patterns</a> 
or <a shape="rect" href="routes.html">Routes</a> in a variety of 
domain-specific languages (DSL) as listed below.</p><ul><li><a shape="rect" 
href="java-dsl.html">Java DSL</a> - A Java based DSL using the fluent builder 
style.</li><li><a shape="rect" href="spring.html">Spring XML</a> - A XML based 
DSL in Spring XML files</li><li><a shape="rect" 
href="using-osgi-blueprint-with-camel.html">Blueprint XML</a> - A XML based DSL 
in OSGi Blueprint XML files</li><li><a shape="rect" href="rest-dsl.html">Rest 
DSL</a> - A DSL to define REST services using a REST style in either Java or 
XML.</li><li><a shape="rect" href="groovy-dsl.html">Groovy DSL</a> - A Groovy 
based DSL using Groovy programming language</li><li><a shape="rect" 
href="scala-dsl.html">Scala DSL</a> 
 - A Scala based DSL using Scala programming language</li><li><a shape="rect" 
href="bean-integration.html">Annotation DSL</a> - Use annotations in Java 
beans.</li><li><a shape="rect" class="external-link" 
href="https://github.com/koolio/kool/tree/master/kool-camel"; 
rel="nofollow">Kotlin DSL</a> - <strong>Work in progress</strong> - Currently 
developed outside ASF, but will we included later in Camel when Kotlin and the 
DSL is ready.</li></ul><p>The main entry points for the DSL are</p><ul><li><a 
shape="rect" href="camelcontext.html">CamelContext</a> for creating a Camel 
routing rulebase</li><li><a shape="rect" 
href="routebuilder.html">RouteBuilder</a> for creating a collection of routes 
using the routing DSL</li></ul><h3 id="DSL-SeeAlso">See Also</h3><p>For more 
examples of the DSL in action see</p><ul><li><a shape="rect" 
href="enterprise-integration-patterns.html">Enterprise Integration 
Patterns</a></li><li><a shape="rect" 
href="examples.html">Examples</a></li><li><a shape="rect" hr
 ef="routes.html">Routes</a></li></ul></div>
         </td>
         <td valign="top">
           <div class="navigation">

Added: websites/production/camel/content/rest-dsl.html
==============================================================================
--- websites/production/camel/content/rest-dsl.html (added)
+++ websites/production/camel/content/rest-dsl.html Mon Jul 21 09:18:25 2014
@@ -0,0 +1,257 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+<html>
+<head>
+    <link href="//camel.apache.org/styles/site.css" rel="stylesheet" 
type="text/css">
+    <link href="//camel.apache.org/styles/type-settings.css" rel="stylesheet" 
type="text/css">
+    <script src="//camel.apache.org/styles/prototype.js" 
type="text/javascript"></script>
+    <script src="//camel.apache.org/styles/rico.js" 
type="text/javascript"></script>    
+    <script src="//camel.apache.org/styles/site.js" 
type="text/javascript"></script>
+
+    <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
+
+    <style type="text/css">
+      .maincontent { overflow:hidden; }
+    </style>
+    <!--[if IE]>
+    <style type="text/css">
+      .maincontent { width:100%; }
+    </style>
+    <![endif]-->
+
+
+  <link href='//camel.apache.org/styles/highlighter/styles/shCoreCamel.css' 
rel='stylesheet' type='text/css' />
+  <link href='//camel.apache.org/styles/highlighter/styles/shThemeCamel.css' 
rel='stylesheet' type='text/css' />
+  <script src='//camel.apache.org/styles/highlighter/scripts/shCore.js' 
type='text/javascript'></script>
+  <script src='//camel.apache.org/styles/highlighter/scripts/shBrushJava.js' 
type='text/javascript'></script>
+  
+  <script type="text/javascript">
+  SyntaxHighlighter.defaults['toolbar'] = false;
+  SyntaxHighlighter.all();
+  </script>
+
+    <title>
+    Apache Camel: Rest DSL
+    </title>
+</head>
+<body>
+<div class="white_box">
+<div class="header">
+  <div class="header_l">
+    <div class="header_r">
+    </div>
+  </div>
+</div>
+<div class="content">
+  <div class="content_l">
+    <div class="content_r">
+      <div>
+          <!-- Banner -->
+<div id="banner-content"><div id="asf_logo">
+       <div id="activemq_logo" style="height:108px; background:transparent 
url(banner.data/apache-camel-7.png) no-repeat scroll left top;">
+            <a shape="rect" style="float:left; 
width:310px;display:block;text-indent:-5000px;text-decoration:none;line-height:140px;
 margin-top:20px; margin-left:18px;" href="http://camel.apache.org/";>Camel</a>
+            <a shape="rect" style="float:right; 
width:180px;display:block;text-indent:-5000px;text-decoration:none;line-height:80px;
 margin-top:45px; margin-right:10px;" href="http://www.apache.org";>Apache</a>
+       </div>
+</div></div>
+          <!-- Banner -->
+        <div class="top_red_bar">
+          <div id="site-breadcrumbs">
+                <!-- Breadcrumbs -->
+<a href="index.html">Apache Camel</a>&nbsp;&gt;&nbsp;<a 
href="documentation.html">Documentation</a>&nbsp;&gt;&nbsp;<a 
href="architecture.html">Architecture</a>&nbsp;&gt;&nbsp;<a 
href="dsl.html">DSL</a>&nbsp;&gt;&nbsp;<a href="rest-dsl.html">Rest DSL</a>
+          </div>
+          <!-- Quicklinks -->
+<div id="site-quicklinks"><p><a shape="rect" href="download.html">Download</a> 
| <a shape="rect" href="javadoc.html">JavaDoc</a> | <a shape="rect" 
href="source.html">Source</a> | <a shape="rect" 
href="discussion-forums.html">Forums</a> | <a shape="rect" 
href="support.html">Support</a></p></div>
+          <!-- Quicklinks -->
+        </div>
+
+       <table border="0">
+       <tbody>
+        <tr>
+        <td valign="top" width="100%">
+<div class="wiki-content maincontent"><h2 id="RestDSL-RestDSL">Rest 
DSL</h2><p><strong>Available as of Camel 2.14</strong></p><p>Apache Camel 
offers a REST styled DSL which can be used with Java or XML. The intention is 
to allow end users to define REST services using a REST style with verbs such 
as get, post, delete etc.</p><h4 id="RestDSL-Howitworks">How it 
works</h4><p>The Rest DSL is a facade that builds <a shape="rect" 
href="rest.html">Rest</a>&#160;endpoints as consumers for Camel routes. The 
actual REST transport is leveraged by using Camel REST components such 
as&#160;<a shape="rect" href="restlet.html">Restlet</a>,&#160;<a shape="rect" 
href="spark-rest.html">Spark-rest</a>, and others that has native REST 
integration.</p><h3 id="RestDSL-RestDSLwithJava">Rest DSL with Java</h3><p>To 
use the Rest DSL in Java then just do as with regular Camel routes by extending 
the&#160;<code>RouteBuilder</code> and define the routes in 
the&#160;<code>configure</code> method.</p><p>A simple 
 REST service can be define as follows, where we use rest() to define the 
services as shown below:</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[    protected RouteBuilder 
createRouteBuilder() throws Exception {
+        return new RouteBuilder() {
+            @Override
+            public void configure() throws Exception {
+                rest(&quot;/say/hello&quot;)
+                    .get().to(&quot;direct:hello&quot;);
+                rest(&quot;/say/bye&quot;)
+                    
.get().consumes(&quot;application/json&quot;).to(&quot;direct:bye&quot;)
+                    .post().to(&quot;mock:update&quot;);
+
+                from(&quot;direct:hello&quot;)
+                    .transform().constant(&quot;Hello World&quot;);
+                from(&quot;direct:bye&quot;)
+                    .transform().constant(&quot;Bye World&quot;);
+            }
+        };
+    }]]></script>
+</div></div><p>&#160;</p><p>This defines a REST service with the following url 
mappings:</p><div class="table-wrap"><table 
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh">Uri template</th><th colspan="1" rowspan="1" 
class="confluenceTh">Verb</th><th colspan="1" rowspan="1" 
class="confluenceTh">Consumes</th></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">/say/hello</td><td colspan="1" rowspan="1" 
class="confluenceTd">get</td><td colspan="1" rowspan="1" 
class="confluenceTd"><em>all</em></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">/say/bye</td><td colspan="1" rowspan="1" 
class="confluenceTd">get</td><td colspan="1" rowspan="1" 
class="confluenceTd">application/json</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">/say/bye</td><td colspan="1" rowspan="1" 
class="confluenceTd">post</td><td colspan="1" rowspan="1" 
class="confluenceTd"><em>all</em></td></tr></tbody></table></div><p>Notice that 
in the REST service we
  route directly to a Camel endpoint using the to(). This is because the Rest 
DSL has a short-hand for routing directly to an endpoint using to(). An 
alternative is to embed a Camel route directly using route() - there is such an 
example further below.</p><h3 id="RestDSL-RestDSLwithXML">Rest DSL with 
XML</h3><p>The REST DSL supports the XML DSL also using either Spring or 
Blueprint. The example above can be define in XML as shown below:</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;camelContext 
xmlns=&quot;http://camel.apache.org/schema/spring&quot;&gt;
+    &lt;rest uri=&quot;/say/hello&quot;&gt;
+      &lt;get&gt;
+        &lt;to uri=&quot;direct:hello&quot;/&gt;
+      &lt;/get&gt;
+    &lt;/rest&gt;
+    &lt;rest uri=&quot;/say/bye&quot;&gt;
+      &lt;get consumes=&quot;application/json&quot;&gt;
+        &lt;to uri=&quot;direct:bye&quot;/&gt;
+      &lt;/get&gt;
+      &lt;post&gt;
+        &lt;to uri=&quot;mock:update&quot;/&gt;
+      &lt;/post&gt;
+    &lt;/rest&gt;
+    &lt;route&gt;
+      &lt;from uri=&quot;direct:hello&quot;/&gt;
+      &lt;transform&gt;
+        &lt;constant&gt;Hello World&lt;/constant&gt;
+      &lt;/transform&gt;
+    &lt;/route&gt;
+    &lt;route&gt;
+      &lt;from uri=&quot;direct:bye&quot;/&gt;
+      &lt;transform&gt;
+        &lt;constant&gt;Bye World&lt;/constant&gt;
+      &lt;/transform&gt;
+    &lt;/route&gt;
+  &lt;/camelContext&gt;]]></script>
+</div></div><p>&#160;</p><h3 id="RestDSL-Usingpathprefixes">Using path 
prefixes</h3><p>The REST DSL allows to define path prefixes to make the DSL a 
bit more DRY. For example to define a customer path, we can set the prefix in 
rest("/customer") and then provide the past postfix in the verbs, as shown 
below:</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[  rest(&quot;/customers/&quot;)
+      .get(&quot;/{id}&quot;).to(&quot;direct:customerDetail&quot;)
+      .get(&quot;/{id}/orders&quot;).to(&quot;direct:customerOrders&quot;)
+      .post(&quot;/neworder&quot;).to(&quot;direct:customerNewOrder&quot;);
+
+]]></script>
+</div></div><p>&#160;</p><p>And using XML DSL it becomes:</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;rest uri=&quot;/customers/&quot;&gt;
+      &lt;get uri=&quot;/{id}&quot;&gt;
+        &lt;to uri=&quot;direct:customerDetail&quot;/&gt;
+      &lt;/get&gt;
+      &lt;get uri=&quot;/{id}/orders&quot;&gt;
+        &lt;to uri=&quot;direct:customerOrders&quot;/&gt;
+      &lt;/get&gt;
+      &lt;post uri=&quot;/neworder&quot;&gt;
+        &lt;to uri=&quot;direct:customerNewOrder&quot;/&gt;
+      &lt;/post&gt;
+    &lt;/rest&gt;]]></script>
+</div></div>    <div class="aui-message success shadowed information-macro">
+                            <span class="aui-icon icon-success">Icon</span>
+                <div class="message-content">
+                            <p>The REST DSL will take care of duplicate path 
separators when using path prefixes. In the example above the rest path prefix 
ends with a slash ( / ) and the verb starts with a slash ( / ). But Apache 
Camel will take care of this and remove the duplicated slash.</p>
+                    </div>
+    </div>
+<p>&#160;</p><p>&#160;</p><h3 
id="RestDSL-camel-example-spark-rest-tomcat">camel-example-spark-rest-tomcat</h3><p>We
 provide an example that uses the REST DSL with the <a shape="rect" 
href="spark-rest.html">Spark Rest</a> component that can be deployed in web 
containers such as Apache Tomcat. This example defines<span style="line-height: 
1.4285715;">&#160;a single REST service which offers a GET operation that 
accepts 3 different types: plain text, json, and xml.</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[public class MySparkRouteBuilder extends 
RouteBuilder {
+    @Override
+    public void configure() throws Exception {
+
+        // configure we want to use spark-rest as the component for the rest 
DSL
+        restConfiguration().component(&quot;spark-rest&quot;);
+
+        // use the rest DSL to define rest services, and use embedded routes
+        rest(&quot;/hello/{me}&quot;)
+            .get().consumes(&quot;text/plain&quot;)
+                .route()
+                .to(&quot;log:input&quot;)
+                .transform().simple(&quot;Hello ${header.me}&quot;).endRest()
+            .get().consumes(&quot;application/json&quot;)
+                .route()
+                .to(&quot;log:input&quot;)
+                .transform().simple(&quot;{ \&quot;message\&quot;: 
\&quot;Hello ${header.me}\&quot; }&quot;).endRest()
+            .get().consumes(&quot;text/xml&quot;)
+                .route()
+                .to(&quot;log:input&quot;)
+                .transform().simple(&quot;&lt;message&gt;Hello 
${header.me}&lt;/message&gt;&quot;);
+    }
+}]]></script>
+</div></div><p>To define the REST services we use the&#160;<code>rest</code> 
method, where we can setup the path, which is "/hello/{me}". Where me refers 
the a wildcard that is mapped to Camel message header with the same key. Notice 
how we can refer to this header in the embedded Camel routes where we do <a 
shape="rect" href="message-translator.html">message 
transformation</a>.&#160;<span style="line-height: 1.4285715;">And because we 
used embedded routes, we need to define this using .route(), and to denote the 
end of the route, we use .endRest() to </span><em style="line-height: 
1.4285715;">go back</em><span style="line-height: 1.4285715;"> to the Rest DSL, 
where we can then add the 2nd, and 3rd get service.&#160;</span></p><h3 
id="RestDSL-ConfiguringRestDSL">Configuring Rest DSL</h3><p>The Rest DSL allows 
to configure the following options using a builder style</p><div 
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" 
rowspan="1" class="confluenceTh">O
 ption</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.</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">property</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 component specific options such as for <a shape="rect" 
href="restlet.html">Restlet</a> / <a shape="rect" 
href="spark-rest.html">Spark-Rest</a> 
etc.</td></tr></tbody></table></div><p>&#160;</p><p>For example to configure to 
use the spark-rest component on port 9091, then we can do 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[restConfiguration().component(&quot;spark-rest&quot;).port(9091).property(&quot;foo&quot;,
 &quot;123&quot;);]]></script>
+</div></div><p>&#160;</p><p>And with XML DSL</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;restProperty key=&quot;foo&quot; value=&quot;123&quot;/&gt;
+    &lt;/restConfiguration&gt;]]></script>
+</div></div><p>&#160;</p><p>&#160;</p><h3 id="RestDSL-SeeAlso">See 
Also</h3><ul class="alternate"><li><a shape="rect" 
href="dsl.html">DSL</a></li><li><a shape="rect" 
href="rest.html">Rest</a></li><li><a shape="rect" 
href="restlet.html">Restlet</a></li><li><a shape="rect" 
href="spark-rest.html">Spark-rest</a></li></ul></div>
+        </td>
+        <td valign="top">
+          <div class="navigation">
+            <div class="navigation_top">
+                <!-- NavigationBar -->
+<div class="navigation_bottom" id="navigation_bottom"><h3 
id="Navigation-Overview"><a shape="rect" 
href="overview.html">Overview</a></h3><ul class="alternate"><li><a shape="rect" 
href="index.html">Home</a></li><li><a shape="rect" 
href="download.html">Download</a></li><li><a shape="rect" 
href="getting-started.html">Getting Started</a></li><li><a shape="rect" 
href="faq.html">FAQ</a></li></ul><h3 id="Navigation-Documentation"><a 
shape="rect" href="documentation.html">Documentation</a></h3><ul 
class="alternate"><li><a shape="rect" href="user-guide.html">User 
Guide</a></li><li><a shape="rect" href="manual.html">Manual</a></li><li><a 
shape="rect" href="books.html">Books</a></li><li><a shape="rect" 
href="tutorials.html">Tutorials</a></li><li><a shape="rect" 
href="examples.html">Examples</a></li><li><a shape="rect" 
href="cookbook.html">Cookbook</a></li><li><a shape="rect" 
href="architecture.html">Architecture</a></li><li><a shape="rect" 
href="enterprise-integration-patterns.html">Enterprise
  Integration Patterns</a></li><li><a shape="rect" 
href="dsl.html">DSL</a></li><li><a shape="rect" 
href="components.html">Components</a></li><li><a shape="rect" 
href="data-format.html">Data Format</a></li><li><a shape="rect" 
href="languages.html">Languages</a></li><li><a shape="rect" 
href="security.html">Security</a></li><li><a shape="rect" 
href="security-advisories.html">Security Advisories</a></li></ul><h3 
id="Navigation-Search">Search</h3><form 
enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" 
action="http://www.google.com/cse";>
+  <div>
+    <input type="hidden" name="cx" value="007878419884033443453:m5nhvy4hmyq">
+    <input type="hidden" name="ie" value="UTF-8">
+    <input type="text" name="q" size="21">
+    <input type="submit" name="sa" value="Search">
+  </div>
+</form>
+<script type="text/javascript" 
src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en";></script><h3
 id="Navigation-Community"><a shape="rect" 
href="community.html">Community</a></h3><ul class="alternate"><li><a 
shape="rect" href="support.html">Support</a></li><li><a shape="rect" 
href="contributing.html">Contributing</a></li><li><a shape="rect" 
href="discussion-forums.html">Discussion Forums</a></li><li><a shape="rect" 
href="mailing-lists.html">Mailing Lists</a></li><li><a shape="rect" 
href="user-stories.html">User Stories</a></li><li><a shape="rect" 
href="news.html">News</a></li><li><a shape="rect" 
href="articles.html">Articles</a></li><li><a shape="rect" 
href="site.html">Site</a></li><li><a shape="rect" 
href="team.html">Team</a></li><li><a shape="rect" class="external-link" 
href="http://camel-extra.googlecode.com/"; rel="nofollow">Camel 
Extra</a></li></ul><h3 id="Navigation-Developers"><a shape="rect" 
href="developers.html">Developers</a></h3><ul class="alternate"
 ><li><a shape="rect" href="developers.html">Developer Guide</a></li><li><a 
 >shape="rect" href="source.html">Source</a></li><li><a shape="rect" 
 >href="building.html">Building</a></li><li><a shape="rect" 
 >href="javadoc.html">JavaDoc</a></li><li><a shape="rect" 
 >href="irc-room.html">IRC Room</a></li></ul><h3 
 >id="Navigation-ApacheSoftwareFoundation">Apache Software Foundation</h3><ul 
 >class="alternate"><li><a shape="rect" class="external-link" 
 >href="http://www.apache.org/licenses/";>License</a></li><li><a shape="rect" 
 >class="external-link" 
 >href="http://www.apache.org/foundation/sponsorship.html";>Sponsorship</a></li><li><a
 > shape="rect" class="external-link" 
 >href="http://www.apache.org/foundation/thanks.html";>Thanks</a></li><li><a 
 >shape="rect" class="external-link" 
 >href="http://www.apache.org/security/";>Security</a></li></ul></div>
+                <!-- NavigationBar -->
+            </div>
+          </div>
+        </td>
+        </tr>
+       </tbody>
+        </table>
+
+
+        <div class="bottom_red_bar"></div>
+      </div>
+    </div>
+  </div>
+</div>
+<div class="black_box">
+<div class="footer">
+  <div class="footer_l">
+    <div class="footer_r">
+      <div>
+        <a href="$base/privacy-policy.html">Privacy Policy</a> -
+        (<a 
href="https://cwiki.apache.org/confluence/pages/editpage.action?pageId=43188895";>edit
 page</a>)
+        (<a 
href="https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=43188895&amp;showComments=true&amp;showCommentArea=true#addcomment";>add
 comment</a>)
+      </div>
+    </div>
+  </div>
+</div>
+</div>
+</div>
+<div class="design_attribution">
+&copy; 2004-2014 The Apache Software Foundation.
+<br>          
+Apache Camel, Camel, Apache, the Apache feather logo, and the Apache Camel 
project logo are trademarks of The Apache Software Foundation.  All other marks 
mentioned may be trademarks or registered trademarks of their respective owners.
+<br>
+<a href="http://hiramchirino.com";>Graphic Design By Hiram</a>
+</div>
+
+<!-- Camel committers that would like access to the Analytics, send a note to 
priv...@camel.apache.org -->
+<script type="text/javascript">
+
+  var _gaq = _gaq || [];
+  _gaq.push(['_setAccount', 'UA-25976253-1']);
+  _gaq.push(['_trackPageview']);
+
+  (function() {
+    var ga = document.createElement('script'); ga.type = 'text/javascript'; 
ga.async = true;
+    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 
'http://www') + '.google-analytics.com/ga.js';
+    var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(ga, s);
+  })();
+
+</script>
+
+</body>
+</html>
+
+

Modified: websites/production/camel/content/rest.html
==============================================================================
--- websites/production/camel/content/rest.html (original)
+++ websites/production/camel/content/rest.html Mon Jul 21 09:18:25 2014
@@ -86,7 +86,7 @@
        <tbody>
         <tr>
         <td valign="top" width="100%">
-<div class="wiki-content maincontent"><h2 id="Rest-RestComponent">Rest 
Component</h2><p><strong>Available as of Camel 2.14</strong></p><p>The rest 
component allows to define REST endpoints using the Rest DSL and plugin to 
other Camel components as the REST transport.</p><p>&#160;</p><h3 
id="Rest-URIformat">URI format</h3><div class="code panel pdl" 
style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<div class="wiki-content maincontent"><h2 id="Rest-RestComponent">Rest 
Component</h2><p><strong>Available as of Camel 2.14</strong></p><p>The rest 
component allows to define REST endpoints using the <a shape="rect" 
href="rest-dsl.html">Rest DSL</a> and plugin to other Camel components as the 
REST transport.</p><p>&#160;</p><h3 id="Rest-URIformat">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[  rest://verb:path?[options]
 ]]></script>
 </div></div><h3 id="Rest-URIOptions"><span style="line-height: 
1.5625;font-size: 16.0px;">URI Options</span></h3><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> verb </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>&#160;</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> get, post, put, patch, delete, head, trace, connect, 
or options. </p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p> path </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>&#160;</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> the content path which support REST syntax. See 
further below for examples. </p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p> consumes </p
 ></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td><td 
 >colspan="1" rowspan="1" class="confluenceTd"><p> accept type such as: 
 >'text/xml', or 'application/json'. By default we accept all kinds of types. 
 ></p></td></tr></tbody></table>
@@ -96,8 +96,8 @@
 </div></div><p>And the following route uses a parameter which is mapped to a 
Camel header with the key "me".</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[  from(&quot;rest:get:hello/{me}&quot;)
     .transform().simple(&quot;Bye ${header.me}&quot;);]]></script>
-</div></div><h3 id="Rest-Moreexamples"><span style="line-height: 1.5625;">More 
examples</span></h3><p>There is a 
<strong>camel-example-spark-rest-tomcat</strong> example in the Apache Camel 
distribution, that demonstrates how to use the Rest DSL with the&#160;<a 
shape="rect" href="spark-rest.html">Spark-rest</a> as transport<span 
style="line-height: 1.4285715;">&#160;that can be deployed on Apache Tomcat, or 
similar web containers.</span></p><p></p><h3 id="Rest-SeeAlso">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 
style="list-style-type: square;"><li><a shape="rect" 
href="spark-rest.html">Spark-rest</a></li></ul></div>
+</div></div><h3 id="Rest-Moreexamples"><span style="line-height: 1.5625;">More 
examples</span></h3><p>There is a 
<strong>camel-example-spark-rest-tomcat</strong> example in the Apache Camel 
distribution, that demonstrates how to use the <a shape="rect" 
href="rest-dsl.html">Rest DSL</a> with the&#160;<a shape="rect" 
href="spark-rest.html">Spark-rest</a> as transport<span style="line-height: 
1.4285715;">&#160;that can be deployed on Apache Tomcat, or similar web 
containers.</span></p><p></p><h3 id="Rest-SeeAlso">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 
style="list-style-type: square;"><li><a shape="rect" href="rest-dsl.html">Rest 
DSL</a></li><li><a shape="rect" 
href="spark-rest.html">Spark-rest</a></li></ul></div>
         </td>
         <td valign="top">
           <div class="navigation">


Reply via email to