Author: buildbot
Date: Fri Jun 12 19:21:04 2015
New Revision: 954617
Log:
Production update by buildbot for activemq
Modified:
websites/production/activemq/content/cache/main.pageCache
websites/production/activemq/content/mqtt.html
Modified: websites/production/activemq/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.
Modified: websites/production/activemq/content/mqtt.html
==============================================================================
--- websites/production/activemq/content/mqtt.html (original)
+++ websites/production/activemq/content/mqtt.html Fri Jun 12 19:21:04 2015
@@ -87,6 +87,8 @@
<transportConnector name="mqtt"
uri="mqtt://localhost:1883"/>
</transportConnectors>
]]></script>
+</div></div><h3 id="MQTT-TheMQTTWireFormat">The MQTT Wire Format</h3><p>MQTT
uses a compact binary format that can be configured with the following options.
 All options can be configured on a Brokers transport bind URI.</p><div
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1"
rowspan="1" class="confluenceTh"><p>Parameter Name</p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p>Default Value</p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>maxFrameSize</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>268435456</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>(v5.12.0) Maximum frame size
that can be sent. The protocol limit is 256 megabytes and his value cannot be
set higher. Can help help prevent OOM DOS
attacks</p></td></tr></tbody></table></div><p>All options must be prepended
with <code>wireFormat</code> in order to t
ake effect. Without this proper formatting, the option will have zero
effect.</p><h4 id="MQTT-ExampleWireFormatConfiguration">Example Wire Format
Configuration<br clear="none"> </h4><div class="code panel pdl"
style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: xml; gutter: false"
type="syntaxhighlighter"><![CDATA[ <transportConnector
name="mqtt"
uri="mqtt://localhost:61612?wireFormat.maxFrameSize=100000"/>]]></script>
</div></div><h3 id="MQTT-Security">Security</h3><p>The ActiveMQ MQTT Transport
implementation fully supports an <a shape="rect" href="security.html">ActiveMQ
security</a> mechanism. Also, the authorization policies will be applied when
you try to access (read/write) certain destinations.</p><h3
id="MQTT-EnablingMQTToverNIO">Enabling MQTT over NIO</h3><p>For better
scalability (and performance) you might want to run the MQTT protocol over NIO
transport. To do that just use <code>mqtt+nio</code> transport prefix instead
of <code>matt</code>. For example, add the following transport configuration in
your XML file</p><div class="code panel pdl" style="border-width: 1px;"><div
class="codeContent panelContent pdl">
<script class="theme: Default; brush: xml; gutter: false"
type="syntaxhighlighter"><![CDATA[ <transportConnector
name="mqtt+nio" uri="mqtt+nio://localhost:1883"/>
]]></script>