Have you tried it yourself first? Where have you failed? On Mon, May 23, 2016 at 12:49 PM, miri eyni [via Camel] < ml-node+s465427n5782945...@n5.nabble.com> wrote:
> hi , > > > i need to implements routing with logic. > i will get the request , processing the request should read from > different APIs (external API) to make a new request for the endpoint. > > for example : > > process (){ > S1 = consume API1 > s2 = consume API2 > s3= consume API3 > > newRequest.setS1(s1) > newRequest.setS2(s2) > newRequest.setS3(s3) > > exchange.getIn().setBody(newRequest) > } > what is the best way to implements? > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > http://camel.465427.n5.nabble.com/Routing-question-tp5782945.html > To start a new topic under Camel - Users, email > ml-node+s465427n465428...@n5.nabble.com > To unsubscribe from Camel - Users, click here > <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=465428&code=c291Y2lhbmNlLmVxZGFtLnJhc2h0aUBnbWFpbC5jb218NDY1NDI4fDE1MzI5MTE2NTY=> > . > 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/Routing-question-tp5782945p5782949.html Sent from the Camel - Users mailing list archive at Nabble.com.