Repository: camel Updated Branches: refs/heads/camel-2.16.x a5f8e2d5c -> 1d48df6f8 refs/heads/master bcd00fa15 -> 63166acdf
CAMEL-9438 - Unable to use camel-example-cxf Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/63166acd Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/63166acd Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/63166acd Branch: refs/heads/master Commit: 63166acdf907d31c96fc9ee8fdf68ba6b7bf62fa Parents: bcd00fa Author: gautric <gaut...@redhat.com> Authored: Mon Dec 21 16:07:35 2015 +0100 Committer: gautric <gaut...@redhat.com> Committed: Mon Dec 21 16:07:35 2015 +0100 ---------------------------------------------------------------------- .../apache/camel/example/camel/transport/CamelDestination.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/63166acd/examples/camel-example-cxf/src/main/resources/org/apache/camel/example/camel/transport/CamelDestination.xml ---------------------------------------------------------------------- diff --git a/examples/camel-example-cxf/src/main/resources/org/apache/camel/example/camel/transport/CamelDestination.xml b/examples/camel-example-cxf/src/main/resources/org/apache/camel/example/camel/transport/CamelDestination.xml index 72bccd2..ddd8f5b 100644 --- a/examples/camel-example-cxf/src/main/resources/org/apache/camel/example/camel/transport/CamelDestination.xml +++ b/examples/camel-example-cxf/src/main/resources/org/apache/camel/example/camel/transport/CamelDestination.xml @@ -31,12 +31,13 @@ to dynamically set the port number for unit testing the example. --> <bean id="bridgePropertyPlaceholder" class="org.apache.camel.spring.spi.BridgePropertyPlaceholderConfigurer"/> - <bean id = "roundRobinRef" class="org.apache.camel.processor.loadbalancer.RoundRobinLoadBalancer" /> + <bean id="roundRobinRef" class="org.apache.camel.processor.loadbalancer.RoundRobinLoadBalancer" /> <camelContext id="dest_context" xmlns="http://camel.apache.org/schema/spring"> <route> <from uri="jetty:http://localhost:{{port}}/GreeterContext/GreeterPort"/> - <loadBalance ref="roundRobinRef"> + <loadBalance> + <custom ref="roundRobinRef"/> <to uri="direct:EndpointA"/> <to uri="direct:EndpointB"/> </loadBalance>