Showing:

Annotations
Attributes
Model
Properties
Element tns:pooledConnectionFactory
Namespace http://activemq.apache.org/schema/core
Annotations
Simple factory bean used to create a jencks connection pool.
Depending on the properties set, it will create a simple pool,
a transaction aware connection pool, or a jca aware connection pool.

<pre class="code">
<bean id="pooledConnectionFactory" class="javax.script.ScriptEngineFactory.PooledConnectionFactoryFactoryBean">
  <property name="connectionFactory" ref="connectionFactory" />
  <property name="transactionManager" ref="transactionManager" />
  <property name="resourceName" value="ResourceName" />
</bean>
</pre>

The <code>resourceName</code> property should be used along with the {@link org.apache.activemq.jms.pool.GenericResourceManager} and have
the same value than its <code>resourceName</code> property. This will make sure the transaction manager
maps correctly the connection factory to the recovery process.
Properties
content complex
Model
tns:connectionFactory{0,1} | tns:transactionManager{0,1} | ANY element from ANY namespace OTHER than 'http://activemq.apache.org/schema/core'
Children tns:connectionFactory, tns:transactionManager
Attributes
QName Type Use
connectionFactory xs:string optional
id xs:ID optional
maxConnections xs:integer optional
maximumActive xs:integer optional
resourceName xs:string optional
transactionManager xs:string optional
Wildcard: ANY attribute from ANY namespace OTHER than 'http://activemq.apache.org/schema/core'
Element tns:pooledConnectionFactory / tns:connectionFactory
Namespace http://activemq.apache.org/schema/core
Properties
content complex
minOccurs 0
maxOccurs 1
Model
tns:connectionFactory | tns:xaConnectionFactory | ANY element from ANY namespace OTHER than 'http://activemq.apache.org/schema/core'
Children tns:connectionFactory, tns:xaConnectionFactory
Element tns:pooledConnectionFactory / tns:transactionManager
Namespace http://activemq.apache.org/schema/core
Properties
content complex
minOccurs 0
maxOccurs 1
Model
ANY element from ANY namespace
Attribute tns:pooledConnectionFactory / @connectionFactory
Namespace No namespace
Type xs:string
Properties
content simple
Attribute tns:pooledConnectionFactory / @maxConnections
Namespace No namespace
Type xs:integer
Properties
content simple
Attribute tns:pooledConnectionFactory / @maximumActive
Namespace No namespace
Type xs:integer
Properties
content simple
Attribute tns:pooledConnectionFactory / @resourceName
Namespace No namespace
Type xs:string
Properties
content simple
Attribute tns:pooledConnectionFactory / @transactionManager
Namespace No namespace
Type xs:string
Properties
content simple
Attribute tns:pooledConnectionFactory / @id
Namespace No namespace
Type xs:ID
Properties
content simple