Package org.messaginghub.pooled.jms
Class JmsPoolJcaConnectionFactory
- java.lang.Object
-
- org.messaginghub.pooled.jms.JmsPoolConnectionFactory
-
- org.messaginghub.pooled.jms.JmsPoolXAConnectionFactory
-
- org.messaginghub.pooled.jms.JmsPoolJcaConnectionFactory
-
- All Implemented Interfaces:
Serializable,javax.jms.ConnectionFactory,javax.jms.QueueConnectionFactory,javax.jms.TopicConnectionFactory,javax.jms.XAConnectionFactory,ObjectFactory
public class JmsPoolJcaConnectionFactory extends JmsPoolXAConnectionFactory
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.messaginghub.pooled.jms.JmsPoolConnectionFactory
connectionFactory, DEFAULT_MAX_CONNECTIONS, jmsContextSupported, stopped
-
-
Constructor Summary
Constructors Constructor Description JmsPoolJcaConnectionFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PooledJCAConnectioncreatePooledConnection(javax.jms.Connection connection)Delegate that creates each instance of an ConnectionPool object.StringgetName()voidsetName(String name)-
Methods inherited from class org.messaginghub.pooled.jms.JmsPoolXAConnectionFactory
createProviderConnection, createProviderContext, createXAConnection, createXAConnection, createXAContext, createXAContext, getObjectInstance, getTmJndiName, getTransactionManager, isTmFromJndi, newPooledConnectionContext, setConnectionFactory, setTmFromJndi, setTmJndiName, setTransactionManager
-
Methods inherited from class org.messaginghub.pooled.jms.JmsPoolConnectionFactory
clear, createConnection, createConnection, createContext, createContext, createContext, createContext, createQueueConnection, createQueueConnection, createTopicConnection, createTopicConnection, getBlockIfSessionPoolIsFullTimeout, getConnectionCheckInterval, getConnectionFactory, getConnectionIdleTimeout, getConnectionsPool, getExplicitProducerCacheSize, getMaxConnections, getMaxSessionsPerConnection, getNumConnections, initConnectionsPool, isBlockIfSessionPoolIsFull, isUseAnonymousProducers, isUseProviderJMSContext, newPooledConnectionWrapper, populateProperties, setBlockIfSessionPoolIsFull, setBlockIfSessionPoolIsFullTimeout, setConnectionCheckInterval, setConnectionIdleTimeout, setExplicitProducerCacheSize, setMaxConnections, setMaxSessionsPerConnection, setUseAnonymousProducers, setUseProviderJMSContext, start, stop
-
-
-
-
Method Detail
-
getName
public String getName()
-
setName
public void setName(String name)
-
createPooledConnection
protected PooledJCAConnection createPooledConnection(javax.jms.Connection connection)
Description copied from class:JmsPoolConnectionFactoryDelegate that creates each instance of an ConnectionPool object. Subclasses can override this method to customize the type of connection pool returned.- Overrides:
createPooledConnectionin classJmsPoolXAConnectionFactory- Parameters:
connection- The connection that is being added into the pool.- Returns:
- instance of a new ConnectionPool.
-
-