camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dhira...@apache.org
Subject camel git commit: CAMEL-9528: Fixed loadbalancer example to use mina2 component
Date Mon, 25 Jan 2016 07:09:20 GMT
Repository: camel
Updated Branches:
  refs/heads/master 58b0f8d63 -> fbb769e2f


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/fbb769e2
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/fbb769e2
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/fbb769e2

Branch: refs/heads/master
Commit: fbb769e2f9cd0384401248abb4951265004e88b7
Parents: 58b0f8d
Author: Dhiraj Bokde <dhirajsb@yahoo.com>
Authored: Sun Jan 24 23:09:13 2016 -0800
Committer: Dhiraj Bokde <dhirajsb@yahoo.com>
Committed: Sun Jan 24 23:09:13 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/fbb769e2/examples/camel-example-loadbalancing/pom.xml
----------------------------------------------------------------------
diff --git a/examples/camel-example-loadbalancing/pom.xml b/examples/camel-example-loadbalancing/pom.xml
index 8e8c7d4..e61e5ec 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/fbb769e2/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/fbb769e2/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/fbb769e2/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>


Mime
View raw message