I am trying to implement pooling in resource adapter. I tried various options but the pooling is not working. Whatever value I provide for pool size it is taking some default value. I am using JBOSS-EAP-6.3.
Can anyone help to make the pooling configuration work.
Following is the configuration details of my standalone.xml:
<subsystem xmlns="urn:jboss:domain:resource-adapters:1.1">
<resource-adapters>
<resource-adapter>
<archive>ABC.ear#XYZ.rar</archive>
<!-- Resource adapter level config-property -->
<transaction-support>XATransaction</transaction-support>
<connection-definitions>
<connection-definition class-name="org.ets.cbsr.common.taxes.adaptor.XYZ.XYZManagedConnectionFactoryImpl"
jndi-name="java:/test"
pool-name="XYZFactory" use-ccm="true">
<xa-pool>
<flush-strategy>IdleConnections</flush-strategy> -->
<max-pool-size>10</max-pool-size>
<min-pool-size>1</min-pool-size>
<prefill>true</prefill>
</xa-pool>
<!-- Managed connection factory level config-property -->
<config-property name="ServerName"></config-property>
<config-property name="UserName"></config-property>
<config-property name="Password"></config-property>
<config-property name="Encrypted"></config-property>
<config-property name="PasswordEncryptor"></config-property>
<config-property name="ConnectionURL"></config-property>
<security>
<application/>
</security>
</connection-definition>
</connection-definitions>
</resource-adapter>
</resource-adapters>
</subsystem>
Please ignore ---> in <flush-strategy>IdleConnections</flush-strategy> -->. it was a typo error