You can use message header to override the address setting of CXF just like this
from(routerEndpointURI).to("log:org.apache.camel?level=DEBUG")
.setHeader(Exchange.DESTINATION_OVERRIDE_URL, constant(getServiceAddress()))
.to(serviceEndpointURI);
--
Willem Jiang
Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang
Weibo: 姜宁willem
On November 18, 2014 at 2:36:49 PM, bharadwaj ([email protected]) wrote:
> When we use recipient List , could not handle exception bypassing to global
> exception camel 2.10,
> I know this has been fixed in camel 2.12. we cant migrate it now because
> it's already in production.
> Could you please give me any other alternative use it in camel:to?
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Caused-by-java-net-MalformedURLException-no-protocol-systemurl-tp5759188p5759230.html
>
> Sent from the Camel - Users mailing list archive at Nabble.com.
>