8 Replies Latest reply on Apr 12, 2013 9:20 AM by Jeff Mesnil

    how to configure max pool size for hornetq resource adapter

    Mandar Kulkarni Newbie

      How can I specify min-pool-size and max-pool-size for hornetq resource adapter in JBoss 7 ?

       

      I can see a 'resoruce-adapter' element in the schema, but looks like it is used only for custom resource adapaters.Since hornetq is integrated as a default JMS provider in JBoss 7, I can not specify the 'archive' element for resource-adapater schema and the archive configuration is madatory.

       

      At times, I get an exception in the log something like... "Unable to get managed connection within a maximum specified time period". My application is using JMS quite extensively, so I presume that this could be an issue with connection pool getting exhausted. I am still investigating the connection leakage.

       

      Did not get much of a help from HornetQ user group.Hence posting here.

      https://community.jboss.org/thread/177917