Announcement Announcement Module
Collapse
No announcement yet.
Inbound channel adapter poller interval doesn't work? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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.

    Comment


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

      Khoa

      Comment

      Working...
      X