activemq-artemis/examples/jms/rest/javascript-chat
Clebert Suconic bac96047f5 automatic checkstyle change
this is just calling Idea format on all the files using the new style
I am separating manual changes from automatic changes in case I have to repeat the manual changes again
2015-08-10 09:26:42 -04:00
..
src automatic checkstyle change 2015-08-10 09:26:42 -04:00
README.txt Ensure all references to the project use ActiveMQ Artemis 2015-05-13 11:51:26 +01:00
pom.xml ARTEMIS-180 removing -Pexample and some other improvements around the examples 2015-08-07 15:17:28 -04:00

README.txt

System Requirements:
You will need JDK 1.6, Maven, and a browser to run this example.  This example has been tested with Maven 2.2.1.  It may or may not work
with earlier or later versions of Maven.


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:9095.  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.