You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by he...@apache.org on 2014/02/25 17:11:24 UTC

git commit: Merged pull request #102. Added missing closing single quote and bracket. Thanks Blondacz for contribution.

Repository: camel
Updated Branches:
  refs/heads/master 91e60d54b -> 2b7161c74


Merged pull request #102. Added missing closing single quote and bracket. Thanks Blondacz for contribution.


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

Branch: refs/heads/master
Commit: 2b7161c7433b75f58de987ff6d04ec00b91706f8
Parents: 91e60d5
Author: Henryk Konsek <he...@gmail.com>
Authored: Tue Feb 25 17:10:57 2014 +0100
Committer: Henryk Konsek <he...@gmail.com>
Committed: Tue Feb 25 17:10:57 2014 +0100

----------------------------------------------------------------------
 .../java/org/apache/camel/example/restlet/jdbc/MyRouteConfig.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/2b7161c7/examples/camel-example-restlet-jdbc/src/main/java/org/apache/camel/example/restlet/jdbc/MyRouteConfig.java
----------------------------------------------------------------------
diff --git a/examples/camel-example-restlet-jdbc/src/main/java/org/apache/camel/example/restlet/jdbc/MyRouteConfig.java b/examples/camel-example-restlet-jdbc/src/main/java/org/apache/camel/example/restlet/jdbc/MyRouteConfig.java
index 8808029..689e909 100644
--- a/examples/camel-example-restlet-jdbc/src/main/java/org/apache/camel/example/restlet/jdbc/MyRouteConfig.java
+++ b/examples/camel-example-restlet-jdbc/src/main/java/org/apache/camel/example/restlet/jdbc/MyRouteConfig.java
@@ -24,7 +24,7 @@ public class MyRouteConfig extends RouteBuilder {
     @Override
     public void configure() {
         from("restlet:/persons?restletMethod=POST")
-                .setBody(simple("insert into person(firstName, lastName) values('${header.firstName}','${header.lastName}"))
+                .setBody(simple("insert into person(firstName, lastName) values('${header.firstName}','${header.lastName}')"))
                 .to("jdbc:dataSource")
                 .setBody(simple("select * from person where id in (select max(id) from person)"))
                 .to("jdbc:dataSource");