activemq-artemis/examples/jms/rest/javascript-chat
Martyn Taylor 020d7a4149 Replace jboss-annotations with geronimo equivilent
Adds in the Geronimo 1.1 Annotation spec jar as a replacement for the
jboss annotation spec jar, pulled in via Rest Easy.  Also cleans up
dependency exclusions, removing them from sub modules and added to the
dependency management section of the main pom.
2015-03-16 12:11:19 +00:00
..
src Fix jms/rest example configuration 2015-03-11 16:50:53 +08:00
README.txt Remove references to HornetQ in doc and Comments 2014-11-19 15:15:35 +00:00
pom.xml Replace jboss-annotations with geronimo equivilent 2015-03-16 12:11:19 +00: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 and the ActiveMQ 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.