我开发了一个自定义的动态FTP组件来处理spring集成dsl。该组件在spring-boot 1.3.0上运行良好。然而,我不得不在我的一些集成中更新spring-boot,以使用屏障dsl功能,版本为1.5.6。(RemoteFileTemplate.java:435)
at org.springframework.integration.file.remote.RemoteFileTemplate.send(RemoteFileTempl
我正在将每个传入的消息转换为一个文件并上传到SFTP服务器。当SFTP在文件上传期间不可用时,我会得到巨大的异常堆栈跟踪日志。每次收到的消息都会发生这种情况。只是想知道是否有更干净的解决方案,可以捕获这些异常并使用配置的记录器记录自定义消息?(RemoteFileTemplate.java:306) ~[spring-integration-file-3.0.5.RELEASE.jar:na]
at org.springframewor
在我们的prod服务器中,我们已经通过jsch建立了SFTP连接。使用服务器的authkey,它可以很好地工作到中午。由于身份验证失败,我们突然遇到了30分钟的问题。然后它又开始工作了。请给我建议。(RemoteFileTemplate.java:343)
at org.springframework.integration.file.remote.RemoteFileTemplate.send(RemoteFileTemplate.java:
嗨,当我试图使用spring集成将csv文件上传到SFTP服务器时,我遇到了以下异常,无法找出发生了什么问题,但在服务器上我可以看到像10132_1234.csv.writing这样的文件,但是编写操作永远无法完成,而通过winscp我可以复制而没有任何问题,请帮助解决这个问题, at
org.springframe
有没有任何方法可以诱使或Jsch在文件上打印“没有这样的文件”的信息?当我查看Jsch代码时,似乎没有针对这个特定问题的任何日志记录,但是我可能遗漏了一些东西,即使它没有什么东西,可能捕捉到这个异常的Spring代码有一些它可以记录的上下文。org.springframework.core.NestedIOException: Failed to list files; nested exception is 2: No such file
at org.springframew