first,thanks for your attention i defined a outbound-gateway ftp adapter with polling as bellow code :
<int-ftp:outbound-gateway id="gatewayLS"
session-factory="ftpClientFactory"
request-channel="inboundFileChannel"
command="ls"
command-options="-1"
expression="'books/*'"
reply-channel="outboundJobRequestChannel">
<int:poller fixed-rate="5000"/>
</int-ftp:outbound-gateway>
but I got the following exception:
org.xml.sax.SAXParseException; lineNumber: 57; columnNumber: 40; cvc-complex-type.2.4.a: Invalid content was found starting with element 'int:poller'. One of '{"http://www.springframework.org/schema/integration/ftp":request-handler-advice-chain}' is expected.
what is correct action for above problem?
thanks