|
There are a few example programs demonstrating the REST messaging or Ajax in the activemq/activemq-web-demo Running the Web Samples from version 5.0 onwardsIn 5.0 we have integrated the Web Samples into the binary distribution. So Download a binary distribution then point your browser to http://localhost:8161/demo Running the Web Samples on 4.1.x and earlierTo run the Web Samples, grab the Source or try Download a binary distribution. Then follow the Building instructions for the activemq-web module. In particular type the following (assuming you have Maven installed) cd activemq-web-demo mvn jetty:run This will run a Jetty server with a web application with an embedded ActiveMQ message broker. Then clicking your browser on http://localhost:8080/activemq-web-demo/
Creating a WARIf you would like to package up the examples as a WAR and then deploy it inside your own web container then try the following... mvn war which will build a WAR in the target directory. See Also |