activemq-artemis/examples/features/standard/rest/javascript-chat
Justin Bertram b77cdaf773 ARTEMIS-1562 Refactor example documentation
This commit contains these changes:
* Change example documentation to use markdown
* Generate HTML doc based on markdown during release
* Fix XML formatting in some examples
* Repair out-of-date documentation
2017-12-15 14:54:16 +00:00
..
src ARTEMIS-1562 Refactor example documentation 2017-12-15 14:54:16 +00:00
pom.xml ARTEMIS-1562 Refactor example documentation 2017-12-15 14:54:16 +00:00
readme.md ARTEMIS-1562 Refactor example documentation 2017-12-15 14:54:16 +00:00

readme.md

Rest Chat Application Example

This is an example of producing and consuming messages through a topic. The client is Javascript code within your browser.

The example is a very simple chat application between two browser windows.

Step 1:

mvn jetty:run

This will bring up ActiveMQ Artemis and the ActiveMQ Artemis REST Interface.

Step 2:

Bring up two browsers and point them to http://localhost:8080. In the textbox type a message you want to send. Click the "Click to send message" button and you'll see the message show up in both browser windows.