The SelectorTalk sample applications are similar
yet consistent with the behavior of the messaging model. The SelectiveTalkers both send
and receive on Q1.
The Talkers do not
specify selection parameters.
To run the SelectorTalk sample do the following:
In window 1, enter
ant filtertalk1.In window 2, enter
ant filtertalk2.In window 3, enter
ant talk2.Talker_2sends toQ2and receives onQ1.In the SelectiveTalker_1 window, enter some text and then press Enter. Send a few messages in this window.
The messages are displayed in either that window or the Talker_2 window (usually alternately.)
In the SelectiveTalker_2 window, enter some text and then press Enter. Send a few messages in this window.
The messages are displayed in either that window or the Talker_2 window (usually alternately.)
In the Talker_2 window, enter some text and then press Enter.
None of the windows receives the message. Talker_2 is receiving on
Q2. The selective talkers are receiving onQ1, but they are qualifying their selection as only messages that have the specified property, and, at that, set to their preferred value. So the message will be stored inQ1even though there are receivers onQ1.In window 3, press Ctrl+C to stop
Talker_2.In window 3, enter
ant talk1.Talker_1sends toQ2and receives onQ1. When it starts, it immediately receives the messages stored onQ1(unless they have expired.)








