The JMS server allocates resources for each of these objects: connections, sessions, message consumers, and message producers. When you no longer need one of these objects, you should close it to release its resources and help the application run more efficiently. To release each object’s resources, EAServer provides these methods:
QueueConnection.close
TopicConnection.close
QueueSession.close
TopicSession.close
QueueReceiver.close
TopicSubscriber.close
QueueSender.close
TopicPublisher.close
Copyright © 2005. Sybase Inc. All rights reserved. |