Polished examples

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

Branch: refs/heads/camel-2.16.x
Commit: 27e1fe967da1c29416eb6e720f73eabe8ae1aded
Parents: 81cf42c
Author: Claus Ibsen <davscl...@apache.org>
Authored: Fri Feb 5 13:21:11 2016 +0100
Committer: Claus Ibsen <davscl...@apache.org>
Committed: Fri Feb 5 13:22:48 2016 +0100

----------------------------------------------------------------------
 .../src/main/resources/OSGI-INF/blueprint/camel-mybatis.xml        | 2 +-
 .../src/main/resources/OSGI-INF/blueprint/camel-context.xml        | 2 +-
 .../src/main/resources/META-INF/spring/camel-context.xml           | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/27e1fe96/examples/camel-example-mybatis/src/main/resources/OSGI-INF/blueprint/camel-mybatis.xml
----------------------------------------------------------------------
diff --git 
a/examples/camel-example-mybatis/src/main/resources/OSGI-INF/blueprint/camel-mybatis.xml
 
b/examples/camel-example-mybatis/src/main/resources/OSGI-INF/blueprint/camel-mybatis.xml
index 582c030..6e4196d 100644
--- 
a/examples/camel-example-mybatis/src/main/resources/OSGI-INF/blueprint/camel-mybatis.xml
+++ 
b/examples/camel-example-mybatis/src/main/resources/OSGI-INF/blueprint/camel-mybatis.xml
@@ -48,7 +48,7 @@
     <!-- route that process the orders by picking up new rows from the database
          and when done processing then update the row to mark it as processed 
-->
     <route id="processOrder-route">
-      <from 
uri="mybatis:selectOrders?statementType=SelectList&amp;consumer.onConsume=consumeOrder"/>
+      <from 
uri="mybatis:selectOrders?statementType=SelectList&amp;onConsume=consumeOrder"/>
       <to uri="bean:orderService?method=processOrder"/>
       <log message="${body}"/>
     </route>

http://git-wip-us.apache.org/repos/asf/camel/blob/27e1fe96/examples/camel-example-sql-blueprint/src/main/resources/OSGI-INF/blueprint/camel-context.xml
----------------------------------------------------------------------
diff --git 
a/examples/camel-example-sql-blueprint/src/main/resources/OSGI-INF/blueprint/camel-context.xml
 
b/examples/camel-example-sql-blueprint/src/main/resources/OSGI-INF/blueprint/camel-context.xml
index 39231f4..9c98a70 100644
--- 
a/examples/camel-example-sql-blueprint/src/main/resources/OSGI-INF/blueprint/camel-context.xml
+++ 
b/examples/camel-example-sql-blueprint/src/main/resources/OSGI-INF/blueprint/camel-context.xml
@@ -67,7 +67,7 @@
     <!-- route that process the orders by picking up new rows from the database
          and when done processing then update the row to mark it as processed 
-->
     <route id="processOrder-route">
-      <from 
uri="sql:{{sql.selectOrder}}?consumer.onConsume={{sql.markOrder}}"/>
+      <from uri="sql:{{sql.selectOrder}}?onConsume={{sql.markOrder}}"/>
       <to uri="bean:orderBean?method=processOrder"/>
       <log message="${body}"/>
     </route>

http://git-wip-us.apache.org/repos/asf/camel/blob/27e1fe96/examples/camel-example-sql/src/main/resources/META-INF/spring/camel-context.xml
----------------------------------------------------------------------
diff --git 
a/examples/camel-example-sql/src/main/resources/META-INF/spring/camel-context.xml
 
b/examples/camel-example-sql/src/main/resources/META-INF/spring/camel-context.xml
index 5ec4694..2a543d9 100644
--- 
a/examples/camel-example-sql/src/main/resources/META-INF/spring/camel-context.xml
+++ 
b/examples/camel-example-sql/src/main/resources/META-INF/spring/camel-context.xml
@@ -65,7 +65,7 @@
     <!-- route that process the orders by picking up new rows from the database
          and when done processing then update the row to mark it as processed 
-->
     <route id="processOrder-route">
-      <from 
uri="sql:{{sql.selectOrder}}?consumer.onConsume={{sql.markOrder}}"/>
+      <from uri="sql:{{sql.selectOrder}}?onConsume={{sql.markOrder}}"/>
       <to uri="bean:orderBean?method=processOrder"/>
       <log message="${body}"/>
     </route>

Reply via email to