WildFly Threads Subsystem Configuration
Jump to navigation
Jump to search
External
- Define Thread Pools for HTTP Connectors https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/6.4/html/Administration_and_Configuration_Guide/sect-Connector_Configuration.html#Define_Thread_Pools_for_HTTP_Connector_in_JBoss_Enterprise_Application_Platform
Internal
Overview
This page describes the steps required to define an executor and its associated thread factory. For a description behind the WildFly executor model, see WildFly Threads Subsystem Executor Model. The example below is fit to be used with a JBossWeb HTTP connector.
Thread Factory Configuration
Executor Configuration
Example
<subsystem xmlns="urn:jboss:domain:threads:1.1"> <thread-factory name="http-connector-factory" group-name="example-thread-pool" thread-name-pattern="http-%t" priority="9"/> <unbounded-queue-thread-pool name="uexample-thread-pool"> <max-threads count="500"/> <keepalive-time time="30" unit="seconds"/> <thread-factory name="http-connector-factory"/> </unbounded-queue-thread-pool> </subsystem>