0

I am using spring-integration with ftp. When i use int-ftp:inbound-channel-adapter, then it is working fine, but int-ftp:inbound-streaming-channel-adapter yields the following error:

cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'int-ftp:inbound-streaming-channel-adapter

What could I be missing?

The relevant portion of my code is

<int-ftp:inbound-streaming-channel-adapter id="ftpInbound"
         channel="ftpChannel"
         session-factory="ftpClientFactory"
         filename-pattern="*.txt"
         filename-regex=".*\.txt"
         filter="customFilter"
         remote-file-separator="/"
         comparator="comparator"
         remote-directory-expression="'/OUT/SDI402_CARATT_JD'">
     <int:poller fixed-rate="1000" />
 </int-ftp:inbound-streaming-channel-adapter>
Andy
  • 3,132
  • 4
  • 36
  • 68

1 Answers1

0

Use in your dependencies spring integration 4.3.1.RELEASE. That solved the exact same problem in my case.

  • i am using the following pom entry but still i am getting the error. org.springframework.integration spring-integration-core 4.3.1.RELEASE – chetan agrawal Aug 08 '16 at 10:04
  • in xml, i am using the following URL http://www.springframework.org/schema/integration/ftp/spring-integration-ftp.xsd. i didnt see any folder with ftp name, may be because of this we are getting error – chetan agrawal Aug 08 '16 at 11:20