I only use undertow directly I haven't looked at Wildfly before so I won't be able to answer your question sorry.

On Thu, Dec 22, 2016 at 7:55 AM, tone randomnaja <randomnaja@gmail.com> wrote:

And let's say if I had custom executor, how could I set the DispatchExecutor ? (from Wildfly point-of-view)
Could it be another module being placed inside system lib of Wildfly ? 

ps. I'm pretty sure, I'd not have done this within Application (EAR/WAR) itself ?

On Thu, Dec 22, 2016 at 6:43 PM, Bill O'Neil <bill@dartalley.com> wrote:
This might be what you are looking for.

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.

On Thu, Dec 22, 2016 at 6:16 AM, tone randomnaja <randomnaja@gmail.com> wrote:
Hi there !

Undertow has `IO Thread` and `Worker Thread` configuration (<subsystem xmlns="urn:jboss:domain:io:1.1"><worker name="default".....) which could be bounded per Listener (<http-listener....).

In my case I have 1 Listenner (AJP) and 1 Application (EAR),
I'd like to be able to priority and manage Worker Thread base on some preferences, such as URL path.

Above for a reason of controlling the load of specific URL (under the same Web Context).

Any suggestions or ideas ?

undertow-dev mailing list