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:05:00 UTC

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

abccbaandy created CAMEL-12349:
----------------------------------

             Summary: 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


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}




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