Author: buildbot
Date: Fri May 2 03:23:13 2014
New Revision: 907733
Log:
Production update by buildbot for camel
Modified:
websites/production/camel/content/cache/main.pageCache
websites/production/camel/content/http4.html
Modified: websites/production/camel/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.
Modified: websites/production/camel/content/http4.html
==============================================================================
--- websites/production/camel/content/http4.html (original)
+++ websites/production/camel/content/http4.html Fri May 2 03:23:13 2014
@@ -138,7 +138,7 @@ HttpServletRequest response = exchange.g
.setHeader(Exchange.HTTP_URI, constant("http://newhost"))
.to("http4://oldhost");
]]></script>
-</div></div><p>In the sample above Camel will call the <a shape="rect"
class="external-link" href="http://newhost" rel="nofollow">http://newhost</a>
despite the endpoint is configured with http4://oldhost.<br clear="none"> Where
Constants is the class,
<code>org.apache.camel.component.http4.Constants</code>.<br clear="none"> If
the http4 endpoint is working in bridge mode, it will ignore the message header
of <code>Exchange.HTTP_URI</code>.</p><h3
id="HTTP4-ConfiguringURIParameters">Configuring URI Parameters</h3><p>The
<strong>http</strong> producer supports URI parameters to be sent to the HTTP
server. The URI parameters can either be set directly on the endpoint URI or as
a header with the key <code>Exchange.HTTP_QUERY</code> on the message.</p><div
class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
+</div></div><p>In the sample above Camel will call the <span
class="nolink">http://newhost</span> despite the endpoint is configured with
http4://oldhost.<br clear="none"> Where Constants is the class,
<code>org.apache.camel.component.http4.Constants</code>.<br clear="none"> If
the http4 endpoint is working in bridge mode, it will ignore the message header
of <code>Exchange.HTTP_URI</code>.</p><h3
id="HTTP4-ConfiguringURIParameters">Configuring URI Parameters</h3><p>The
<strong>http</strong> producer supports URI parameters to be sent to the HTTP
server. The URI parameters can either be set directly on the endpoint URI or as
a header with the key <code>Exchange.HTTP_QUERY</code> on the 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("direct:start")
.to("http4://oldhost?order=123&detail=short");
]]></script>