TopicConnectionpublic interface TopicConnection implements ConnectionA TopicConnection object is an active connection to a
publish/subscribe JMS provider. A client uses a TopicConnection
object to create one or more TopicSession objects
for producing and consuming messages.
A TopicConnection can be used to create a
TopicSession , from which
specialized topic-related objects can be created.
A more general, and recommended approach is to use the
Connection object.
The TopicConnection object
should be used to support existing code. |
|