WildFly Threads Subsystem Configuration: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:


* [[WildFly Threads Subsystem#Subjects|WildFly Threads Subsystem]]
* [[WildFly Threads Subsystem#Subjects|WildFly Threads Subsystem]]
=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 Concepts#Executor_Model|WildFly Threads Subsystem Executor Model]].


=Example=
=Example=

Revision as of 21:10, 8 June 2016

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.

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>