Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-12349

multiple pollEnrich with ftp component broken

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 2.20.2
    • Fix Version/s: None
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      I test with these code and enable debug level log

      from("timer?period=3s").pollEnrich().simple(sftpServer1);
      from("timer?period=3s").pollEnrich().simple(sftpServer2);
      

      it only log

      Took 0.XXX seconds to poll: (the folder I set in sftpServer2)
      

      But it should log

      Took 0.XXX seconds to poll: (the folder I set in sftpServer1)
      Took 0.XXX seconds to poll: (the folder I set in sftpServer2)
      

      I can confirm both sftpServer1 & sftpServer2 config are right.
      I test with these code

      from(sftpServer1).log("${body}");
      from(sftpServer2).log("${body}");
      

      And got expect result

      Took 0.XXX seconds to poll: (the folder I set in sftpServer1)
      Took 0.XXX seconds to poll: (the folder I set in sftpServer2)
      

      So it's probably not concurrency problem.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              abccbaandy abccbaandy
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: