Message-ID: <2039400396.16060.1414317559981.JavaMail.firstname.lastname@example.org> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_16059_31681315.1414317559981" ------=_Part_16059_31681315.1414317559981 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 Active= MQ. Firstly obtain the source code via either=20
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= =20 =20
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.=20
This is a little more adventurous, but only a little bit . Its a sin= gle class which implements a simple IRC style command line chat client. The= class is called ChatDemo in the src/test/org/codehaus/activemq directory.<= /p>=20
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.=20
To setup your IDE follow the instructions then run the ChatDemo class inside your IDE.