camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r809953 - in /websites/production/camel/content: cache/main.pageCache websocket.html
Date Sun, 25 Mar 2012 14:18:09 GMT
Author: buildbot
Date: Sun Mar 25 14:18:09 2012
New Revision: 809953

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/websocket.html

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

Modified: websites/production/camel/content/websocket.html
==============================================================================
--- websites/production/camel/content/websocket.html (original)
+++ websites/production/camel/content/websocket.html Sun Mar 25 14:18:09 2012
@@ -99,7 +99,7 @@ websocket:<span class="code-comment">//h
 <p>The websocket component uses 2 headers to indicate to either send messages back
to a single/current client, or to all clients.</p>
 
 <div class="confluenceTableSmall"><div class="table-wrap">
-<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"> Key</th><th colspan="1" rowspan="1" class="confluenceTh">
Description </th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>WebsocketConstants.SEND_TO_ALL</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> Sends the message to all clients which are currently connected. </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>WebsocketConstants.CONNECTION_KEY</tt>
</td><td colspan="1" rowspan="1" class="confluenceTd"> Sends the message to the
client with the given connection key. </td></tr></tbody></table>
+<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"> Key</th><th colspan="1" rowspan="1" class="confluenceTh">
Description </th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>WebsocketConstants.SEND_TO_ALL</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> Sends the message to all clients which are currently connected. You
can use the <tt>sendToAll</tt> option on the endpoint instead of using this header.
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>WebsocketConstants.CONNECTION_KEY</tt>
</td><td colspan="1" rowspan="1" class="confluenceTd"> Sends the message to the
client with the given connection key. </td></tr></tbody></table>
 </div>
 </div>
 
@@ -112,6 +112,15 @@ websocket:<span class="code-comment">//h
 </div>
 </div>
 
+<h3><a shape="rect" name="Websocket-EndpointOptions"></a>Endpoint Options</h3>
+
+<p>The <tt>WebsocketEndpoint</tt> can be configured prior to use</p>
+
+<div class="confluenceTableSmall"><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"> sendToAll </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> To send to all websocket subscribers. Can be used to configure on
endpoint level, instead of having to use the <tt>WebsocketConstants.SEND_TO_ALL</tt>
header on the message. </td></tr></tbody></table>
+</div>
+</div>
+
 <h3><a shape="rect" name="Websocket-Usage"></a>Usage</h3>
 
 <p>In this example we let Camel exposes a websocket server which clients can communicate
with. The websocket server uses the default host and port, which would be <tt>0.0.0.0:9292</tt>.<br
clear="none">



Mime
View raw message