Repository: camel
Updated Branches:
  refs/heads/master 3fff52499 -> 703f7a436


Fix typo on rest endpoints


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

Branch: refs/heads/master
Commit: 703f7a436d7db2214846d6a54c2d1d91ea4c87cb
Parents: 3fff524
Author: Angel Mendez <amendez1...@gmail.com>
Authored: Tue Aug 15 16:50:41 2017 -0500
Committer: Angel Mendez <amendez1...@gmail.com>
Committed: Tue Aug 15 16:50:41 2017 -0500

----------------------------------------------------------------------
 .../src/main/resources/xml-rest-dsl.xml                 | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/703f7a43/examples/camel-example-restlet-jdbc/src/main/resources/xml-rest-dsl.xml
----------------------------------------------------------------------
diff --git 
a/examples/camel-example-restlet-jdbc/src/main/resources/xml-rest-dsl.xml 
b/examples/camel-example-restlet-jdbc/src/main/resources/xml-rest-dsl.xml
index ee488a0..3940c9a 100644
--- a/examples/camel-example-restlet-jdbc/src/main/resources/xml-rest-dsl.xml
+++ b/examples/camel-example-restlet-jdbc/src/main/resources/xml-rest-dsl.xml
@@ -39,13 +39,13 @@
               <to uri="direct:getPersons"/>
            </get>
            <get uri="/persons/{personId}">
-               <to uri="direct:getPersionId"/>
+               <to uri="direct:getPersonId"/>
            </get>
            <put uri="/persons/{personId}">
-               <to uri="direct:putPersionId"/>
+               <to uri="direct:putPersonId"/>
            </put>
            <delete uri="/persons/{personId}">
-               <to uri="direct:deletePersionId"/>
+               <to uri="direct:deletePersonId"/>
            </delete>    
         </rest>
         
@@ -73,7 +73,7 @@
         </route>
 
         <route>
-            <from uri="direct:getPersionId"/>
+            <from uri="direct:getPersonId"/>
             <setBody>
                 <simple>select * from person where id = 
${header.personId}</simple>
             </setBody>
@@ -81,7 +81,7 @@
         </route>
         
         <route>       
-            <from uri="direct:putPersionId"/>
+            <from uri="direct:putPersonId"/>
             <setBody>
                  <simple>update person set firstName='${header.firstName}', 
lastName='${header.lastName}' where id = ${header.personId}</simple>
             </setBody>
@@ -89,7 +89,7 @@
         </route>        
       
         <route>
-            <from uri="direct:deletePersionId"/>
+            <from uri="direct:deletePersonId"/>
             <setBody>
                 <simple>delete from person where id = 
${header.personId}</simple>
             </setBody>

Reply via email to