February 2002
Beginner to intermediate
544 pages
10h 23m
English
A client uses a TopicPublisher object to publish messages on a topic. A TopicPublisher object is the publish/subscribe form of a message producer.
Normally, the Topic is specified when a TopicPublisher is created. In this case, an attempt to use the publish methods for an unidentified TopicPublisher will throw a java.lang.UnsupportedOperationException.
If the TopicPublisher is created with an unidentified Topic, an attempt to use the publish methods that assume that the Topic has been identified will throw a java.lang.UnsupportedOperationException.
During the execution of its publish method, a message must not be changed by other threads within the client. If the message is modified, the result of the publish ...
Read now
Unlock full access