-
1. Re: HornetQ pool configuration
krot-s Apr 13, 2012 9:38 AM (in response to krot-s)I found how pool configuration is created in the code. Configuration is stored in org.jboss.jca.core.api.connectionmanager.pool.PoolConfiguration object, it is initialized in org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer#createPoolConfiguration(CommonPool pp, CommonTimeOut tp, CommonValidation vp), common pool implementation comes from org.jboss.as.messaging.jms.PooledConnectionFactoryService#createConnDef, and that has following code:
CommonPoolImpl pool = new CommonPoolImpl(null, null, false, false, FlushStrategy.FAILING_CONNECTION_ONLY);
that means that PoolConfiguration#maxSize always has default value, 20, and setMaxSize is never called.
Is that a bug? Should there be some configuration property, or did I miss something?
p.s. what tag highlights source code? there is no special when replying.
-
2. Re: HornetQ pool configuration
krot-s Apr 13, 2012 10:38 AM (in response to krot-s)The question was answerd in HornetQ forum:
There was a bug preventing to set the min/max size for JMS pooled connection factory that has been recently fixed in AS7 https://issues.jboss.org/browse/AS7-4330.