-
1. Re: HornetQ pool configuration
ataylor Apr 13, 2012 9:11 AM (in response to krot-s)thats not really a hornetq question, MDB's are part of the AS.
re your question aboiut using XA that all depends on your app, if you want the mdb consumption or send to be part of the tx then yes. altho i think it is xa by default
-
2. Re: HornetQ pool configuration
jmesnil Apr 13, 2012 9:26 AM (in response to krot-s)
Viacheslav Krot wrote:<subsystem xmlns="urn:jboss:domain:messaging:1.1"> <hornetq-server> <clustered>true</clustered> <persistence-enabled>true</persistence-enabled> <thread-pool-max-size>100</thread-pool-max-size> ...
And I still see that pool size is equal to 20 during debug. Pool name is HornetQConnectionDefinition.
How can I increase max pool size?
This configuration is used to configure the thread pool used by HornetQ server to parallelize its execution. It is unrelated to pooled JMS connection factory.
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.
If you run the latest code from AS7, you can set the pool sizes correctly:
<pooled-connection-factory name="my-cf-pool">
<min-pool-size>42</min-pool-size>
<max-pool-size>242</max-pool-size>
...
</pooled-connection-factory>
-
3. Re: HornetQ pool configuration
krot-s Apr 13, 2012 10:37 AM (in response to jmesnil)Jeff Mesnil,
Thank you!