<div dir="ltr">I only use undertow directly I haven&#39;t looked at Wildfly before so I won&#39;t be able to answer your question sorry.</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 22, 2016 at 7:55 AM, tone randomnaja <span dir="ltr">&lt;<a href="mailto:randomnaja@gmail.com" target="_blank">randomnaja@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks,<div><br></div><div>And let&#39;s say if I had custom executor, how could I set the DispatchExecutor ? (from Wildfly point-of-view)</div><div>Could it be another module being placed inside system lib of Wildfly ? </div><div><br></div><div>ps. I&#39;m pretty sure, I&#39;d not have done this within Application (EAR/WAR) itself ?</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 22, 2016 at 6:43 PM, Bill O&#39;Neil <span dir="ltr">&lt;<a href="mailto:bill@dartalley.com" target="_blank">bill@dartalley.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">This might be what you are looking for.<div><br></div><div><a href="https://github.com/undertow-io/undertow/blob/master/core/src/main/java/io/undertow/server/HttpServerExchange.java#L821" target="_blank">https://github.com/undertow-io<wbr>/undertow/blob/master/core/src<wbr>/main/java/io/undertow/server/<wbr>HttpServerExchange.java#L821</a><br></div><div><br></div><div>You can change the dispatch executor to your own custom executor before you call dispatch. This will allow you to have different worker pools and configure them per HttpHandler.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 22, 2016 at 6:16 AM, tone randomnaja <span dir="ltr">&lt;<a href="mailto:randomnaja@gmail.com" target="_blank">randomnaja@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span style="color:rgb(0,0,0);font-family:consolas,&#39;lucida console&#39;,monospace;font-size:13px">Hi there !</span><br><div><span style="color:rgb(0,0,0);font-family:consolas,&#39;lucida console&#39;,monospace;font-size:13px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:consolas,&#39;lucida console&#39;,monospace;font-size:13px">Undertow has `</span><span style="color:rgb(0,0,0);font-family:consolas,&#39;lucida console&#39;,monospace;font-size:13px">IO Thread` and `Worker Thread` configuration (</span><font color="#000000" face="consolas, lucida console, monospace">&lt;subsystem xmlns=&quot;urn:jboss:domain:io:1.1<wbr>&quot;&gt;&lt;worker name=&quot;default&quot;.....</font><span style="color:rgb(0,0,0);font-family:consolas,&#39;lucida console&#39;,monospace;font-size:13px">) which could be bounded per Listener (</span><font color="#000000" face="consolas, lucida console, monospace">&lt;http-listener....</font><span style="color:rgb(0,0,0);font-family:consolas,&#39;lucida console&#39;,monospace;font-size:13px">).</span></div><div><span style="color:rgb(0,0,0);font-family:consolas,&#39;lucida console&#39;,monospace;font-size:13px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:consolas,&#39;lucida console&#39;,monospace;font-size:13px">In my case I have 1 Listenner (AJP) and 1 Application (EAR),</span><span style="color:rgb(0,0,0);font-family:consolas,&#39;lucida console&#39;,monospace;font-size:13px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:consolas,&#39;lucida console&#39;,monospace;font-size:13px">I&#39;d like to be able to priority and manage Worker Thread base on some preferences, </span><span style="color:rgb(0,0,0);font-family:consolas,&#39;lucida console&#39;,monospace;font-size:13px">such as URL path.</span><span style="color:rgb(0,0,0);font-family:consolas,&#39;lucida console&#39;,monospace;font-size:13px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:consolas,&#39;lucida console&#39;,monospace;font-size:13px"><br></span></div><div><font color="#000000" face="consolas, lucida console, monospace">Above for a reason of controlling the load of specific URL (under the same Web Context).</font></div><div><font color="#000000" face="consolas, lucida console, monospace"><br></font></div><div><font color="#000000" face="consolas, lucida console, monospace">Any suggestions or ideas ?</font></div></div>
<br>______________________________<wbr>_________________<br>
undertow-dev mailing list<br>
<a href="mailto:undertow-dev@lists.jboss.org" target="_blank">undertow-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/undertow-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailma<wbr>n/listinfo/undertow-dev</a><br></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>