Changing limit of JMS threads in JBoss

Needed to change JMS thread count limit in JBoss 4.2.3 today. And didn’t find any direct answer for this question quickly.

Just go to jboss-4.2.3.GA/server/default/deploy/jms/jms-ds.xml and find max-pool-size parameter value.

Change it to the desired value and restart server.