Element Summary

ElementDescriptionClass
jcaPooledConnectionFactoryorg.jencks.amqpool.JcaPooledConnectionFactory
poolA JMS provider which pools Connection, Session and MessageProducer instances so it can be used with tools like Spring's JmsTemplate. NOTE this implementation is only intended for use when sending messages. It does not deal with pooling of consumers; for that look at a library like Jencks such as in this exampleorg.jencks.amqpool.PooledConnectionFactory
xa-poolA pooled connection factory that automatically enlists sessions in the current active XA transaction if any.org.jencks.amqpool.XaPooledConnectionFactory

Element Detail

Element: jcaPooledConnectionFactory

AttributeTypeDescription
brokerURLxs:string
maxConnectionsxs:integer
maximumActivexs:integerSets the maximum number of active sessions per connection
namexs:string
ElementTypeDescription
connectionFactoryjcaPooledConnectionFactory | pool | xa-pool
poolFactory<spring:bean/>Sets the object pool factory used to create individual session pools for each connection
transactionManager<spring:bean/>

Element: pool

AttributeTypeDescription
brokerURLxs:string
maxConnectionsxs:integer
maximumActivexs:integerSets the maximum number of active sessions per connection
ElementTypeDescription
connectionFactoryjcaPooledConnectionFactory | pool | xa-pool
poolFactory<spring:bean/>Sets the object pool factory used to create individual session pools for each connection

Element: xa-pool

AttributeTypeDescription
brokerURLxs:string
maxConnectionsxs:integer
maximumActivexs:integerSets the maximum number of active sessions per connection
ElementTypeDescription
connectionFactoryjcaPooledConnectionFactory | pool | xa-pool
poolFactory<spring:bean/>Sets the object pool factory used to create individual session pools for each connection
transactionManager<spring:bean/>