posted 15 years ago
Hi Kahled...
By looking at the code, you can get who is Sender and Receiver.
onMessage() is the method to receive messages. So he is the receiver.
Provided both should follow all the steps to send or receive messages.
I mean getting connectionfactory object. Getting the Queue Jndi and all.
SCJP 1.4 & 1.5, SCWCD 1.5. Learn and Let Learn.