Results 1 to 2 of 2

Thread: how to make a adapter in the configration file

  1. #1

    Default 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. #2
    Join Date
    Jan 2009
    Posts
    8

    Default

    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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •