Reputation: 1481
I'm follow this docs this docs
and add maven depency:
<dependency>
<groupId>org.springframework.integration</groupId>
<artifactId>spring-integration-sftp</artifactId>
<version>5.0.0.M6</version>
</dependency>
<dependency>
<groupId>org.springframework.integration</groupId>
<artifactId>spring-integration-java-dsl</artifactId>
<version>1.2.3.RELEASE</version>
</dependency>
But it cannot resolve these method:
does I miss anything?
Upvotes: 2
Views: 1128
Reputation: 121550
Starting with Spring Integration 5.0
, whole Java DSL project is merged to the core project. So, you don't need that extra spring-integration-java-dsl
dependency anymore. More over it isn't compatible with Spring Integration 5.0
.
There is no any more such a handleWithAdapter()
since there is no single entry point because all the namespace factories are distributed between appropriate modules.
So, right now you have to do this:
.handle(Sftp.outboundGateway(...))
See Migration Guide for more info.
And also follow back to the past from release blog post.
Upvotes: 4