wsky / top-link

embedded duplex multi-channel endpoint and connection management for c#/java/...
6 stars 1 forks source link

springServerBean support set min thread count #73

Closed wsky closed 11 years ago

wsky commented 11 years ago

code

public void setMaxBusinessThreadCount(String maxThreadCount) {
        this.maxThreadCount = Integer.parseInt(maxThreadCount);
    }

xml

<bean name="internalServer" class="com.taobao.top.link.remoting.SpringServerBean">
        <property name="port" value="8890" />
        <property name="path" value="internal" />
        <property name="maxMessageSize" value="1024" />
        <property name="maxBusinessThreadCount" value="20" />
    </bean>

add minBusinessThreadCount