thanks that did the trick. On 03/17/2014 11:16 AM, Stephan Burkard [via Camel] wrote: > 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 <[hidden email] > </user/SendEmail.jtp?type=node&node=5748979&i=0>> 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. > > > > > ------------------------------------------------------------------------ > If you reply to this email, your message will be added to the > discussion below: > http://camel.465427.n5.nabble.com/update-HTTP-request-using-previous-response-tp5748902p5748979.html > > > To unsubscribe from update HTTP request using previous response, click > here > <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5748902&code=SEZBT1VBWkBBSURBVEVDSC5DT018NTc0ODkwMnwtMTcwNTU2MTkzNg==>. > NAML > <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > >
-- View this message in context: http://camel.465427.n5.nabble.com/update-HTTP-request-using-previous-response-tp5748902p5749070.html Sent from the Camel - Users mailing list archive at Nabble.com.