Message-ID: <92872366.6111.1369545127099.JavaMail.email@example.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_6110_987564347.1369545127099" ------=_Part_6110_987564347.1369545127099 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
There are 2 simple demonstration examples which come with ActiveMQ. Firs= tly obtain the source code via either
Once you have a source distribution, try building it. Once you've managed to build the software you= can run the sample demo application by running the following command
This creates a simple cluster with a single node which watches other nod= es join, update and leave and prints to the console when this happens. You = can start other shells on other machines and perform the same command to wa= tch nodes come and go.
This is a little more adventurous, but only a little bit . Its a single clas= s which implements a simple IRC style command line chat client. The class i= s called ChatDemo in the src/test/org/codehaus/activemq directory.
Since this application requires keyboard input it can't be run from insi= de Maven (long story - we have to fork VMs to run programs in Maven and so = loose keyboard input ability). To try out this demo we recommend running it= from inside your IDE.
To setup your IDE follow the instructions then run the ChatDemo class inside your IDE.------=_Part_6110_987564347.1369545127099--