activemq-artemis/examples/jms/rest/javascript-chat
Andy Taylor 8ecd255f98 ACTIVEMQ6-1 - Initial HornetQ Donation Commit
https://issues.apache.org/jira/browse/ACTIVEMQ6-1

This is the initial donation of the HornetQ codebase as per document http://incubator.apache.org/ip-clearance/hornetq.html
2014-11-10 10:31:25 -06:00
..
src ACTIVEMQ6-1 - Initial HornetQ Donation Commit 2014-11-10 10:31:25 -06:00
README.txt ACTIVEMQ6-1 - Initial HornetQ Donation Commit 2014-11-10 10:31:25 -06:00
pom.xml ACTIVEMQ6-1 - Initial HornetQ Donation Commit 2014-11-10 10:31:25 -06: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 HornetQ and the HornetQ 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.