Closing Down JMS

  GigaSpaces 5.X

Documentation Home
Quick Start Guide
Release Notes

Previous release

  Search Here
Searching GigaSpaces Platform 5.X Documentation

                                               

Summary: Closing message consumer objects, open sessions, and the JMS connection.

Overview

After an application is done, it should close the following:

  1. All message producer or message consumer objects.
    queueReceiver.close();
    queueSender.close();
    topicSubscriber.close();
    topicPublisher.close();
  2. All open sessions. This also closes all message producer or consumer objects still open.
    session.close();
  3. The JMS connection. This also closes all open sessions.
    connection.close();

Wiki Content Tree


Your Feedback Needed!

We need your help to improve this wiki site. If you have any suggestions or corrections, write to us at techw@gigaspaces.com. Please provide a link to the wiki page you are referring to.

Labels

 
(None)