Consider the version of the FireAlarm program written in JMS (Section 6.4.3). How would you
extend the consumer to receive alarms only from a given location?

What will be an ideal response?


This particular example is implemented using a TopicConnection in JMS, that is using the publish-subscribe
style of connection. The desired effect can be achieved by associating a user-defined property with each
message, capturing the originating location of this message with the consumer specifying a message selector
based on topic and this property.

Computer Science & Information Technology

You might also like to view...

The ____ Tool draws a selection quickly using the mouse.

a. Quick Selection b. Magic Wand c. Add to selection d. Subtraction from selection

Computer Science & Information Technology

The ____ calendar item status option shows time with a slashed bar in Day, Week, Work, or Month view.

A. Free B. Tentative C. Out of Office D. Busy

Computer Science & Information Technology

=INDEX(A2:B5,MATCH(MAX(B2:B5 ),B2:B5,0 ),1 ) is an example of a nested function

Indicate whether the statement is true or false

Computer Science & Information Technology

What does applying a banded row format do to a Pivot Table?

A. Puts a band around subtotals B. Shades odd and even rows differently C. Keeps totals together D. Puts a line between each row

Computer Science & Information Technology