You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "abccbaandy (JIRA)" <ji...@apache.org> on 2018/03/13 15:24:00 UTC

[jira] [Closed] (CAMEL-12349) multiple pollEnrich with ftp component broken

     [ https://issues.apache.org/jira/browse/CAMEL-12349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

abccbaandy closed CAMEL-12349.
------------------------------
    Resolution: Not A Problem

need give those timer a name

> multiple pollEnrich with ftp component broken
> ---------------------------------------------
>
>                 Key: CAMEL-12349
>                 URL: https://issues.apache.org/jira/browse/CAMEL-12349
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core, camel-ftp, camel-sftp
>    Affects Versions: 2.20.2
>            Reporter: abccbaandy
>            Priority: Major
>
> I test with these code and enable debug level log
> {code:java}
> from("timer?period=3s").pollEnrich().simple(sftpServer1);
> from("timer?period=3s").pollEnrich().simple(sftpServer2);
> {code}
> it only log
> {code:java}
> Took 0.XXX seconds to poll: (the folder I set in sftpServer2)
> {code}
> But it should log
> {code:java}
> Took 0.XXX seconds to poll: (the folder I set in sftpServer1)
> Took 0.XXX seconds to poll: (the folder I set in sftpServer2)
> {code}
> I can confirm both sftpServer1 & sftpServer2 config are right.
> I test with these code
> {code:java}
> from(sftpServer1).log("${body}");
> from(sftpServer2).log("${body}");
> {code}
> And got expect result
> {code:java}
> Took 0.XXX seconds to poll: (the folder I set in sftpServer1)
> Took 0.XXX seconds to poll: (the folder I set in sftpServer2)
> {code}
> So it's probably not concurrency problem. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)