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
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: