<subsystem xmlns="urn:jboss:domain:threads:1.1">
<bounded-queue-thread-pool name="custom-http-executor">
<core-threads count="100"/>
<queue-length count="500"/>
<max-threads count="300"/>
<keepalive-time time="120" unit="seconds"/>
</bounded-queue-thread-pool>