title: How to use a dynamic URI in From()
body: <p>As mentioned in <a href="http://camel.apache.org/how-to-use-a-dynamic-uri-in-to.html" rel="noreferrer">Apache Camel</a>, it allows to write dynamic URI in To(), does it allows to write dynamic URI in From().
  Cause I need to call the multiple FTP locations to download the files on the basis of configuration which I am going to store it in database.</p>
  
  <pre><code>(FTPHost, FTPUser, FTPPassword, FTPSourceDir, FTPDestDir)
  </code></pre>
  
  <p>I will read these configuration from the DB and will pass it to the Camel route dynamically at runtime.</p>
  
  <p><strong>Example:</strong>
  This is the camel route example that I have to write dynamically</p>
  
  <pre><code>&lt;Route&gt;
      &lt;from uri="ftp://${ftpUser}@${ftpHost}:${ftpPort}/${FTPSourceDir}?password=${ftpPassword}&amp;delete=true"/&gt;
      &lt;to uri="${ftpDestinationDir}"/&gt;
  &lt;/Route&gt;
  </code></pre>
  
  <p>As you see in example, I need to pass these mentioned parameters dynamically.
  So how to use dynamic uri in From()</p>