Hi Trustin,

I'm using the trunk at the moment.

Regards
Michael


Trustin Lee schrieb:
Which version of MINA are you using?

Trustin

On 11/22/06, Michael Bauroth <[EMAIL PROTECTED]> wrote:

Hi,

I have a Spring configured server online. The old config looks like this
  (only small part):

<bean id="sessionConfig" factory-bean="defaultAcceptorConfig"
factory-method="getSessionConfig">
   <property name="reuseAddress" value="false"/>
   <property name="tcpNoDelay" value="true"/>
   <property name="sendBufferSize" value="1024"/>
   <property name="receiveBufferSize" value="1024"/>
   <property name="soLinger" value="10"/>
   <property name="oobInline" value="false"/>
   <property name="keepAlive" value="true"/>
</bean>

<bean id="ioAcceptor"
class="org.apache.mina.integration.spring.IoAcceptorFactoryBean">
   <property name="target" ref="acceptor"/>
   <property name="bindings">
     <list>
       <bean class="org.apache.mina.integration.spring.Binding">
         <property name="address" value=":1234"/>
         <property name="handler" ref="TcpServerSessionHandler"/>
         <property name="serviceConfig" ref="defaultAcceptorConfig"/>
       </bean>
     </list>
   </property>
</bean>

<bean id="App" class="TcpServer" >
   <constructor-arg ref="ioAcceptor" />
</bean>



How must I change this part (especially ioAcceptor) because the
IoAcceptorFactoryBean doesn't exist any longer.

I hope, somebody can help in a short way.

Best Regards
Michael





Reply via email to