public class XaPooledConnectionFactory extends XaPooledConnectionFactory implements JNDIStorableInterface, Service
| Modifier and Type | Field and Description |
|---|---|
static String |
POOL_PROPS_PREFIX |
connectionFactory, stopped| Constructor and Description |
|---|
XaPooledConnectionFactory() |
XaPooledConnectionFactory(ActiveMQXAConnectionFactory connectionFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
buildFromProperties(Properties props) |
protected ConnectionPool |
createConnectionPool(Connection connection)
Delegate that creates each instance of an ConnectionPool object.
|
String |
getBrokerUrl() |
Properties |
getProperties()
Get the properties from this instance for storing in JNDI
|
Reference |
getReference() |
protected void |
populateProperties(Properties props)
Called by any superclass that implements a JNDIReferencable or similar that needs to collect
the properties of this class for storage etc.
|
void |
setBrokerUrl(String url) |
void |
setProperties(Properties properties)
set the properties for this instance as retrieved from JNDI
|
createConnection, getObjectInstance, getTmJndiName, getTransactionManager, isTmFromJndi, setConnectionFactory, setTmFromJndi, setTmJndiName, setTransactionManagerclear, createConnection, createConnection, createQueueConnection, createQueueConnection, createTopicConnection, createTopicConnection, getBlockIfSessionPoolIsFullTimeout, getConnectionFactory, getConnectionsPool, getExpiryTimeout, getIdleTimeout, getMaxConnections, getMaximumActiveSessionPerConnection, getNumConnections, getTimeBetweenExpirationCheckMillis, initConnectionsPool, isBlockIfSessionPoolIsFull, isCreateConnectionOnStartup, isReconnectOnException, isUseAnonymousProducers, newPooledConnection, setBlockIfSessionPoolIsFull, setBlockIfSessionPoolIsFullTimeout, setCreateConnectionOnStartup, setExpiryTimeout, setIdleTimeout, setMaxConnections, setMaximumActiveSessionPerConnection, setReconnectOnException, setTimeBetweenExpirationCheckMillis, setUseAnonymousProducers, start, stoppublic static final String POOL_PROPS_PREFIX
public XaPooledConnectionFactory()
public XaPooledConnectionFactory(ActiveMQXAConnectionFactory connectionFactory)
protected ConnectionPool createConnectionPool(Connection connection)
PooledConnectionFactorycreateConnectionPool in class XaPooledConnectionFactoryprotected void buildFromProperties(Properties props)
protected void populateProperties(Properties props)
PooledConnectionFactorypopulateProperties in class PooledConnectionFactoryprops - a properties object that should be filled in with this objects property values.public void setProperties(Properties properties)
JNDIStorableInterfacesetProperties in interface JNDIStorableInterfacepublic Properties getProperties()
JNDIStorableInterfacegetProperties in interface JNDIStorableInterfacepublic Reference getReference() throws NamingException
getReference in interface ReferenceableNamingExceptionpublic void setBrokerUrl(String url)
public String getBrokerUrl()
Copyright © 2005–2015 FuseSource, Corp.. All rights reserved.