You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by bu...@apache.org on 2016/03/17 09:18:57 UTC

svn commit: r982991 - in /websites/production/camel/content: ahc-ws.html cache/main.pageCache

Author: buildbot
Date: Thu Mar 17 08:18:56 2016
New Revision: 982991

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/ahc-ws.html
    websites/production/camel/content/cache/main.pageCache

Modified: websites/production/camel/content/ahc-ws.html
==============================================================================
--- websites/production/camel/content/ahc-ws.html (original)
+++ websites/production/camel/content/ahc-ws.html Thu Mar 17 08:18:56 2016
@@ -97,7 +97,7 @@
 <script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ahc-ws://hostname[:port][/resourceUri][?options]
 ahc-wss://hostname[:port][/resourceUri][?options]
 ]]></script>
-</div></div><p>Will by default use port 80 for ahc-ws and 443 for ahc-wss.</p><h3 id="AHC-WS-AHC-WSOptions">AHC-WS Options</h3><p>As the AHC-WS component is based on the AHC component, you can use the various configuration options of the AHC component.</p><h3 id="AHC-WS-WritingandReadingDataoverWebsocket">Writing and Reading Data over Websocket</h3><p>An ahc-ws endpoint can either write data to the socket or read from the socket, depending on whether the endpoint is configured as the producer or the consumer, respectively.</p><h3 id="AHC-WS-ConfiguringURItoWriteorReadData">Configuring URI to Write or Read Data</h3><p>In the route below, Camel will write to the specified websocket connection.</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><p>Will by default use port 80 for ahc-ws and 443 for ahc-wss.</p><h3 id="AHC-WS-AHC-WSOptions">AHC-WS Options</h3><p>As the AHC-WS component is based on the AHC component, you can use the various configuration options of the AHC component.</p><p>In additon there are these options</p><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh">Option</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">useStreaming</td><td colspan="1" rowspan="1" class="confluenceTd">false</td><td colspan="1" rowspan="1" class="confluenceTd">Producer. To enable streaming to send data as multiple text fragments.</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">sendMessageOnError</td><td colspan="1" rowspan="1" class="confluenceTd">false</td><td colspan="1" rowspan="1" class="confluenceTd"><
 strong>Camel 2.17:</strong> Consumer. Whether to send an message if the web-socket listener received an error.</td></tr></tbody></table></div><p>&#160;</p><h3 id="AHC-WS-WritingandReadingDataoverWebsocket">Writing and Reading Data over Websocket</h3><p>An ahc-ws endpoint can either write data to the socket or read from the socket, depending on whether the endpoint is configured as the producer or the consumer, respectively.</p><h3 id="AHC-WS-ConfiguringURItoWriteorReadData">Configuring URI to Write or Read Data</h3><p>In the route below, Camel will write to the specified websocket connection.</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[from(&quot;direct:start&quot;)
 	    .to(&quot;ahc-ws://targethost&quot;);
 ]]></script>

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