You could perhaps use the Loop EIP: https://camel.apache.org/loop.html
It uses the result of the previous loop iteration for the next. You have to define the criteria to stop the loop (for example as header variable). Hope this helps Stephan On Mon, Mar 17, 2014 at 3:13 AM, aidatechinc <hfao...@aidatech.com> wrote: > Hello, > What is the best way to update a HTTP request using the response. So the > service returns a position and this position needs to be sent in subsequent > request. > > 1) post message with position 0 > 2) read response > 3) update request with new position from response > 4) go back and post again > > > any guide will be appreciated. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/update-HTTP-request-using-previous-response-tp5748902.html > Sent from the Camel - Users mailing list archive at Nabble.com. >