Thank you. Have found it in the meanwhile by myself. Seems that I had a
blackout :)
Best Regards
Michael
Niklas Therning schrieb:
Michael Bauroth wrote:
Hi,
me again :)
I've played a little bit with different acceptor settings and want to
try the following with Spring:
this.acceptor = new SocketAcceptor( 2, Executors.newCachedThreadPool() );
But this seems advanced Spring stuff :(
Has anybody a hint for me about the right syntax?
Something like:
<bean id="socketAcceptor" class="o.a.m.transport.socket.nio.SocketAcceptor">
<constructor-arg value="2"/>
<constructor-arg>
<bean class="java.util.concurrent.Executors"
factory-method="newCachedThreadPool"/>
</constructor-arg>
...
</bean>
could work.
HTH