Results 1 to 3 of 3

Thread: Inbound channel adapter poller interval doesn't work?

  1. #1

    Default Inbound channel adapter poller interval doesn't work?

    Hi,

    I have configured the following:
    Code:
    <si:inbound-channel-adapter channel="zippedFile" ref="sofieFetch" method="fetch">
    	<si:poller><si:interval-trigger interval="300000" time-unit="MILLISECONDS"/></si:poller>
    </si:inbound-channel-adapter>
    
    <si:channel id="zippedFile"/>
    
    <si:transformer input-channel="zippedFile" ref="sofieUnzip" method="unzip" output-channel="FilesIn"/>
    For some reason, "sofieFetch" keeps fetching the remote file, ignoring the 300000 milliseconds interval. Any ideas on what might cause this?

    I am using SI 2.3.0

    Thanks,
    Khoa

  2. #2
    Join Date
    Oct 2005
    Location
    Boston, MA
    Posts
    2,840

    Default

    you should add "max-messages-per-poll" to your poller element. Otherwise, it will continue polling as long as non-NULL values are returned by the method.

  3. #3

    Default

    Duh, I should have known... Thanks Mark for the tip.

    Khoa

Posting Permissions

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