@Context
public class SessionPoolFactory
extends java.lang.Object
SessionPool
from a Connection
.JMSConnectionPool
,
PooledConnection
Constructor and Description |
---|
SessionPoolFactory(MessageProducerPoolFactory producerPoolFactory) |
Modifier and Type | Method and Description |
---|---|
SessionPool |
getSessionPool(javax.jms.Connection connection)
Returns a
SessionPool from the provided connection . |
public SessionPoolFactory(MessageProducerPoolFactory producerPoolFactory)
public SessionPool getSessionPool(javax.jms.Connection connection)
SessionPool
from the provided connection
.connection
- the connectionSessionPool
from the provided connection
.