I want to use the the JBoss's thread pool, this configuration you?
<subsystem xmlns="urn:jboss:domain:threads:1.1">
<bounded-queue-thread-pool name="test" allow-core-timeout="false">
<core-threads count="5"/>
<queue-length count="1"/>
<max-threads count="20"/>
<keepalive-time time="10" unit="seconds"/>
</bounded-queue-thread-pool>
</subsystem>
How do I access the thread pool in code?