title: How can I loop in Apache Camel
body: <pre><code>&lt;setHeader headerName="smsRecivers"&gt;&lt;simple&gt;{{reciversList}}&lt;/simple&gt;&lt;/setHeader&gt;
  </code></pre>
  
  <p>I have a list mobile numbers(in comma separated form reciversList=999999999,88888888,799999999 ) and I have to send each a sms, looping through reciversList list</p>
  
  <p>some thing like </p>
  
  <pre><code>&lt;loop on="reciversList"&gt;
     // so some work
  &lt;/loop&gt;
  </code></pre>
  
  <p>I looked in to loop function it have a constant number.</p>