Io WildFly Subsystem Configuration: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 20: Line 20:
===name===
===name===


The name of the XNIO Worker shared by Undertow and Remoting subsystems. If the name changes, [[Undertow WildFly Subsystem Configuration#http-listener|Undertow's <tt>http-listener</tt>]] and [[Remoting WildFly Subsystem Configuration|Remoting's <tt>...</tt>]] should be changed accordingly.
The name of the XNIO Worker shared by Undertow and Remoting subsystems. If the name changes, [[Undertow WildFly Subsystem Configuration#http-listener|Undertow's <tt>http-listener</tt>]] and [[Remoting WildFly Subsystem Configuration|Remoting's <tt>endpoint</tt>]] element should be changed accordingly.


==bufffer-pool==
==bufffer-pool==
=Declaring Different Workers to be Used by Undertow and Remoting=
<pre>
<subsystem xmlns="urn:jboss:domain:io:1.1">
    <!-- this will be used by Undertow -->
    <worker name="undertow-xnio-worker"/>
   
    <!-- this will be used by Remoting -->
    <worker name="default"/>
    <buffer-pool name="default"/>
</subsystem>
</pre>

Latest revision as of 03:28, 20 January 2016

Internal

Overview

<subsystem xmlns="urn:jboss:domain:io:1.1">
    <worker name="default"/>
    <buffer-pool name="default"/>
</subsystem>

Note that the XNIO Worker declared here is shared by both Undertow and Remoting, so a configuration change - including the name - affects both.

Configuration Elements

worker

name

The name of the XNIO Worker shared by Undertow and Remoting subsystems. If the name changes, Undertow's http-listener and Remoting's endpoint element should be changed accordingly.

bufffer-pool

Declaring Different Workers to be Used by Undertow and Remoting

<subsystem xmlns="urn:jboss:domain:io:1.1">

    <!-- this will be used by Undertow -->
    <worker name="undertow-xnio-worker"/>
    
    <!-- this will be used by Remoting -->
    <worker name="default"/>

    <buffer-pool name="default"/>

</subsystem>