Announcement Announcement Module
Collapse
No announcement yet.
how to make a adapter in the configration file Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • how to make a adapter in the configration file

    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.dbinputadap tor.DBInputAdaptor">
    <beansroperty name="modelId" value="1261992849998">
    </beansroperty>
    </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!!!

  • #2
    You may find a gateway also adequate when you only need to send objects to your "inputChannel" from your "DBInputAdaptor".

    http://static.springsource.org/sprin...e.html#gateway
    Alex

    Comment

    Working...
    X