camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r943548 - in /websites/production/camel/content: cache/main.pageCache paho.html
Date Thu, 12 Mar 2015 16:19:21 GMT
Author: buildbot
Date: Thu Mar 12 16:19:21 2015
New Revision: 943548

Log:
Production update by buildbot for camel

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

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

Modified: websites/production/camel/content/paho.html
==============================================================================
--- websites/production/camel/content/paho.html (original)
+++ websites/production/camel/content/paho.html Thu Mar 12 16:19:21 2015
@@ -102,13 +102,13 @@
 </div></div><h3 id="Paho-URIformat">URI format</h3><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[paho:queueName[?options]
 ]]></script>
-</div></div><p><span style="line-height: 1.4285715;">You can append
query options to the URI in the following format: <code>?option=value&amp;option=value&amp;...</code>
.</span></p><h3 id="Paho-URIOptions">URI Options</h3><div class="confluenceTableSmall"><div
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1"
rowspan="1" class="confluenceTh"><p>Option</p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p>Default</p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><code>clientId</code></td><td
colspan="1" rowspan="1" class="confluenceTd"><code>camel-&lt;timestamp&gt;</code></td><td
colspan="1" rowspan="1" class="confluenceTd">MQTT client identifier.</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>brokerUrl</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>tcp://localhost:1883</code></p></td><td
colspan="1" rowspan="1" cl
 ass="confluenceTd"><p>The URL of the MQTT broker.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><code>persistence</code></td><td
colspan="1" rowspan="1" class="confluenceTd"><code>memory</code></td><td
colspan="1" rowspan="1" class="confluenceTd">Client persistence to be used - <code>memory</code>
or <code>file</code>.</td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><code>qos</code></td><td colspan="1" rowspan="1"
class="confluenceTd">2</td><td colspan="1" rowspan="1" class="confluenceTd">Client
quality of service level (<code>0</code>-<code>2</code>).</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><code>connectOptions</code></td><td
colspan="1" rowspan="1" class="confluenceTd">none</td><td colspan="1" rowspan="1"
class="confluenceTd">The reference to the <code><span style="line-height: 1.4285715;">org</span><span
style="line-height: 1.4285715;">.eclipse.paho.client.mqttv3.</span><code style="line-height:
1.4285715;">MqttConnectOption
 s</code></code><span style="line-height: 1.4285715;"> instance located
in the Camel registry. Referenced </span><code>MqttConnectOptions</code>
instance <span style="line-height: 1.4285715;">will be used by the endpoint to initialize
the connection. For example <code>connectOptions=#my</code><span><code>ConnectOptions</code></span>
notation can be used to reference Spring bean named <code>my</code><span><code>ConnectOptions.</code></span></span></td></tr></tbody></table></div></div><h3
id="Paho-Examples">Examples</h3><p>Read messages from the MQTT broker installed
on the same host as the Camel router:</p><div class="code panel pdl" style="border-width:
1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;"><b>Car.java</b></div><div
class="codeContent panelContent pdl">
+</div></div><p><span style="line-height: 1.4285715;">You can append
query options to the URI in the following format: <code>?option=value&amp;option=value&amp;...</code>
.</span></p><h3 id="Paho-URIOptions">URI Options</h3><div class="confluenceTableSmall"><div
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1"
rowspan="1" class="confluenceTh"><p>Option</p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p>Default</p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><code>clientId</code></td><td
colspan="1" rowspan="1" class="confluenceTd"><code>camel-&lt;timestamp&gt;</code></td><td
colspan="1" rowspan="1" class="confluenceTd">MQTT client identifier.</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>brokerUrl</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>tcp://localhost:1883</code></p></td><td
colspan="1" rowspan="1" cl
 ass="confluenceTd"><p>The URL of the MQTT broker.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><code>persistence</code></td><td
colspan="1" rowspan="1" class="confluenceTd"><code>memory</code></td><td
colspan="1" rowspan="1" class="confluenceTd">Client persistence to be used - <code>memory</code>
or <code>file</code>.</td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><code>qos</code></td><td colspan="1" rowspan="1"
class="confluenceTd">2</td><td colspan="1" rowspan="1" class="confluenceTd">Client
quality of service level (<code>0</code>-<code>2</code>).</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><code>connectOptions</code></td><td
colspan="1" rowspan="1" class="confluenceTd">none</td><td colspan="1" rowspan="1"
class="confluenceTd">The reference to the <code><span style="line-height: 1.4285715;">org</span><span
style="line-height: 1.4285715;">.eclipse.paho.client.mqttv3.</span><code style="line-height:
1.4285715;">MqttConnectOption
 s</code></code><span style="line-height: 1.4285715;"> instance located
in the Camel registry. Referenced </span><code>MqttConnectOptions</code>
instance <span style="line-height: 1.4285715;">will be used by the endpoint to initialize
the connection. For example <code>connectOptions=#my</code><span><code>ConnectOptions</code></span>
notation can be used to reference Spring bean named <code>my</code><span><code>ConnectOptions.</code></span></span></td></tr></tbody></table></div></div><h3
id="Paho-Examples">Examples</h3><p>Read messages from the MQTT broker installed
on the same host as the Camel router:</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;paho:some/queue&quot;).
   to(&quot;mock:test&quot;);]]></script>
-</div></div><p>Read messages from the remote MQTT broker:&#160;</p><div
class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader
pdl" style="border-bottom-width: 1px;"><b>Car.java</b></div><div class="codeContent
panelContent pdl">
+</div></div><p>Read messages from the remote MQTT broker:&#160;</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;paho:some/queue?brokerUrl=tcp://iot.eclipse.org:1883&quot;).
   to(&quot;mock:test&quot;);]]></script>
-</div></div><p>Send message to the MQTT broker:</p><div class="code
panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width:
1px;"><b>Car.java</b></div><div class="codeContent panelContent pdl">
+</div></div><p>Send message to the MQTT broker:</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;direct:test&quot;).
   to(&quot;paho:some/target/queue&quot;);]]></script>
 </div></div><p><br clear="none"></p><h3 id="Paho-SeeAlso">See
Also</h3>



Mime
View raw message