Closes the TopicRequestor and its session.
Since a provider may allocate some resources on behalf of a
TopicRequestor outside the Java virtual machine, clients
should close them when they
are not needed. Relying on garbage collection to eventually reclaim
these resources may not be timely enough.
Note that this method closes the TopicSession object
passed to the TopicRequestor constructor.
exception: JMSException - if the JMS provider fails to close theTopicRequestor due to some internalerror. |