In the Talk application, whenever a text message is
sent to a given queue, all active Talk applications
that are waiting to receive messages on that queue take turns receiving
the message at the front of the queue.
To run the Talking sample do the following:
In window 1, enter
ant talk1.In window 2, enter
ant talk2.In window 3, enter
ant talk3.In the Talker1 window, type
1, and then press Enter.The text is displayed in only one of the other
Q1receiver windows. A point-to-point message has only one receiver.Again, in the Talker1 window, type
2, and then press Enter.The text is displayed in the other
Q1receiver window. Multiple receivers on a queue take turns receiving messages.In the Talker1 window, create several messages, such as
3,4, ...,9.Important
Be sure to press Enter between each message.
One of the
Q1receivers gets messages1, 3, 5, 7, 9while the other gets2, 4, 6, 8.If you opened another Talker_2 or Talker_3 window, the distribution to the
Q1receivers would be1, 4, 7for the first,2, 5, 8for the next and3, 6, 9for the third.








