February 2002
Beginner to intermediate
544 pages
10h 23m
English
The QueueRequestor interface inherits the methods of the class java.lang.Object. The following methods are defined in the class javax.jms.QueueRequestor.
public void close()
Closes the QueueRequestor and its session.
Since a provider may allocate some resources on behalf of a QueueRequestor 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 QueueSession object passed to the QueueRequestor constructor.
THROWS:
JMSException if the JMS provider fails to close the QueueRequestor due to some internal error
public Message request(Message message)
Sends a request ...
Read now
Unlock full access