Package org.javalite.async
Class SessionPool
java.lang.Object
org.javalite.async.SessionPool
Serves as a pool of sessions for local sending/receiving to/from the Async.
- Author:
- igor on 11/2/17.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Closes all underlying JMS sessions.javax.jms.Session
javax.jms.Session
-
Constructor Details
-
SessionPool
-
-
Method Details
-
getSession
public javax.jms.Session getSession() throws javax.jms.JMSException- Throws:
javax.jms.JMSException
-
close
public void close()Closes all underlying JMS sessions. -
createNewSession
public javax.jms.Session createNewSession() throws javax.jms.JMSException- Throws:
javax.jms.JMSException
-