You have to to something like
context.addRoutes(new RouteBuilder() {
public void configure() throws Exception {
from("
http://localhost:8080/real-webservice?throwExceptionOnFailure=false")
.to("...");
}
});
You don't need to create an endpoint by yourself.
Best,
Christian
On Sat, Dec 22, 2012 at 3:59 PM, thelinh <[email protected]>wrote:
> Dir Sir,
>
> Thanks for your reply,
> when add the route as runtime. I can't found the appropriate implement java
> code for the tags:
>
> <endpoint id="callRealWebService" uri="<a
> href="http://localhost:$">http://localhost:
> ${real.port}/real-webservice?throwExceptionOnFailure=false"/>
>
> I don't know which class to implement this endpoint.
>
> Please help me.
>
> Thanks.
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/About-camle-cxf-proxy-exampe-tp5724535p5724547.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
--