3 Replies Latest reply on Oct 16, 2014 11:36 AM by jorgemoralespou_2

    How to trigger a binding programmatically?

    buehlmann

      Hi folks,

       

      I have the following use case: A file should be downloaded by FTP from a remote server. The download of the file can be triggered in two ways:

      1. by a scheduler whose polling interval may be changed at runtime
      2. by a HTTP GET Request on a specified url. The response of the HTTP call must include transformed data based on the downloaded file.

       

      What is a good way to achieve these requirements with SY/Camel? I would like to use the bindings provided by Camel, but have no idea how they can be triggered (e.g. the FTP binding) from outside the binding.

       

      Regards,

      Ben