public class SessionPool extends Object
Constructor and Description |
---|
SessionPool(String name,
javax.jms.Connection connection) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes all underlying JMS sessions.
|
javax.jms.Session |
createNewSession() |
javax.jms.Session |
getSession() |
public SessionPool(String name, javax.jms.Connection connection)
public javax.jms.Session getSession() throws javax.jms.JMSException
javax.jms.JMSException
public void close()
public javax.jms.Session createNewSession() throws javax.jms.JMSException
javax.jms.JMSException
Copyright © 2020 JavaLite. All rights reserved.