Spring Integration: Http with SFTP Gateway












0















I am trying to Connect both Http and SFTP Gateways using Spring Integeration...and wants to read list of files, i.e. running LS command.



This is my code:



// Spring Integration Configuration..



@Bean(name = "sftp.session.factory")
public SessionFactory<LsEntry> sftpSessionFactory() {

DefaultSftpSessionFactory factory = new DefaultSftpSessionFactory(true);
factory.setPort(port);
factory.setHost(host);
factory.setUser(user);
factory.setPassword(password);
factory.setAllowUnknownKeys(allowUnknownKeys);

return new CachingSessionFactory<LsEntry>(factory);
}

@Bean(name = "remote.file.template")
public RemoteFileTemplate<LsEntry> remoteFileTemplate() {

RemoteFileTemplate<LsEntry> remoteFileTemplate = new RemoteFileTemplate<LsEntry>(sftpSessionFactory());
remoteFileTemplate.setRemoteDirectoryExpression(new LiteralExpression(remoteDirectory));
return remoteFileTemplate;
}

@Bean(name = PollerMetadata.DEFAULT_POLLER)
public PollerMetadata poller() {
return Pollers.fixedRate(500).get();
}


/* SFTP READ OPERATION CONFIGURATIONS */

@Bean(name = "http.get.integration.flow")
@DependsOn("http.get.error.channel")
public IntegrationFlow httpGetIntegrationFlow() {
return IntegrationFlows
.from(httpGetGate())
.channel(httpGetRequestChannel())
.handle("sftpService", "performSftpReadOperation")
.get();
}

@Bean
public MessagingGatewaySupport httpGetGate() {

RequestMapping requestMapping = new RequestMapping();
requestMapping.setMethods(HttpMethod.GET);
requestMapping.setPathPatterns("/api/sftp/ping");

HttpRequestHandlingMessagingGateway gateway = new HttpRequestHandlingMessagingGateway();
gateway.setRequestMapping(requestMapping);
gateway.setRequestChannel(httpGetRequestChannel());
gateway.setReplyChannel(httpGetResponseChannel());
gateway.setReplyTimeout(20000);

return gateway;
}

@Bean(name = "http.get.error.channel")
public IntegrationFlow httpGetErrorChannel() {
return IntegrationFlows.from("rejected").transform("'Error while processing request; got' + payload").get();
}

@Bean
@ServiceActivator(inputChannel = "sftp.read.request.channel")
public MessageHandler sftpReadHandler(){
return new SftpOutboundGateway(remoteFileTemplate(), Command.LS.getCommand(), "payload");
}

@Bean(name = "http.get.request.channel")
public MessageChannel httpGetRequestChannel(){
return new DirectChannel(); //new QueueChannel(25);
}

@Bean(name = "http.get.response.channel")
public MessageChannel httpGetResponseChannel(){
return new DirectChannel(); //new QueueChannel(25);
}

@Bean(name = "sftp.read.request.channel")
public MessageChannel sftpReadRequestChannel(){
return new DirectChannel(); //new QueueChannel(25);
}

@Bean(name = "sftp.read.response.channel")
public MessageChannel sftpReadResponseChannel(){
return new DirectChannel(); //new QueueChannel(25);
}


// Gateway



@MessagingGateway(name="sftpGateway")
public interface SftpMessagingGateway {

@Gateway(requestChannel = "sftp.read.request.channel", replyChannel = "sftp.read.response.channel")
@Description("Handles Sftp Outbound READ Request")
Future<Message> readListOfFiles();
}


// ServiceActivator, i.e. main logic.



  @Autowired
private SftpMessagingGateway sftpGateway;

@ServiceActivator(inputChannel = "http.get.request.channel", outputChannel="http.get.response.channel")
public ResponseEntity<String> performSftpReadOperation(Message<?> message) throws ExecutionException, InterruptedException {

System.out.println("performSftpReadOperation()");

ResponseEntity<String> responseEntity;
Future<Message> result = sftpGateway.readListOfFiles();
while(!result.isDone()){
Thread.sleep(300);
System.out.println("Waitign.....");
}

if(Objects.nonNull(result)){

List<SftpFileInfo> listOfFiles = (List<SftpFileInfo>) result.get().getPayload();
System.out.println("Sftp File Info: "+listOfFiles);

responseEntity = new ResponseEntity<String>("Sftp Server is UP and Running", HttpStatus.OK);
}
else {
responseEntity = new ResponseEntity<String>("Error while acessing Sftp Server. Please try again later!!!", HttpStatus.SERVICE_UNAVAILABLE);
}

return responseEntity;
}


Whenever I hit the end-point ("/api/sftp/ping") it went to a loop of:



performSftpReadOperation()
Waitign.....



performSftpReadOperation()
Waitign.....



performSftpReadOperation()
Waitign.....



performSftpReadOperation()
Waitign.....



performSftpReadOperation()
Waitign.....



Kindly guide me how to fix this issue. There might be some issue with httpGetIntegrationFlow().
Thanks










share|improve this question

























  • The configuration looks ok; I suggest you turn on debug logging for org.springframework.integration and watch the message flow. You might also need to enable debug logging for com.jcraft.jsch.

    – Gary Russell
    Nov 20 '18 at 19:03
















0















I am trying to Connect both Http and SFTP Gateways using Spring Integeration...and wants to read list of files, i.e. running LS command.



This is my code:



// Spring Integration Configuration..



@Bean(name = "sftp.session.factory")
public SessionFactory<LsEntry> sftpSessionFactory() {

DefaultSftpSessionFactory factory = new DefaultSftpSessionFactory(true);
factory.setPort(port);
factory.setHost(host);
factory.setUser(user);
factory.setPassword(password);
factory.setAllowUnknownKeys(allowUnknownKeys);

return new CachingSessionFactory<LsEntry>(factory);
}

@Bean(name = "remote.file.template")
public RemoteFileTemplate<LsEntry> remoteFileTemplate() {

RemoteFileTemplate<LsEntry> remoteFileTemplate = new RemoteFileTemplate<LsEntry>(sftpSessionFactory());
remoteFileTemplate.setRemoteDirectoryExpression(new LiteralExpression(remoteDirectory));
return remoteFileTemplate;
}

@Bean(name = PollerMetadata.DEFAULT_POLLER)
public PollerMetadata poller() {
return Pollers.fixedRate(500).get();
}


/* SFTP READ OPERATION CONFIGURATIONS */

@Bean(name = "http.get.integration.flow")
@DependsOn("http.get.error.channel")
public IntegrationFlow httpGetIntegrationFlow() {
return IntegrationFlows
.from(httpGetGate())
.channel(httpGetRequestChannel())
.handle("sftpService", "performSftpReadOperation")
.get();
}

@Bean
public MessagingGatewaySupport httpGetGate() {

RequestMapping requestMapping = new RequestMapping();
requestMapping.setMethods(HttpMethod.GET);
requestMapping.setPathPatterns("/api/sftp/ping");

HttpRequestHandlingMessagingGateway gateway = new HttpRequestHandlingMessagingGateway();
gateway.setRequestMapping(requestMapping);
gateway.setRequestChannel(httpGetRequestChannel());
gateway.setReplyChannel(httpGetResponseChannel());
gateway.setReplyTimeout(20000);

return gateway;
}

@Bean(name = "http.get.error.channel")
public IntegrationFlow httpGetErrorChannel() {
return IntegrationFlows.from("rejected").transform("'Error while processing request; got' + payload").get();
}

@Bean
@ServiceActivator(inputChannel = "sftp.read.request.channel")
public MessageHandler sftpReadHandler(){
return new SftpOutboundGateway(remoteFileTemplate(), Command.LS.getCommand(), "payload");
}

@Bean(name = "http.get.request.channel")
public MessageChannel httpGetRequestChannel(){
return new DirectChannel(); //new QueueChannel(25);
}

@Bean(name = "http.get.response.channel")
public MessageChannel httpGetResponseChannel(){
return new DirectChannel(); //new QueueChannel(25);
}

@Bean(name = "sftp.read.request.channel")
public MessageChannel sftpReadRequestChannel(){
return new DirectChannel(); //new QueueChannel(25);
}

@Bean(name = "sftp.read.response.channel")
public MessageChannel sftpReadResponseChannel(){
return new DirectChannel(); //new QueueChannel(25);
}


// Gateway



@MessagingGateway(name="sftpGateway")
public interface SftpMessagingGateway {

@Gateway(requestChannel = "sftp.read.request.channel", replyChannel = "sftp.read.response.channel")
@Description("Handles Sftp Outbound READ Request")
Future<Message> readListOfFiles();
}


// ServiceActivator, i.e. main logic.



  @Autowired
private SftpMessagingGateway sftpGateway;

@ServiceActivator(inputChannel = "http.get.request.channel", outputChannel="http.get.response.channel")
public ResponseEntity<String> performSftpReadOperation(Message<?> message) throws ExecutionException, InterruptedException {

System.out.println("performSftpReadOperation()");

ResponseEntity<String> responseEntity;
Future<Message> result = sftpGateway.readListOfFiles();
while(!result.isDone()){
Thread.sleep(300);
System.out.println("Waitign.....");
}

if(Objects.nonNull(result)){

List<SftpFileInfo> listOfFiles = (List<SftpFileInfo>) result.get().getPayload();
System.out.println("Sftp File Info: "+listOfFiles);

responseEntity = new ResponseEntity<String>("Sftp Server is UP and Running", HttpStatus.OK);
}
else {
responseEntity = new ResponseEntity<String>("Error while acessing Sftp Server. Please try again later!!!", HttpStatus.SERVICE_UNAVAILABLE);
}

return responseEntity;
}


Whenever I hit the end-point ("/api/sftp/ping") it went to a loop of:



performSftpReadOperation()
Waitign.....



performSftpReadOperation()
Waitign.....



performSftpReadOperation()
Waitign.....



performSftpReadOperation()
Waitign.....



performSftpReadOperation()
Waitign.....



Kindly guide me how to fix this issue. There might be some issue with httpGetIntegrationFlow().
Thanks










share|improve this question

























  • The configuration looks ok; I suggest you turn on debug logging for org.springframework.integration and watch the message flow. You might also need to enable debug logging for com.jcraft.jsch.

    – Gary Russell
    Nov 20 '18 at 19:03














0












0








0








I am trying to Connect both Http and SFTP Gateways using Spring Integeration...and wants to read list of files, i.e. running LS command.



This is my code:



// Spring Integration Configuration..



@Bean(name = "sftp.session.factory")
public SessionFactory<LsEntry> sftpSessionFactory() {

DefaultSftpSessionFactory factory = new DefaultSftpSessionFactory(true);
factory.setPort(port);
factory.setHost(host);
factory.setUser(user);
factory.setPassword(password);
factory.setAllowUnknownKeys(allowUnknownKeys);

return new CachingSessionFactory<LsEntry>(factory);
}

@Bean(name = "remote.file.template")
public RemoteFileTemplate<LsEntry> remoteFileTemplate() {

RemoteFileTemplate<LsEntry> remoteFileTemplate = new RemoteFileTemplate<LsEntry>(sftpSessionFactory());
remoteFileTemplate.setRemoteDirectoryExpression(new LiteralExpression(remoteDirectory));
return remoteFileTemplate;
}

@Bean(name = PollerMetadata.DEFAULT_POLLER)
public PollerMetadata poller() {
return Pollers.fixedRate(500).get();
}


/* SFTP READ OPERATION CONFIGURATIONS */

@Bean(name = "http.get.integration.flow")
@DependsOn("http.get.error.channel")
public IntegrationFlow httpGetIntegrationFlow() {
return IntegrationFlows
.from(httpGetGate())
.channel(httpGetRequestChannel())
.handle("sftpService", "performSftpReadOperation")
.get();
}

@Bean
public MessagingGatewaySupport httpGetGate() {

RequestMapping requestMapping = new RequestMapping();
requestMapping.setMethods(HttpMethod.GET);
requestMapping.setPathPatterns("/api/sftp/ping");

HttpRequestHandlingMessagingGateway gateway = new HttpRequestHandlingMessagingGateway();
gateway.setRequestMapping(requestMapping);
gateway.setRequestChannel(httpGetRequestChannel());
gateway.setReplyChannel(httpGetResponseChannel());
gateway.setReplyTimeout(20000);

return gateway;
}

@Bean(name = "http.get.error.channel")
public IntegrationFlow httpGetErrorChannel() {
return IntegrationFlows.from("rejected").transform("'Error while processing request; got' + payload").get();
}

@Bean
@ServiceActivator(inputChannel = "sftp.read.request.channel")
public MessageHandler sftpReadHandler(){
return new SftpOutboundGateway(remoteFileTemplate(), Command.LS.getCommand(), "payload");
}

@Bean(name = "http.get.request.channel")
public MessageChannel httpGetRequestChannel(){
return new DirectChannel(); //new QueueChannel(25);
}

@Bean(name = "http.get.response.channel")
public MessageChannel httpGetResponseChannel(){
return new DirectChannel(); //new QueueChannel(25);
}

@Bean(name = "sftp.read.request.channel")
public MessageChannel sftpReadRequestChannel(){
return new DirectChannel(); //new QueueChannel(25);
}

@Bean(name = "sftp.read.response.channel")
public MessageChannel sftpReadResponseChannel(){
return new DirectChannel(); //new QueueChannel(25);
}


// Gateway



@MessagingGateway(name="sftpGateway")
public interface SftpMessagingGateway {

@Gateway(requestChannel = "sftp.read.request.channel", replyChannel = "sftp.read.response.channel")
@Description("Handles Sftp Outbound READ Request")
Future<Message> readListOfFiles();
}


// ServiceActivator, i.e. main logic.



  @Autowired
private SftpMessagingGateway sftpGateway;

@ServiceActivator(inputChannel = "http.get.request.channel", outputChannel="http.get.response.channel")
public ResponseEntity<String> performSftpReadOperation(Message<?> message) throws ExecutionException, InterruptedException {

System.out.println("performSftpReadOperation()");

ResponseEntity<String> responseEntity;
Future<Message> result = sftpGateway.readListOfFiles();
while(!result.isDone()){
Thread.sleep(300);
System.out.println("Waitign.....");
}

if(Objects.nonNull(result)){

List<SftpFileInfo> listOfFiles = (List<SftpFileInfo>) result.get().getPayload();
System.out.println("Sftp File Info: "+listOfFiles);

responseEntity = new ResponseEntity<String>("Sftp Server is UP and Running", HttpStatus.OK);
}
else {
responseEntity = new ResponseEntity<String>("Error while acessing Sftp Server. Please try again later!!!", HttpStatus.SERVICE_UNAVAILABLE);
}

return responseEntity;
}


Whenever I hit the end-point ("/api/sftp/ping") it went to a loop of:



performSftpReadOperation()
Waitign.....



performSftpReadOperation()
Waitign.....



performSftpReadOperation()
Waitign.....



performSftpReadOperation()
Waitign.....



performSftpReadOperation()
Waitign.....



Kindly guide me how to fix this issue. There might be some issue with httpGetIntegrationFlow().
Thanks










share|improve this question
















I am trying to Connect both Http and SFTP Gateways using Spring Integeration...and wants to read list of files, i.e. running LS command.



This is my code:



// Spring Integration Configuration..



@Bean(name = "sftp.session.factory")
public SessionFactory<LsEntry> sftpSessionFactory() {

DefaultSftpSessionFactory factory = new DefaultSftpSessionFactory(true);
factory.setPort(port);
factory.setHost(host);
factory.setUser(user);
factory.setPassword(password);
factory.setAllowUnknownKeys(allowUnknownKeys);

return new CachingSessionFactory<LsEntry>(factory);
}

@Bean(name = "remote.file.template")
public RemoteFileTemplate<LsEntry> remoteFileTemplate() {

RemoteFileTemplate<LsEntry> remoteFileTemplate = new RemoteFileTemplate<LsEntry>(sftpSessionFactory());
remoteFileTemplate.setRemoteDirectoryExpression(new LiteralExpression(remoteDirectory));
return remoteFileTemplate;
}

@Bean(name = PollerMetadata.DEFAULT_POLLER)
public PollerMetadata poller() {
return Pollers.fixedRate(500).get();
}


/* SFTP READ OPERATION CONFIGURATIONS */

@Bean(name = "http.get.integration.flow")
@DependsOn("http.get.error.channel")
public IntegrationFlow httpGetIntegrationFlow() {
return IntegrationFlows
.from(httpGetGate())
.channel(httpGetRequestChannel())
.handle("sftpService", "performSftpReadOperation")
.get();
}

@Bean
public MessagingGatewaySupport httpGetGate() {

RequestMapping requestMapping = new RequestMapping();
requestMapping.setMethods(HttpMethod.GET);
requestMapping.setPathPatterns("/api/sftp/ping");

HttpRequestHandlingMessagingGateway gateway = new HttpRequestHandlingMessagingGateway();
gateway.setRequestMapping(requestMapping);
gateway.setRequestChannel(httpGetRequestChannel());
gateway.setReplyChannel(httpGetResponseChannel());
gateway.setReplyTimeout(20000);

return gateway;
}

@Bean(name = "http.get.error.channel")
public IntegrationFlow httpGetErrorChannel() {
return IntegrationFlows.from("rejected").transform("'Error while processing request; got' + payload").get();
}

@Bean
@ServiceActivator(inputChannel = "sftp.read.request.channel")
public MessageHandler sftpReadHandler(){
return new SftpOutboundGateway(remoteFileTemplate(), Command.LS.getCommand(), "payload");
}

@Bean(name = "http.get.request.channel")
public MessageChannel httpGetRequestChannel(){
return new DirectChannel(); //new QueueChannel(25);
}

@Bean(name = "http.get.response.channel")
public MessageChannel httpGetResponseChannel(){
return new DirectChannel(); //new QueueChannel(25);
}

@Bean(name = "sftp.read.request.channel")
public MessageChannel sftpReadRequestChannel(){
return new DirectChannel(); //new QueueChannel(25);
}

@Bean(name = "sftp.read.response.channel")
public MessageChannel sftpReadResponseChannel(){
return new DirectChannel(); //new QueueChannel(25);
}


// Gateway



@MessagingGateway(name="sftpGateway")
public interface SftpMessagingGateway {

@Gateway(requestChannel = "sftp.read.request.channel", replyChannel = "sftp.read.response.channel")
@Description("Handles Sftp Outbound READ Request")
Future<Message> readListOfFiles();
}


// ServiceActivator, i.e. main logic.



  @Autowired
private SftpMessagingGateway sftpGateway;

@ServiceActivator(inputChannel = "http.get.request.channel", outputChannel="http.get.response.channel")
public ResponseEntity<String> performSftpReadOperation(Message<?> message) throws ExecutionException, InterruptedException {

System.out.println("performSftpReadOperation()");

ResponseEntity<String> responseEntity;
Future<Message> result = sftpGateway.readListOfFiles();
while(!result.isDone()){
Thread.sleep(300);
System.out.println("Waitign.....");
}

if(Objects.nonNull(result)){

List<SftpFileInfo> listOfFiles = (List<SftpFileInfo>) result.get().getPayload();
System.out.println("Sftp File Info: "+listOfFiles);

responseEntity = new ResponseEntity<String>("Sftp Server is UP and Running", HttpStatus.OK);
}
else {
responseEntity = new ResponseEntity<String>("Error while acessing Sftp Server. Please try again later!!!", HttpStatus.SERVICE_UNAVAILABLE);
}

return responseEntity;
}


Whenever I hit the end-point ("/api/sftp/ping") it went to a loop of:



performSftpReadOperation()
Waitign.....



performSftpReadOperation()
Waitign.....



performSftpReadOperation()
Waitign.....



performSftpReadOperation()
Waitign.....



performSftpReadOperation()
Waitign.....



Kindly guide me how to fix this issue. There might be some issue with httpGetIntegrationFlow().
Thanks







java spring spring-integration spring-integration-dsl spring-integration-sftp






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 20 '18 at 17:38







JavaGuy

















asked Nov 20 '18 at 17:32









JavaGuyJavaGuy

11




11













  • The configuration looks ok; I suggest you turn on debug logging for org.springframework.integration and watch the message flow. You might also need to enable debug logging for com.jcraft.jsch.

    – Gary Russell
    Nov 20 '18 at 19:03



















  • The configuration looks ok; I suggest you turn on debug logging for org.springframework.integration and watch the message flow. You might also need to enable debug logging for com.jcraft.jsch.

    – Gary Russell
    Nov 20 '18 at 19:03

















The configuration looks ok; I suggest you turn on debug logging for org.springframework.integration and watch the message flow. You might also need to enable debug logging for com.jcraft.jsch.

– Gary Russell
Nov 20 '18 at 19:03





The configuration looks ok; I suggest you turn on debug logging for org.springframework.integration and watch the message flow. You might also need to enable debug logging for com.jcraft.jsch.

– Gary Russell
Nov 20 '18 at 19:03












1 Answer
1






active

oldest

votes


















0














Your problem that your @Gateway is without any parameters, meanwhile you do LS command in the SftpOutboundGateway against payload expression, which means "give me a remote directory to list" .



So, you need to consider to specify a particular argument for the gateway method with the value as a remote directory to list files in it.






share|improve this answer























    Your Answer






    StackExchange.ifUsing("editor", function () {
    StackExchange.using("externalEditor", function () {
    StackExchange.using("snippets", function () {
    StackExchange.snippets.init();
    });
    });
    }, "code-snippets");

    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "1"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53398463%2fspring-integration-http-with-sftp-gateway%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    Your problem that your @Gateway is without any parameters, meanwhile you do LS command in the SftpOutboundGateway against payload expression, which means "give me a remote directory to list" .



    So, you need to consider to specify a particular argument for the gateway method with the value as a remote directory to list files in it.






    share|improve this answer




























      0














      Your problem that your @Gateway is without any parameters, meanwhile you do LS command in the SftpOutboundGateway against payload expression, which means "give me a remote directory to list" .



      So, you need to consider to specify a particular argument for the gateway method with the value as a remote directory to list files in it.






      share|improve this answer


























        0












        0








        0







        Your problem that your @Gateway is without any parameters, meanwhile you do LS command in the SftpOutboundGateway against payload expression, which means "give me a remote directory to list" .



        So, you need to consider to specify a particular argument for the gateway method with the value as a remote directory to list files in it.






        share|improve this answer













        Your problem that your @Gateway is without any parameters, meanwhile you do LS command in the SftpOutboundGateway against payload expression, which means "give me a remote directory to list" .



        So, you need to consider to specify a particular argument for the gateway method with the value as a remote directory to list files in it.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 20 '18 at 19:39









        Artem BilanArtem Bilan

        64.9k84668




        64.9k84668






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53398463%2fspring-integration-http-with-sftp-gateway%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            MongoDB - Not Authorized To Execute Command

            How to fix TextFormField cause rebuild widget in Flutter

            in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith