camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r1165152 - /camel/trunk/components/camel-gae/src/main/java/org/apache/camel/component/gae/http/GHttpEndpoint.java
Date Mon, 05 Sep 2011 02:50:01 GMT
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;
+    }
+
 }



Mime
View raw message