Example usage for javax.jms XASession close

List of usage examples for javax.jms XASession close

Introduction

In this page you can find the example usage for javax.jms XASession close.

Prototype


void close() throws JMSException;

Source Link

Document

Closes the session.

Usage

From source file:org.bytesoft.bytejta.supports.serialize.XAResourceDeserializerImpl.java

protected void closeQuietly(javax.jms.XASession closeable) {
    if (closeable != null) {
        try {/*from  w w  w.j ava2s .c o m*/
            closeable.close();
        } catch (Exception ex) {
            logger.debug(ex.getMessage());
        }
    }
}