How do I communicate between two clients that are on different machines on a network using JMS? I want to use a standalone application for communicating between the machine and I want to pass the message using JMS.
Created Feb 5, 2001
Rajiv Kanaujia
For sample code etc, try downloading SonicMQ (as a JMS server) and go through the samples.
You can make two JMS client applications, say AppA and AppB. Make AppA listen to topic forA. Make AppB listen to topic forB.
If AppA sends a message to topic forB, AppB will receive it. If AppB sends a message to topic forA, AppA will receive it.