Geat. thanks for the tip. The loop route actually did the trick.
On 03/18/2014 01:30 AM, Claus Ibsen-2 [via Camel] wrote: > Hi > > You likely need to reset the stream cache to be able to re-read it again > org.apache.camel.StreamCache#reset > > On Tue, Mar 18, 2014 at 3:43 AM, aidatechinc <[hidden email] > </user/SendEmail.jtp?type=node&node=5749012&i=0>> wrote: > > > Thanks for taking the time to respond. We did write a bean to > handle the > > message, but we realize that since we enable the streamCache, the > message > > gets overwritten while we are processing it. Is that due to the > stream? > > Ideally we want to handle and process one message at a time, but the > stream > > seam that the body gets updated..If disable cache, then we get empty > > bodies.. > > > > > > > > > > > > > > > > > > > > > > -- > > View this message in context: > http://camel.465427.n5.nabble.com/update-HTTP-request-using-previous-response-tp5748902p5749008.html > > Sent from the Camel - Users mailing list archive at Nabble.com. > > > > -- > Claus Ibsen > ----------------- > Red Hat, Inc. > Email: [hidden email] </user/SendEmail.jtp?type=node&node=5749012&i=1> > Twitter: davsclaus > Blog: http://davsclaus.com > Author of Camel in Action: http://www.manning.com/ibsen > Make your Camel applications look hawt, try: http://hawt.io > > > ------------------------------------------------------------------------ > 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-tp5748902p5749012.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-tp5748902p5749069.html Sent from the Camel - Users mailing list archive at Nabble.com.