As ankur mentioned the camel version is 2.13.1 and currently i tried with
directly http by mentioning the URL in to() as shown below. Since we are
using apache CXF rest, i had also tried the same thing with cxfrs:bean but
it also ended up with exception.
.choice()
.when(header(ReservationConstant.CALL_ENDECA_FOR_LAR_FACETS).isEqualTo(Boolean.TRUE))
.setHeader(Exchange.HTTP_METHOD,
constant(org.apache.camel.component.http4.HttpMethods.GET))
.setHeader(Exchange.HTTP_PATH,
constant(ReservationConstant.ENDECA_GUIDED_SEARCH_SERVICE))
.setBody(simple(StringUtils.EMPTY))
//.to("cxfrs:bean:endecaLocationKeyRSClient?throwExceptionOnFailure=false")
.to("{{service.endeca.location.dimension.rest}}")
//.process(endecaFacetProcessor)
.bean(EndecaResponseBuilder.class,
"getEndecaResponseForLARFacets")
.end();
--
View this message in context:
http://camel.465427.n5.nabble.com/How-to-override-Buffer-size-for-httpclient-when-calling-Rest-web-Service-via-Camel-tp5794628p5794650.html
Sent from the Camel - Users mailing list archive at Nabble.com.