Repository: camel
Updated Branches:
  refs/heads/camel-2.15.x 8881b79d4 -> 21a1f54d8


CAMEL-9528: Fixed loadbalancer example to use mina2 component


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/21a1f54d
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/21a1f54d
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/21a1f54d

Branch: refs/heads/camel-2.15.x
Commit: 21a1f54d83c121a2fae247fea36c499d2acbbbd1
Parents: 8881b79
Author: Dhiraj Bokde <dhira...@yahoo.com>
Authored: Sun Jan 24 23:09:13 2016 -0800
Committer: Dhiraj Bokde <dhira...@yahoo.com>
Committed: Sun Jan 24 23:09:48 2016 -0800

----------------------------------------------------------------------
 examples/camel-example-loadbalancing/pom.xml                     | 2 +-
 .../resources/META-INF/spring/camel-context-loadbalancer.xml     | 4 ++--
 .../src/main/resources/META-INF/spring/camel-context-mina1.xml   | 2 +-
 .../src/main/resources/META-INF/spring/camel-context-mina2.xml   | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/21a1f54d/examples/camel-example-loadbalancing/pom.xml
----------------------------------------------------------------------
diff --git a/examples/camel-example-loadbalancing/pom.xml 
b/examples/camel-example-loadbalancing/pom.xml
index dedda13..2763d7b 100644
--- a/examples/camel-example-loadbalancing/pom.xml
+++ b/examples/camel-example-loadbalancing/pom.xml
@@ -42,7 +42,7 @@
            </dependency>
            <dependency>
              <groupId>org.apache.camel</groupId>
-             <artifactId>camel-mina</artifactId>
+             <artifactId>camel-mina2</artifactId>
            </dependency>
 
         <!-- logging -->

http://git-wip-us.apache.org/repos/asf/camel/blob/21a1f54d/examples/camel-example-loadbalancing/src/main/resources/META-INF/spring/camel-context-loadbalancer.xml
----------------------------------------------------------------------
diff --git 
a/examples/camel-example-loadbalancing/src/main/resources/META-INF/spring/camel-context-loadbalancer.xml
 
b/examples/camel-example-loadbalancing/src/main/resources/META-INF/spring/camel-context-loadbalancer.xml
index 249e889..7b3197b 100644
--- 
a/examples/camel-example-loadbalancing/src/main/resources/META-INF/spring/camel-context-loadbalancer.xml
+++ 
b/examples/camel-example-loadbalancing/src/main/resources/META-INF/spring/camel-context-loadbalancer.xml
@@ -40,8 +40,8 @@
       <from uri="direct:loadbalance"/>
       <loadBalance inheritErrorHandler="false">
         <failover roundRobin="true"/>
-        <to uri="mina:tcp://localhost:9991?sync=true"/>
-        <to uri="mina:tcp://localhost:9992?sync=true"/>
+        <to uri="mina2:tcp://localhost:9991?sync=true"/>
+        <to uri="mina2:tcp://localhost:9992?sync=true"/>
       </loadBalance>
       <log message="${body}"/>
     </route>

http://git-wip-us.apache.org/repos/asf/camel/blob/21a1f54d/examples/camel-example-loadbalancing/src/main/resources/META-INF/spring/camel-context-mina1.xml
----------------------------------------------------------------------
diff --git 
a/examples/camel-example-loadbalancing/src/main/resources/META-INF/spring/camel-context-mina1.xml
 
b/examples/camel-example-loadbalancing/src/main/resources/META-INF/spring/camel-context-mina1.xml
index 3ff9b3f..c7916aa 100644
--- 
a/examples/camel-example-loadbalancing/src/main/resources/META-INF/spring/camel-context-mina1.xml
+++ 
b/examples/camel-example-loadbalancing/src/main/resources/META-INF/spring/camel-context-mina1.xml
@@ -29,7 +29,7 @@
   <camelContext xmlns="http://camel.apache.org/schema/spring";>
 
     <route id="mina1">
-      <from uri="mina:tcp://localhost:9991"/>
+      <from uri="mina2:tcp://localhost:9991"/>
       <setHeader headerName="minaServer">
         <constant>localhost:9991</constant>
       </setHeader>

http://git-wip-us.apache.org/repos/asf/camel/blob/21a1f54d/examples/camel-example-loadbalancing/src/main/resources/META-INF/spring/camel-context-mina2.xml
----------------------------------------------------------------------
diff --git 
a/examples/camel-example-loadbalancing/src/main/resources/META-INF/spring/camel-context-mina2.xml
 
b/examples/camel-example-loadbalancing/src/main/resources/META-INF/spring/camel-context-mina2.xml
index 5fd561a..5d07251 100644
--- 
a/examples/camel-example-loadbalancing/src/main/resources/META-INF/spring/camel-context-mina2.xml
+++ 
b/examples/camel-example-loadbalancing/src/main/resources/META-INF/spring/camel-context-mina2.xml
@@ -29,7 +29,7 @@
   <camelContext xmlns="http://camel.apache.org/schema/spring";>
 
     <route id="mina2">
-      <from uri="mina:tcp://localhost:9992"/>
+      <from uri="mina2:tcp://localhost:9992"/>
       <setHeader headerName="minaServer">
         <constant>localhost:9992</constant>
       </setHeader>

Reply via email to