Repository: camel
Updated Branches:
  refs/heads/master 58ddb6b2d -> c9d8eae09


CAMEL-8087 Fixed the camel-example-restlet-jdbc start up error with thanks to 
Sandy


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

Branch: refs/heads/master
Commit: c9d8eae09fc1c46cca287f5c31ae2516afc939d5
Parents: 58ddb6b
Author: Willem Jiang <willem.ji...@gmail.com>
Authored: Fri Nov 28 18:26:44 2014 +0800
Committer: Willem Jiang <willem.ji...@gmail.com>
Committed: Fri Nov 28 18:26:44 2014 +0800

----------------------------------------------------------------------
 .../java/org/apache/camel/component/restlet/RestletComponent.java  | 2 +-
 examples/camel-example-restlet-jdbc/pom.xml                        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/c9d8eae0/components/camel-restlet/src/main/java/org/apache/camel/component/restlet/RestletComponent.java
----------------------------------------------------------------------
diff --git 
a/components/camel-restlet/src/main/java/org/apache/camel/component/restlet/RestletComponent.java
 
b/components/camel-restlet/src/main/java/org/apache/camel/component/restlet/RestletComponent.java
index 2d62bf0..3205fb7 100644
--- 
a/components/camel-restlet/src/main/java/org/apache/camel/component/restlet/RestletComponent.java
+++ 
b/components/camel-restlet/src/main/java/org/apache/camel/component/restlet/RestletComponent.java
@@ -317,7 +317,7 @@ public class RestletComponent extends 
HeaderFilterStrategyComponent implements R
                 // Add any Restlet server parameters that were included
                 Series<Parameter> params = server.getContext().getParameters();
                 
-                if (endpoint.getProtocol().equals("https")) {
+                if ("https".equals(endpoint.getProtocol())) {
                     SSLContextParameters scp = 
endpoint.getSslContextParameters();
                     if (endpoint.getSslContextParameters() == null) {
                         throw new InvalidParameterException("Need to specify 
the SSLContextParameters option here!");

http://git-wip-us.apache.org/repos/asf/camel/blob/c9d8eae0/examples/camel-example-restlet-jdbc/pom.xml
----------------------------------------------------------------------
diff --git a/examples/camel-example-restlet-jdbc/pom.xml 
b/examples/camel-example-restlet-jdbc/pom.xml
index 69942c7..2ac881a 100755
--- a/examples/camel-example-restlet-jdbc/pom.xml
+++ b/examples/camel-example-restlet-jdbc/pom.xml
@@ -68,7 +68,7 @@
             <artifactId>camel-restlet</artifactId>
         </dependency>
         <dependency>
-            <groupId>org.restlet.jse</groupId>
+            <groupId>org.restlet.jee</groupId>
             <artifactId>org.restlet.ext.spring</artifactId>
             <version>${restlet-version}</version>
         </dependency>

Reply via email to