2 Replies Latest reply on Jun 20, 2014 8:52 AM by rbuck

    How to set maximum JDBC connection age?


      Hi Folks,


      I have used several other connection pool implementations in Java and they tend to support a MaxAge setting. I can find no mention of any such feature in JBoss EAP 6.2 / 7.1.1.


      Having a MaxAge setting is very useful for distributed SQL databases that support dynamically scaling out and scaling in; for as additional capacity (resources) is added the existing connections could auto-balance across the available transactional engines.


      Is there some hidden feature in JBoss to make such a setting (I could not find on in the source code either, btw).


      Of if there is no such feature out of the box, does anyone know how one might accomplish this?


      This is for the latest EAP version that I just downloaded, if anyone was wondering.


      Thanks in advance,