Hi,

if the external API calls depend to the request content, than Content Base Router is probably a helpful EIP.

Regards
JB

On 05/23/2016 01:18 PM, miri eyni 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?



--
View this message in context: 
http://servicemix.396122.n5.nabble.com/Routing-with-logic-tp5723703.html
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.


--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to