blob: 968495fe1f69acf5a30be78609d12d64fced6845 [file] [log] [blame]
<div class="wiki-content maincontent"><p>There are a few example programs demonstrating the <a shape="rect" href="rest.html">REST</a>, <a shape="rect" href="ajax.html">Ajax</a> and <a shape="rect" href="websockets.html">WebSockets</a> messaging that comes with the ActiveMQ distribution.</p><p>Up until version 5.8 web demos were included in the default configuration and could be accessed directly using <a shape="rect" class="external-link" href="http://localhost:8161/demo" rel="nofollow">http://localhost:8161/demo</a> url after starting the broker.</p><p>From 5.8 onwards, demos are excluded from default configuration. To start a broker with web examples, use <code>activemq-demo.xml</code> configuration file, like</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
<pre class="brush: java; gutter: false; theme: Default" style="font-size:12px;">bin/activemq console xbean:examples/conf/activemq-demo.xml</pre>
</div></div><h2 id="WebSamples-SeeAlso">See Also</h2><ul><li><a shape="rect" href="examples.html">Examples</a></li><li><a shape="rect" href="jmx.html">JMX</a></li><li><a shape="rect" href="web-console.html">Web Console</a></li></ul></div>