Author: buildbot
Date: Fri Jan 17 14:21:26 2014
New Revision: 894517

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/netty-http.html

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

Modified: websites/production/camel/content/netty-http.html
==============================================================================
--- websites/production/camel/content/netty-http.html (original)
+++ websites/production/camel/content/netty-http.html Fri Jan 17 14:21:26 2014
@@ -86,94 +86,45 @@
        <tbody>
         <tr>
         <td valign="top" width="100%">
-<div class="wiki-content maincontent"><h2 
id="NettyHTTP-NettyHTTPComponent">Netty HTTP Component</h2>
-<p><strong>Available as of Camel 2.12</strong></p>
-
-<p>The <strong>netty-http</strong> component is an extension to <a 
shape="rect" href="netty.html">Netty</a> component to facilitiate HTTP 
transport with <a shape="rect" href="netty.html">Netty</a>.</p>
-
-<p>This camel component supports both producer and consumer endpoints.</p>
-
-    <div class="aui-message hint shadowed information-macro">
+<div class="wiki-content maincontent"><h2 
id="NettyHTTP-NettyHTTPComponent">Netty HTTP Component</h2><p><strong>Available 
as of Camel 2.12</strong></p><p>The <strong>netty-http</strong> component is an 
extension to <a shape="rect" href="netty.html">Netty</a> component to 
facilitiate HTTP transport with <a shape="rect" 
href="netty.html">Netty</a>.</p><p>This camel component supports both producer 
and consumer endpoints.</p>    <div class="aui-message hint shadowed 
information-macro">
                     <p class="title">Upgrade to Netty 4.0 planned</p>
                             <span class="aui-icon icon-hint">Icon</span>
                 <div class="message-content">
-                            
-<p>This component is intended to be upgraded to use Netty 4.0 when 
<code>camel-netty4</code> component has finished being upgraded. At the time 
being this component is still based on Netty 3.x. The upgrade is intended to be 
as backwards compatible as possible.</p>
+                            <p>This component is intended to be upgraded to 
use Netty 4.0 when <code>camel-netty4</code> component has finished being 
upgraded. At the time being this component is still based on Netty 3.x. The 
upgrade is intended to be as backwards compatible as possible.</p>
                     </div>
     </div>
-
-
     <div class="aui-message hint shadowed information-macro">
                     <p class="title">Stream</p>
                             <span class="aui-icon icon-hint">Icon</span>
                 <div class="message-content">
-                            
-<p>Netty is stream based, which means the input it receives is submitted to 
Camel as a stream. That means you will only be able to read the content of the 
stream <strong>once</strong>.<br clear="none">
-If you find a situation where the message body appears to be empty or you need 
to access the data multiple times (eg: doing multicasting, or redelivery error 
handling)<br clear="none">
-you should use <a shape="rect" href="stream-caching.html">Stream Caching</a> 
or convert the message body to a <code>String</code> which is safe to be 
re-read multiple times.</p>
+                            <p>Netty is stream based, which means the input it 
receives is submitted to Camel as a stream. That means you will only be able to 
read the content of the stream <strong>once</strong>.<br clear="none"> If you 
find a situation where the message body appears to be empty or you need to 
access the data multiple times (eg: doing multicasting, or redelivery error 
handling)<br clear="none"> you should use <a shape="rect" 
href="stream-caching.html">Stream caching</a> or convert the message body to a 
<code>String</code> which is safe to be re-read multiple times.</p>
                     </div>
     </div>
-
-
-<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;
+<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-netty-http&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="NettyHTTP-URIformat">URI format</h3>
-
-<p>The URI scheme for a netty component is 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[
-netty-http:http://localhost:8080[?options]
+</div></div><h3 id="NettyHTTP-URIformat">URI format</h3><p>The URI scheme for 
a netty component is 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[netty-http:http://localhost:8080[?options]
 ]]></script>
-</div></div>
-
-<p>You can append query options to the URI in the following format, 
<code>?option=value&amp;option=value&amp;...</code></p>
-
-<h3 id="NettyHTTP-HTTPOptions">HTTP Options</h3>
-
-    <div class="aui-message hint shadowed information-macro">
+</div></div><p>You can append query options to the URI in the following 
format, <code>?option=value&amp;option=value&amp;...</code></p><h3 
id="NettyHTTP-HTTPOptions">HTTP Options</h3>    <div class="aui-message hint 
shadowed information-macro">
                     <p class="title">A lot more options</p>
                             <span class="aui-icon icon-hint">Icon</span>
                 <div class="message-content">
-                            
-<p><strong>Important:</strong> This component inherits all the options from <a 
shape="rect" href="netty.html">Netty</a>. So make sure to look at the <a 
shape="rect" href="netty.html">Netty</a> documentation as well.<br clear="none">
-Notice that some options from <a shape="rect" href="netty.html">Netty</a> is 
not applicable when using this <a shape="rect" href="netty-http.html">Netty 
HTTP</a> component, such as options related to UDP transport.</p>
+                            <p><strong>Important:</strong> This component 
inherits all the options from <a shape="rect" href="netty.html">Netty</a>. So 
make sure to look at the <a shape="rect" href="netty.html">Netty</a> 
documentation as well.<br clear="none"> Notice that some options from <a 
shape="rect" href="netty.html">Netty</a> is not applicable when using this <a 
shape="rect" href="netty-http.html">Netty HTTP</a> component, such as options 
related to UDP transport.</p>
                     </div>
     </div>
-
-
 <div class="confluenceTableSmall">
 <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>chunkedMaxContentLength</code> 
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>1mb</code> 
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Value in bytes 
the max content length per chunked frame received on the Netty HTTP server. 
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> 
<code>compression</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>false</code> </p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> Allow using gzip/deflate for compression 
on the Netty HTTP server if the client supports it from the HTTP headers. 
</p></td></tr><tr><td colspan="1" rowspan="1" class="
 confluenceTd"><p> <code>headerFilterStrategy</code> </p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>&#160;</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> To use a custom  
<code>org.apache.camel.spi.HeaderFilterStrategy</code> to filter headers. 
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> 
<code>httpMethodRestrict</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>&#160;</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> To disable HTTP methods on the Netty HTTP consumer. 
You can specify multiple separated by comma. </p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p> <code>mapHeaders</code> </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> <code>true</code> </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> If this option is enabled, 
then during binding from Netty to Camel <a shape="rect" href="message.html" 
title="Message">Message</a> then the headers will be map
 ped as well (eg added as header to the Camel <a shape="rect" 
href="message.html" title="Message">Message</a> as well). You can turn off this 
option to disable this. The headers can still be accessed from the 
<code>org.apache.camel.component.netty.http.NettyHttpMessage</code> message 
with the method <code>getHttpRequest()</code> that returns the Netty HTTP 
request <code>org.jboss.netty.handler.codec.http.HttpRequest</code> instance. 
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> 
<code>matchOnUriPrefix</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>false</code> </p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> Whether or not Camel should try to find a 
target consumer by matching the URI prefix if no exact match is found. See 
further below for more details. </p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>nettyHttpBinding</code> </p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>&#160;
 </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> To use a custom 
<code>org.apache.camel.component.netty.http.NettyHttpBinding</code> for binding 
to/from Netty and Camel Message API. </p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p> <code>bridgeEndpoint</code> </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> <code>false</code> 
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> If the option is 
<code>true</code>, the producer will ignore the <code>Exchange.HTTP_URI</code> 
header, and use the endpoint's URI for request. You may also set the 
<code>throwExceptionOnFailure</code> to be <code>false</code> to let the 
producer send all the fault response back. </p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p> <code>throwExceptionOnFailure</code> 
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>true</code> 
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Option to disable 
throwing th
 e <code>HttpOperationFailedException</code> in case of failed responses from 
the remote server. This allows you to get all responses regardles of the HTTP 
status code. </p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>traceEnabled</code> </p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> <code>false</code> </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> Specifies whether to enable 
HTTP TRACE for this Netty HTTP consumer. By default TRACE is turned off. 
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> 
<code>transferException</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>false</code> </p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> If enabled and an <a shape="rect" 
href="exchange.html" title="Exchange">Exchange</a> failed processing on the 
consumer side, and if the caused Exception was send back serialized in the 
response as a <code>application/x-java-serialized-object</
 code> content type. On the producer side the exception will be deserialized 
and thrown as is, instead of the <code>HttpOperationFailedException</code>. The 
caused exception is required to be serialized. </p></td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"><p> <code>urlDecodeHeaders</code> 
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> If this option is enabled, 
then during binding from Netty to Camel <a shape="rect" href="message.html" 
title="Message">Message</a> then the header values will be URL decoded (eg %20 
will be a space character. Notice this option is used by the default 
<code>org.apache.camel.component.netty.http.NettyHttpBinding</code> and 
therefore if you implement a custom 
<code>org.apache.camel.component.netty.http.NettyHttpBinding</code> then you 
would need to decode the headers accordingly to this option. 
<strong>Notice:</strong> This option is default <code>true</code> f
 or Camel 2.12.x, and default <code>false</code> from Camel 2.13 onwards. 
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> 
<code>nettySharedHttpServer</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>null</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> To use a shared <a shape="rect" href="netty-http.html" 
title="Netty HTTP">Netty HTTP</a> server. See <a shape="rect" 
href="netty-http-server-example.html" title="Netty HTTP Server Example">Netty 
HTTP Server Example</a> for more details. </p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p> <code>disableStreamCache</code> 
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> 
<code>false</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> Determines whether or not the raw input stream from 
Netty <code>HttpRequest#getContent()</code> is cached or not (Camel will read 
the stream into a in light-weight memory based Stream caching) 
 cache. By default Camel will cache the Netty input stream to support reading 
it multiple times to ensure it Camel can retrieve all data from the stream. 
However you can set this option to <code>true</code> when you for example need 
to access the raw stream, such as streaming it directly to a file or other 
persistent store. Mind that if you enable this option, then you cannot read the 
Netty stream multiple times out of the box, and you would need manually to 
reset the reader index on the Netty raw stream. </p></td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"><p> 
<code>securityConfiguration</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>null</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <strong>Consumer only</strong>. Refers to a 
<code>org.apache.camel.component.netty.http.NettyHttpSecurityConfiguration</code>
 for configuring secure web resources. </p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p> <cod
 e>send503whenSuspended</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>true</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <strong>Consumer only</strong>. Whether to send back 
HTTP status code 503 when the consumer has been suspended. If the option is 
<code>false</code> then the Netty Acceptor is unbound when the consumer is 
suspended, so clients cannot connect anymore. </p></td></tr></tbody></table>
-</div>
-
-<p>The <code>NettyHttpSecurityConfiguration</code> has the following 
options:</p>
-<div class="confluenceTableSmall">
+</div><p>The <code>NettyHttpSecurityConfiguration</code> has the following 
options:</p><div class="confluenceTableSmall">
 <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>authenticate</code> </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> <code>true</code> </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> Whether authentication is 
enabled. Can be used to quickly turn this off. </p></td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"><p> <code>constraint</code> 
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> 
<code>Basic</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> The constraint supported. Currently only 
<code>Basic</code> is implemented and supported. </p></td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"><p> <code>realm</code> 
</p></td><td cols
 pan="1" rowspan="1" class="confluenceTd"><p> <code>null</code> </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> The name of the JAAS security 
realm. This option is mandatory. </p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>securityConstraint</code> </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> <code>null</code> </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> Allows to plugin a security 
constraint mapper where you can define ACL to web resources. 
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> 
<code>securityAuthenticator</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>null</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> Allows to plugin a authenticator that performs the 
authentication. If none has been configured then the 
<code>org.apache.camel.component.netty.http.JAASSecurityAuthenticator</code> is 
used by default. </p></td></tr><tr><td cols
 pan="1" rowspan="1" class="confluenceTd"><p> 
<code>loginDeniedLoggingLevel</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>DEBUG</code> </p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> Logging level used when a login attempt 
failed, which allows to see more details why the login failed. 
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> 
<code>roleClassName</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>null</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> To specify FQN class names of <code>Principal</code> 
implementations that contains user roles. If none has been specified, then the 
<a shape="rect" href="netty-http.html" title="Netty HTTP">Netty HTTP</a> 
component will by default assume a <code>Principal</code> is role based if its 
FQN classname has the lower-case word <code>role</code> in its classname. You 
can specify multiple class names separated by comma. </p></td></tr>
 </tbody></table>
-</div>
-
-<h3 id="NettyHTTP-MessageHeaders">Message Headers</h3>
-
-<p>The following headers can be used on the producer to control the HTTP 
request.</p>
-
-<div class="confluenceTableSmall">
+</div><h3 id="NettyHTTP-MessageHeaders">Message Headers</h3><p>The following 
headers can be used on the producer to control the HTTP request.</p><div 
class="confluenceTableSmall">
 <table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh"><p> Name </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>CamelHttpMethod</code> </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> <code>String</code> 
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Allow to control 
what HTTP method to use such as GET, POST, TRACE etc. The type can also be a 
<code>org.jboss.netty.handler.codec.http.HttpMethod</code> instance. 
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> 
<code>CamelHttpQuery</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>String</code> </p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> Allows to provide URI query parameters as 
a <code>String</code> value that overrides the endpoint configur
 ation. Separate multiple parameters using the &amp; sign. For example: 
<code>foo=bar&amp;beer=yes</code>. </p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p> <code>Content-Type</code> </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> <code>String</code> 
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> To set the 
content-type of the HTTP body. For example: <code>text/plain; 
charset="UTF-8"</code>. </p></td></tr></tbody></table>
-</div>
-
-<p>The following headers is provided as meta-data when a route starts from an 
<a shape="rect" href="netty-http.html">Netty HTTP</a> endpoint:</p>
-
-<p>The description in the table takes offset in a route having: 
<code>from("netty-http:http:0.0.0.0:8080/myapp")...</code> </p>
-
-<div class="confluenceTableSmall">
+</div><p>The following headers is provided as meta-data when a route starts 
from an <a shape="rect" href="netty-http.html">Netty HTTP</a> 
endpoint:</p><p>The description in the table takes offset in a route having: 
<code>from("netty-http:http:0.0.0.0:8080/myapp")...</code></p><div 
class="confluenceTableSmall">
 <table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh"><p> Name </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>CamelHttpMethod</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 HTTP method 
used, such as GET, POST, TRACE etc. </p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p> <code>CamelHttpUrl</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 URL including 
protocol, host and port, etc: </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[http://0.0.0.0:8080/myapp]]></script>
@@ -182,77 +133,29 @@ Notice that some options from <a shape="
 <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[/myapp]]></script>
 </div></div>
-<p> </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> 
<code>CamelHttpQuery</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>String</code> </p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> Any query parameters, such as 
<code>foo=bar&amp;beer=yes</code> </p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>CamelHttpPath</code> </p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> <code>String</code> </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> Additional context-path. This 
value is empty if the client called the context-path <code>/myapp</code>. If 
the client calls <code>/myapp/mystuff</code>, then this header value is 
<code>/mystuff</code>. In other words its the value after the context-path 
configured on the route endpoint. </p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>CamelHttpCharacterEncoding</code> </p></td><td 
colspan="1" rowspan="1" class="c
 onfluenceTd"><p> <code>String</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> The charset from the content-type header. 
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> 
<code>CamelHttpAuthentication</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>String</code> </p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> If the user was authenticated using HTTP 
Basic then this header is added with the value <code>Basic</code>. 
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> 
<code>Content-Type</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 if provided. For example: 
<code>text/plain; charset="UTF-8"</code>. </p></td></tr></tbody></table>
-</div>
-
-
-<h3 id="NettyHTTP-AccesstoNettytypes">Access to Netty types</h3>
-
-<p>This component uses the 
<code>org.apache.camel.component.netty.http.NettyHttpMessage</code> as the 
message implementation on the <a shape="rect" 
href="exchange.html">Exchange</a>. This allows end users to get access to the 
original Netty request/response instances if needed, 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[
-org.jboss.netty.handler.codec.http.HttpRequest request = 
exchange.getIn(NettyHttpMessage.class).getHttpRequest();
+<p> </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> 
<code>CamelHttpQuery</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>String</code> </p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> Any query parameters, such as 
<code>foo=bar&amp;beer=yes</code> </p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>CamelHttpRawQuery</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.13.0</strong>: Any query parameters, such as 
<code>foo=bar&amp;beer=yes</code>. Stored in the raw form, as they arrived to 
the consumer (i.e. before URL decoding). </p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p> <code>CamelHttpPath</code> </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> <code>String</code> 
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Additional context
 -path. This value is empty if the client called the context-path 
<code>/myapp</code>. If the client calls <code>/myapp/mystuff</code>, then this 
header value is <code>/mystuff</code>. In other words its the value after the 
context-path configured on the route endpoint. </p></td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"><p> 
<code>CamelHttpCharacterEncoding</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 charset from the content-type header. 
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> 
<code>CamelHttpAuthentication</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>String</code> </p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> If the user was authenticated using HTTP 
Basic then this header is added with the value <code>Basic</code>. 
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
  <code>Content-Type</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 if provided. For example: 
<code>text/plain; charset="UTF-8"</code>. </p></td></tr></tbody></table>
+</div><h3 id="NettyHTTP-AccesstoNettytypes">Access to Netty types</h3><p>This 
component uses the 
<code>org.apache.camel.component.netty.http.NettyHttpMessage</code> as the 
message implementation on the <a shape="rect" 
href="exchange.html">Exchange</a>. This allows end users to get access to the 
original Netty request/response instances if needed, 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[org.jboss.netty.handler.codec.http.HttpRequest
 request = exchange.getIn(NettyHttpMessage.class).getHttpRequest();
 ]]></script>
-</div></div>
-
-<h3 id="NettyHTTP-Examples">Examples</h3>
-
-<p>In the route below we use <a shape="rect" href="netty-http.html">Netty 
HTTP</a> as a HTTP server, which returns back a hardcoded "Bye World" message. 
</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;netty-http:http://0.0.0.0:8080/foo&quot;)
+</div></div><h3 id="NettyHTTP-Examples">Examples</h3><p>In the route below we 
use <a shape="rect" href="netty-http.html">Netty HTTP</a> as a HTTP server, 
which returns back a hardcoded "Bye World" message.</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;netty-http:http://0.0.0.0:8080/foo&quot;)
       .transform().constant(&quot;Bye World&quot;);
 ]]></script>
-</div></div>
-
-<p>And we can call this HTTP server using Camel also, with the <a shape="rect" 
href="producertemplate.html">ProducerTemplate</a> 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[
-    String out = 
template.requestBody(&quot;netty-http:http://localhost:8080/foo&quot;, 
&quot;Hello World&quot;, String.class);
+</div></div><p>And we can call this HTTP server using Camel also, with the <a 
shape="rect" href="producertemplate.html">ProducerTemplate</a> 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[    String out = 
template.requestBody(&quot;netty-http:http://localhost:8080/foo&quot;, 
&quot;Hello World&quot;, String.class);
     System.out.println(out);
 ]]></script>
-</div></div>
-
-<p>And we get back "Bye World" as the output.</p>
-
-<h3 id="NettyHTTP-HowdoIletNettymatchwildcards">How do I let Netty match 
wildcards</h3>
-
-<p>By default <a shape="rect" href="netty-http.html">Netty HTTP</a> will only 
match on exact uri's. But you can instruct Netty to match prefixes. For 
example</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;netty-http:http://0.0.0.0:8123/foo&quot;).to(&quot;mock:foo&quot;);
+</div></div><p>And we get back "Bye World" as the output.</p><h3 
id="NettyHTTP-HowdoIletNettymatchwildcards">How do I let Netty match 
wildcards</h3><p>By default <a shape="rect" href="netty-http.html">Netty 
HTTP</a> will only match on exact uri's. But you can instruct Netty to match 
prefixes. For example</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;netty-http:http://0.0.0.0:8123/foo&quot;).to(&quot;mock:foo&quot;);
 ]]></script>
-</div></div>
-
-<p>In the route above <a shape="rect" href="netty-http.html">Netty HTTP</a> 
will only match if the uri is an exact match, so it will match if you enter<br 
clear="none">
-<code><a shape="rect" class="external-link" href="http://0.0.0.0:8123/foo"; 
rel="nofollow">http://0.0.0.0:8123/foo</a></code> but not match if you do 
<code><a shape="rect" class="external-link" href="http://0.0.0.0:8123/foo/bar"; 
rel="nofollow">http://0.0.0.0:8123/foo/bar</a></code>.</p>
-
-<p>So if you want to enable wildcard matching you 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[
-from(&quot;netty-http:http://0.0.0.0:8123/foo?matchOnUriPrefix=true&quot;).to(&quot;mock:foo&quot;);
+</div></div><p>In the route above <a shape="rect" href="netty-http.html">Netty 
HTTP</a> will only match if the uri is an exact match, so it will match if you 
enter<br clear="none"> <code><a shape="rect" class="external-link" 
href="http://0.0.0.0:8123/foo"; 
rel="nofollow">http://0.0.0.0:8123/foo</a></code> but not match if you do 
<code><a shape="rect" class="external-link" href="http://0.0.0.0:8123/foo/bar"; 
rel="nofollow">http://0.0.0.0:8123/foo/bar</a></code>.</p><p>So if you want to 
enable wildcard matching you 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[from(&quot;netty-http:http://0.0.0.0:8123/foo?matchOnUriPrefix=true&quot;).to(&quot;mock:foo&quot;);
 ]]></script>
-</div></div>
-<p>So now Netty matches any endpoints with starts with <code>foo</code>.</p>
-
-<p>To match <strong>any</strong> endpoint you can do:</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;netty-http:http://0.0.0.0:8123?matchOnUriPrefix=true&quot;).to(&quot;mock:foo&quot;);
+</div></div><p>So now Netty matches any endpoints with starts with 
<code>foo</code>.</p><p>To match <strong>any</strong> endpoint you can 
do:</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;netty-http:http://0.0.0.0:8123?matchOnUriPrefix=true&quot;).to(&quot;mock:foo&quot;);
 ]]></script>
-</div></div>
-
-<h3 id="NettyHTTP-Usingmultiplerouteswithsameport">Using multiple routes with 
same port</h3>
-
-<p>In the same <a shape="rect" href="camelcontext.html">CamelContext</a> you 
can have multiple routes from <a shape="rect" href="netty-http.html">Netty 
HTTP</a> that shares the same port (eg a 
<code>org.jboss.netty.bootstrap.ServerBootstrap</code> instance). Doing this 
requires a number of bootstrap options to be identical in the routes, as the 
routes will share the same 
<code>org.jboss.netty.bootstrap.ServerBootstrap</code> instance. The instance 
will be configured with the options from the first route created.</p>
-
-<p>The options the routes must be identical configured is all the options 
defined in the 
<code>org.apache.camel.component.netty.NettyServerBootstrapConfiguration</code> 
configuration class. If you have configured another route with different 
options, Camel will throw an exception on startup, indicating the options is 
not identical. To mitigate this ensure all options is identical.</p>
-
-<p>Here is an example with two routes that share the same port.</p>
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader 
panelHeader pdl" style="border-bottom-width: 1px;"><b>Two routes sharing the 
same port</b></div><div class="codeContent panelContent pdl">
-<script class="theme: Default; brush: java; gutter: false" 
type="syntaxhighlighter"><![CDATA[
-from(&quot;netty-http:http://0.0.0.0:{{port}}/foo&quot;)
+</div></div><h3 id="NettyHTTP-Usingmultiplerouteswithsameport">Using multiple 
routes with same port</h3><p>In the same <a shape="rect" 
href="camelcontext.html">CamelContext</a> you can have multiple routes from <a 
shape="rect" href="netty-http.html">Netty HTTP</a> that shares the same port 
(eg a <code>org.jboss.netty.bootstrap.ServerBootstrap</code> instance). Doing 
this requires a number of bootstrap options to be identical in the routes, as 
the routes will share the same 
<code>org.jboss.netty.bootstrap.ServerBootstrap</code> instance. The instance 
will be configured with the options from the first route created.</p><p>The 
options the routes must be identical configured is all the options defined in 
the 
<code>org.apache.camel.component.netty.NettyServerBootstrapConfiguration</code> 
configuration class. If you have configured another route with different 
options, Camel will throw an exception on startup, indicating the options is 
not identical. To mitigate this ensure all options is
  identical.</p><p>Here is an example with two routes that share the same 
port.</p><div class="code panel pdl" style="border-width: 1px;"><div 
class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;"><b>Two 
routes sharing the same port</b></div><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" 
type="syntaxhighlighter"><![CDATA[from(&quot;netty-http:http://0.0.0.0:{{port}}/foo&quot;)
   .to(&quot;mock:foo&quot;)
   .transform().constant(&quot;Bye World&quot;);
 
@@ -260,12 +163,8 @@ from(&quot;netty-http:http://0.0.0.0:{{p
   .to(&quot;mock:bar&quot;)
   .transform().constant(&quot;Bye Camel&quot;);
 ]]></script>
-</div></div>
-
-<p>And here is an example of a mis configured 2nd route that do not have 
identical 
<code>org.apache.camel.component.netty.NettyServerBootstrapConfiguration</code> 
option as the 1st route. This will cause Camel to fail on startup.</p>
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader 
panelHeader pdl" style="border-bottom-width: 1px;"><b>Two routes sharing the 
same port, but the 2nd route is misconfigured and will fail on 
starting</b></div><div class="codeContent panelContent pdl">
-<script class="theme: Default; brush: java; gutter: false" 
type="syntaxhighlighter"><![CDATA[
-from(&quot;netty-http:http://0.0.0.0:{{port}}/foo&quot;)
+</div></div><p>And here is an example of a mis configured 2nd route that do 
not have identical 
<code>org.apache.camel.component.netty.NettyServerBootstrapConfiguration</code> 
option as the 1st route. This will cause Camel to fail on startup.</p><div 
class="code panel pdl" style="border-width: 1px;"><div class="codeHeader 
panelHeader pdl" style="border-bottom-width: 1px;"><b>Two routes sharing the 
same port, but the 2nd route is misconfigured and will fail on 
starting</b></div><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" 
type="syntaxhighlighter"><![CDATA[from(&quot;netty-http:http://0.0.0.0:{{port}}/foo&quot;)
   .to(&quot;mock:foo&quot;)
   .transform().constant(&quot;Bye World&quot;);
 
@@ -274,26 +173,15 @@ from(&quot;netty-http:http://0.0.0.0:{{p
   .to(&quot;mock:bar&quot;)
   .transform().constant(&quot;Bye Camel&quot;);
 ]]></script>
-</div></div>
-
-<h4 
id="NettyHTTP-Reusingsameserverbootstrapconfigurationwithmultipleroutes">Reusing
 same server bootstrap configuration with multiple routes</h4>
-
-<p>By configuring the common server bootstrap option in an single instance of 
a 
<code>org.apache.camel.component.netty.NettyServerBootstrapConfiguration</code> 
type, we can use the <code>bootstrapConfiguration</code> option on the <a 
shape="rect" href="netty-http.html">Netty HTTP</a> consumers to refer and reuse 
the same options across all consumers.</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;bean id=&quot;nettyHttpBootstrapOptions&quot; 
class=&quot;org.apache.camel.component.netty.NettyServerBootstrapConfiguration&quot;&gt;
+</div></div><h4 
id="NettyHTTP-Reusingsameserverbootstrapconfigurationwithmultipleroutes">Reusing
 same server bootstrap configuration with multiple routes</h4><p>By configuring 
the common server bootstrap option in an single instance of a 
<code>org.apache.camel.component.netty.NettyServerBootstrapConfiguration</code> 
type, we can use the <code>bootstrapConfiguration</code> option on the <a 
shape="rect" href="netty-http.html">Netty HTTP</a> consumers to refer and reuse 
the same options across all consumers.</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;bean 
id=&quot;nettyHttpBootstrapOptions&quot; 
class=&quot;org.apache.camel.component.netty.NettyServerBootstrapConfiguration&quot;&gt;
   &lt;property name=&quot;backlog&quot; value=&quot;200&quot;/&gt;
   &lt;property name=&quot;connectionTimeout&quot; value=&quot;20000&quot;/&gt;
   &lt;property name=&quot;workerCount&quot; value=&quot;16&quot;/&gt;
 &lt;/bean&gt;
 ]]></script>
-</div></div>
-
-<p>And in the routes you refer to this option as shown below</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;route&gt;
+</div></div><p>And in the routes you refer to this option as shown 
below</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;route&gt;
   &lt;from 
uri=&quot;netty-http:http://0.0.0.0:{{port}}/foo?bootstrapConfiguration=#nettyHttpBootstrapOptions&quot;/&gt;
   ...
 &lt;/route&gt;
@@ -308,37 +196,14 @@ from(&quot;netty-http:http://0.0.0.0:{{p
   ...
 &lt;/route&gt;
 ]]></script>
-</div></div>
-
-<h4 
id="NettyHTTP-ReusingsameserverbootstrapconfigurationwithmultipleroutesacrossmultiplebundlesinOSGicontainer">Reusing
 same server bootstrap configuration with multiple routes across multiple 
bundles in OSGi container</h4>
-
-<p>See the <a shape="rect" href="netty-http-server-example.html">Netty HTTP 
Server Example</a> for more details and example how to do that.</p>
-
-
-<h3 id="NettyHTTP-UsingHTTPBasicAuthentication">Using HTTP Basic 
Authentication</h3>
-
-<p>The <a shape="rect" href="netty-http.html">Netty HTTP</a> consumer supports 
HTTP basic authentication by specifying the security realm name to use, 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;route&gt;
+</div></div><h4 
id="NettyHTTP-ReusingsameserverbootstrapconfigurationwithmultipleroutesacrossmultiplebundlesinOSGicontainer">Reusing
 same server bootstrap configuration with multiple routes across multiple 
bundles in OSGi container</h4><p>See the <a shape="rect" 
href="netty-http-server-example.html">Netty HTTP Server Example</a> for more 
details and example how to do that.</p><h3 
id="NettyHTTP-UsingHTTPBasicAuthentication">Using HTTP Basic 
Authentication</h3><p>The <a shape="rect" href="netty-http.html">Netty HTTP</a> 
consumer supports HTTP basic authentication by specifying the security realm 
name to use, 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;route&gt;
    &lt;from 
uri=&quot;netty-http:http://0.0.0.0:{{port}}/foo?securityConfiguration.realm=karaf&quot;/&gt;
    ...
 &lt;/route&gt;
 ]]></script>
-</div></div>
-
-<p>The realm name is mandatory to enable basic authentication. By default the 
JAAS based authenticator is used, which will use the realm name specified 
(karaf in the example above) and use the JAAS realm and the JAAS 
{{LoginModule}}s of this realm for authentication.</p>
-
-<p>End user of Apache Karaf / ServiceMix has a karaf realm out of the box, and 
hence why the example above would work out of the box in these containers.</p>
-
-<h4 id="NettyHTTP-SpecifyingACLonwebresources">Specifying ACL on web 
resources</h4>
-
-<p>The <code>org.apache.camel.component.netty.http.SecurityConstraint</code> 
allows to define constrains on web resources. And the 
<code>org.apache.camel.component.netty.http.SecurityConstraintMapping</code> is 
provided out of the box, allowing to easily define inclusions and exclusions 
with roles.</p>
-
-<p>For example as shown below in the XML DSL, we define the constraint 
bean:</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;bean id=&quot;constraint&quot; 
class=&quot;org.apache.camel.component.netty.http.SecurityConstraintMapping&quot;&gt;
+</div></div><p>The realm name is mandatory to enable basic authentication. By 
default the JAAS based authenticator is used, which will use the realm name 
specified (karaf in the example above) and use the JAAS realm and the JAAS 
{{LoginModule}}s of this realm for authentication.</p><p>End user of Apache 
Karaf / ServiceMix has a karaf realm out of the box, and hence why the example 
above would work out of the box in these containers.</p><h4 
id="NettyHTTP-SpecifyingACLonwebresources">Specifying ACL on web 
resources</h4><p>The 
<code>org.apache.camel.component.netty.http.SecurityConstraint</code> allows to 
define constrains on web resources. And the 
<code>org.apache.camel.component.netty.http.SecurityConstraintMapping</code> is 
provided out of the box, allowing to easily define inclusions and exclusions 
with roles.</p><p>For example as shown below in the XML DSL, we define the 
constraint bean:</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;bean id=&quot;constraint&quot; 
class=&quot;org.apache.camel.component.netty.http.SecurityConstraintMapping&quot;&gt;
     &lt;!-- inclusions defines url -&gt; roles restrictions --&gt;
     &lt;!-- a * should be used for any role accepted (or even no roles) --&gt;
     &lt;property name=&quot;inclusions&quot;&gt;
@@ -356,26 +221,14 @@ from(&quot;netty-http:http://0.0.0.0:{{p
     &lt;/property&gt;
   &lt;/bean&gt;
 ]]></script>
-</div></div>
-
-<p>The constraint above is define so that</p>
-<ul class="alternate"><li>access to /* is restricted and any roles is accepted 
(also if user has no roles)</li><li>access to /admin/* requires the admin 
role</li><li>access to /guest/* requires the admin or guest role</li><li>access 
to /public/* is an exclusion which means no authentication is needed, and is 
therefore public for everyone without logging in</li></ul>
-
-
-<p>To use this constraint we just need to refer to the bean id as shown 
below:</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;route&gt;
+</div></div><p>The constraint above is define so that</p><ul 
class="alternate"><li>access to /* is restricted and any roles is accepted 
(also if user has no roles)</li><li>access to /admin/* requires the admin 
role</li><li>access to /guest/* requires the admin or guest role</li><li>access 
to /public/* is an exclusion which means no authentication is needed, and is 
therefore public for everyone without logging in</li></ul><p>To use this 
constraint we just need to refer to the bean id as shown below:</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;route&gt;
    &lt;from 
uri=&quot;netty-http:http://0.0.0.0:{{port}}/foo?matchOnUriPrefix=true&amp;amp;securityConfiguration.realm=karaf&amp;amp;securityConfiguration.securityConstraint=#constraint&quot;/&gt;
    ...
 &lt;/route&gt;
 ]]></script>
-</div></div>
-
-
-<h3 id="NettyHTTP-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 class="alternate"><li><a shape="rect" 
href="netty.html">Netty</a></li><li><a shape="rect" 
href="netty-http-server-example.html">Netty HTTP Server Example</a></li><li><a 
shape="rect" href="jetty.html">Jetty</a></li></ul></div>
+</div></div><p></p><h3 id="NettyHTTP-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 
class="alternate"><li><a shape="rect" href="netty.html">Netty</a></li><li><a 
shape="rect" href="netty-http-server-example.html">Netty HTTP Server 
Example</a></li><li><a shape="rect" href="jetty.html">Jetty</a></li></ul></div>
         </td>
         <td valign="top">
           <div class="navigation">


Reply via email to