You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ni...@apache.org on 2011/09/05 04:50:01 UTC

svn commit: r1165152 - /camel/trunk/components/camel-gae/src/main/java/org/apache/camel/component/gae/http/GHttpEndpoint.java

Author: ningjiang
Date: Mon Sep  5 02:50:01 2011
New Revision: 1165152

URL: http://svn.apache.org/viewvc?rev=1165152&view=rev
Log:
CAMEL-4410 fixed the test errors of camel-gae

Modified:
    camel/trunk/components/camel-gae/src/main/java/org/apache/camel/component/gae/http/GHttpEndpoint.java

Modified: camel/trunk/components/camel-gae/src/main/java/org/apache/camel/component/gae/http/GHttpEndpoint.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-gae/src/main/java/org/apache/camel/component/gae/http/GHttpEndpoint.java?rev=1165152&r1=1165151&r2=1165152&view=diff
==============================================================================
--- camel/trunk/components/camel-gae/src/main/java/org/apache/camel/component/gae/http/GHttpEndpoint.java (original)
+++ camel/trunk/components/camel-gae/src/main/java/org/apache/camel/component/gae/http/GHttpEndpoint.java Mon Sep  5 02:50:01 2011
@@ -66,7 +66,8 @@ public class GHttpEndpoint extends Servl
             URI httpUri, HttpClientParams params,
             HttpConnectionManager httpConnectionManager,
             HttpClientConfigurer clientConfigurer) throws URISyntaxException {
-        super(endpointUri, component, httpUri, params, httpConnectionManager, clientConfigurer);
+        // set the endpoint uri with httpUri as we need to create http producer here
+        super(httpUri.toString(), component, httpUri, params, httpConnectionManager, clientConfigurer);
         urlFetchService = URLFetchServiceFactory.getURLFetchService();
     }
 
@@ -147,4 +148,10 @@ public class GHttpEndpoint extends Servl
         return new GHttpProducer(this);
     }
 
+    @Override
+    public boolean isLenientProperties() {
+        // GHttpEndpoint knows about all it's options on the passed URI
+        return true;
+    }
+
 }