title: Apache Camel : How to iterate over list and call rest api?
body: <p>I am new to Apache Camel and I am having problems understanding how to implement a simple integration task:</p>
  
  <p>So the use case is</p>
  
  <ol>
  <li>Get list identifiers from request body
  ${body.ids} contains the list of my id on which i want to iterate. Example : 1, 3, 65, 6
  How to iterate over these ( as in java foreach ) ?</li>
  <li>Loop over my identifiers list and call the endpoint with the current identifier; e.g a get person/{id} AND add the response Person to my person collections.
  Which EIP to use to collect each response of rest call and aggregate them into a list ?</li>
  <li>Transform my collection of person to another type.</li>
  <li>Return the response</li>
  </ol>
  
  <p>Thanks for your help </p>