February 2002
Beginner to intermediate
544 pages
10h 23m
English
The TopicSession interface inherits the fields and the methods of the interface javax.jms.Session. The following methods are defined in the interface javax.jms.TopicSession.
public TopicSubscriber createDurableSubscriber(Topic topic, java.lang.String name)
Creates a durable subscriber to the specified topic.
If a client needs to receive all the messages published on a topic, including the ones published while the subscriber is inactive, it uses a durable TopicSubscriber. The JMS provider retains a record of this durable subscription and insures that all messages from the topic's publishers are retained until they are acknowledged by this durable subscriber or they have expired.
Sessions with ...
Read now
Unlock full access