title: WSO2 iterate calling endpoint until correct response
body: <p>I'm working with wso2 ESB 4.8.1</p>
  
  <p>My complete functionality is:</p>
  
  <ol>
  <li><p>Step one:
  I make a call to a service that respond me with a processId (Asynchcronous)</p>
  
  <p>The service make the work asociated to that processId</p></li>
  <li><p>Step two:
  I have to iterate calling the service with the processId Until a response that indicate me that process has finished and return me the result</p></li>
  </ol>
  
  <p>I'm having problems with step two implementation.</p>