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/1d48df6f Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/1d48df6f Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/1d48df6f Branch: refs/heads/camel-2.16.x Commit: 1d48df6f85befa89407e4f488e80a0fa9ac06668 Parents: a5f8e2d Author: gautric <gaut...@redhat.com> Authored: Mon Dec 21 16:07:35 2015 +0100 Committer: Claus Ibsen <davscl...@apache.org> Committed: Mon Dec 21 16:23:52 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/1d48df6f/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>