java - Connection and Session Pooling in Jboss EAP 6.2 server to connect to MQ -


i want implement connection , session pooling in jboss-eap-6.2 server improve transaction rate. of application has open , close connection each time while sending message mq. please let me know should configuration in jboss server.

when set data sources there pool tag can use in standalone config file

    <datasources>         <datasource jta="true" jndi-name="java:/jndiname" pool-name="datasourcepoolname" enabled="true" use-java-context="true" use-ccm="true">             <connection-url>//connection_string</connection-url>             <driver>mysql</driver>             <pool>                 <min-pool-size>2</min-pool-size>                 <max-pool-size>125</max-pool-size>                 <prefill>false</prefill>                 <use-strict-min>false</use-strict-min>                 <flush-strategy>failingconnectiononly</flush-strategy>             </pool>             <timeout>                 <blocking-timeout-millis>30000</blocking-timeout-millis>                 <idle-timeout-minutes>5</idle-timeout-minutes>             </timeout>         </datasource>     <datasources> 

here more on jboss datasource configuration: https://docs.jboss.org/author/display/as71/datasource+configuration


Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -