blob: 2f2c910b49f9e85a3487ea1843f98e0c151e99b6 [file] [log] [blame]
<div class="wiki-content maincontent"><p>There are a few example programs demonstrating the <link><page ri:content-title="REST"></page></link>, <link><page ri:content-title="Ajax"></page></link> and <link><page ri:content-title="WebSockets"></page></link> 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><structured-macro ac:macro-id="288caa27-887e-4a36-bb5c-9675602b2cc2" ac:name="code" ac:schema-version="1"><plain-text-body>bin/activemq console xbean:examples/conf/activemq-demo.xml</plain-text-body></structured-macro><h2>See Also</h2><ul><li><link><page ri:content-title="Examples"></page></link></li><li><link><page ri:content-title="JMX"></page></link></li><li><link><page ri:content-title="Web Console"></page></link></li></ul></div>