Repository: camel Updated Branches: refs/heads/camel-2.16.x f4382b6d5 -> 2ff3e8cee
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/2ff3e8ce Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/2ff3e8ce Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/2ff3e8ce Branch: refs/heads/camel-2.16.x Commit: 2ff3e8ceedcfea87d33186de223f1b8ed69bf3ff Parents: f4382b6 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:20:22 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/2ff3e8ce/examples/camel-example-loadbalancing/pom.xml ---------------------------------------------------------------------- diff --git a/examples/camel-example-loadbalancing/pom.xml b/examples/camel-example-loadbalancing/pom.xml index 84a1b30..4cf056d 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/2ff3e8ce/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/2ff3e8ce/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/2ff3e8ce/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>