You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2015/12/21 16:23:59 UTC

[1/2] camel git commit: CAMEL-9438 - Unable to use camel-example-cxf

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 <ga...@redhat.com>
Authored: Mon Dec 21 16:07:35 2015 +0100
Committer: gautric <ga...@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>


[2/2] camel git commit: CAMEL-9438 - Unable to use camel-example-cxf

Posted by da...@apache.org.
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 <ga...@redhat.com>
Authored: Mon Dec 21 16:07:35 2015 +0100
Committer: Claus Ibsen <da...@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>