Author: buildbot Date: Sat May 11 07:19:44 2013 New Revision: 861609 Log: Production update by buildbot for camel
Modified: websites/production/camel/content/cache/main.pageCache websites/production/camel/content/camel-2120-release.html websites/production/camel/content/how-to-use-camel-as-a-http-proxy-between-a-client-and-server.html Modified: websites/production/camel/content/cache/main.pageCache ============================================================================== Binary files - no diff available. Modified: websites/production/camel/content/camel-2120-release.html ============================================================================== --- websites/production/camel/content/camel-2120-release.html (original) +++ websites/production/camel/content/camel-2120-release.html Sat May 11 07:19:44 2013 @@ -120,7 +120,7 @@ <h2><a shape="rect" name="Camel2.12.0Release-Importantchangestoconsiderwhenupgrading"></a>Important changes to consider when upgrading</h2> -<ul><li>The usage of the deprecated built-in <tt>CommonsHttpMessageSender</tt> has been replaced with <tt>HttpUrlConnectionMessageSender</tt> by <a shape="rect" href="spring-web-services.html" title="Spring Web Services">Spring Web Services</a>. Consider this in case either the <tt>timeout</tt> or <tt>sslContextParameters</tt> option is used through the Producer of this component.</li></ul> +<ul><li>The usage of the deprecated built-in <tt>CommonsHttpMessageSender</tt> has been replaced with <tt>HttpUrlConnectionMessageSender</tt> by <a shape="rect" href="spring-web-services.html" title="Spring Web Services">Spring Web Services</a>. Consider this in case either the <tt>timeout</tt> or <tt>sslContextParameters</tt> option is used through the Producer of this component.</li><li><tt>camel-scala-29</tt> module has been removed.</li></ul> <h2><a shape="rect" name="Camel2.12.0Release-GettingtheDistributions"></a>Getting the Distributions</h2> Modified: websites/production/camel/content/how-to-use-camel-as-a-http-proxy-between-a-client-and-server.html ============================================================================== --- websites/production/camel/content/how-to-use-camel-as-a-http-proxy-between-a-client-and-server.html (original) +++ websites/production/camel/content/how-to-use-camel-as-a-http-proxy-between-a-client-and-server.html Sat May 11 07:19:44 2013 @@ -94,6 +94,17 @@ The option <tt>matchOnUriPrefix</tt> is <p>Then we route to the <tt><to></tt> which is also a jetty endpoint, which sends the requests to the real HTTP server. The <tt>bridgeEndpoint</tt> option is set to <tt>true</tt>, to tell Camel that its a bridging from an incoming <a shape="rect" href="jetty.html" title="Jetty">Jetty</a> service (ie. to act as a HTTP adapter/proxy). The option <tt>throwExceptionOnFailure</tt> is set to <tt>false</tt>, to rely back any errors communicating with the real HTTP server directly to the client, without using any Camel <a shape="rect" href="error-handling-in-camel.html" title="Error handling in Camel">Error Handling</a> (ie. no exception is raised from Camel).</p> +<p>You can also use <a shape="rect" href="servlet.html" title="SERVLET">SERVLET</a> instead of <a shape="rect" href="jetty.html" title="Jetty">Jetty</a>, for example:</p> +<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> +<pre class="code-xml"> + <span class="code-tag"><route></span> + <span class="code-tag"><from uri=<span class="code-quote">"servlet:myapp?matchOnUriPrefix=true"</span>/></span> + <span class="code-tag"><to uri=<span class="code-quote">"http://realserverhostname:8090/myapp?bridgeEndpoint=true&amp;throwExceptionOnFailure=false"</span>/></span> + <span class="code-tag"></route></span> +</pre> +</div></div> + + <h3><a shape="rect" name="HowtouseCamelasaHTTPproxybetweenaclientandserver-Morecontrolofurlmappings"></a>More control of url mappings</h3> <p>From <b>Camel 2.11</b> onwards you can use a custom url rewriter which gives you control of the url mappings. Such as handling situations where the mapping is not identical 1:1 mapping. See more details at the <tt>urlRewrite</tt> option on <a shape="rect" href="http.html" title="HTTP">HTTP</a>, <a shape="rect" href="http4.html" title="HTTP4">HTTP4</a>, and <a shape="rect" href="jetty.html" title="Jetty">Jetty</a> components, and in particular read this page <a shape="rect" href="urlrewrite.html" title="UrlRewrite">UrlRewrite</a> about the <tt>camel-urlrewrite</tt> component.</p></div>