You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by pradet <pd...@gmail.com> on 2012/10/09 08:36:29 UTC
Is it possible to call multiple REST services of different
transports (GET, POST, DELETE and PUT) under a single route ?
Hi,
I am implementing a Blueprint XML, where I would need to call multiple REST
Services. And, these REST Services are of different transport type (like,
GET, POST, PUT and DELETE).
For calling this, I have configured my route like this.
<from uri="jetty:https://fromSourceUrl.com/>
<setHeader headerName="CamelHttpMethod">
<constant>PUT</constant>
</setHeader>
<to uri="https://myRestService/game/test/?&bridgeEndpoint=true"/>
This is working in case of 1 request. I want to have a route such that, the
Transport (GET, PUT, POST & DELETE) can be determined from the input
request.
Can this be done for REST Service ? (From SOAP Service, I can get it from
the SOAP Header).
Can anyone suggest, what are the possible options for REST Service.
Thanks in Advance,
Regards,
Pradeep
--
View this message in context: http://servicemix.396122.n5.nabble.com/Is-it-possible-to-call-multiple-REST-services-of-different-transports-GET-POST-DELETE-and-PUT-under--tp5714679.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.