CXF Set the number of threads. Java configuration

I used to use the following configuration for CXF HTTP Bus.

<httpj:engine-factory bus="cxf">
    <httpj:engine port="${http.endpoint.port}">
        <httpj:threadingParameters minThreads="${http.endpoint.minThreads}" maxThreads="${http.endpoint.maxThreads}" />
    </httpj:engine>
</httpj:engine-factory>

However, our team proceeds to configure Java, and now we use org.apache.cxf.bus.spring.SpringBusto configure the bus. But I do not see a way to configure minThreads and maxThreads through Java Config.

Thank you in advance

+4
source share

Source: https://habr.com/ru/post/1627281/


All Articles