lovepeculiar
Dec 31st, 2009, 01:42 AM
I want to write a class like AbstractPollingEndpoint, which can control its scheduler.but now I don't know how to take my class as a adapter write in the configration file.A part of my configration file as follows:
<si:inbound-channel-adapter channel="inputChannel"
ref="dbinput">
<beans:bean id="dbinput" class="com.neusoft.unieap.dataexchange.dbinputadaptor.DBI nputAdaptor">
<beans:property name="modelId" value="1261992849998">
</beans:property>
</beans:bean>
I don't want to add poller to the inbound-channel-adapter,because I want to control the poller in my class. Who can tell me how to take the message to the "inputChannel" in mu class.Thank You!!!
<si:inbound-channel-adapter channel="inputChannel"
ref="dbinput">
<beans:bean id="dbinput" class="com.neusoft.unieap.dataexchange.dbinputadaptor.DBI nputAdaptor">
<beans:property name="modelId" value="1261992849998">
</beans:property>
</beans:bean>
I don't want to add poller to the inbound-channel-adapter,because I want to control the poller in my class. Who can tell me how to take the message to the "inputChannel" in mu class.Thank You!!!