camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zregv...@apache.org
Subject camel git commit: CAMEL-10928 Restlet contract for RestProducerFa...
Date Thu, 02 Mar 2017 20:30:13 GMT
Repository: camel
Updated Branches:
  refs/heads/master 4d6287b3b -> 3f3ed6d7c


CAMEL-10928 Restlet contract for RestProducerFa...

...ctory wrongly configures request method

This changes the endpoint property from `restletMethods` to
`restletMethod` -- used by the producer.


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

Branch: refs/heads/master
Commit: 3f3ed6d7c907185cef44fa481e583608216af675
Parents: 4d6287b
Author: Zoran Regvart <zregvart@apache.org>
Authored: Thu Mar 2 21:29:32 2017 +0100
Committer: Zoran Regvart <zregvart@apache.org>
Committed: Thu Mar 2 21:29:46 2017 +0100

----------------------------------------------------------------------
 .../java/org/apache/camel/component/restlet/RestletComponent.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/3f3ed6d7/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 38a80c3..1a3b24f 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
@@ -852,7 +852,7 @@ public class RestletComponent extends HeaderFilterStrategyComponent implements
R
         if (!ObjectHelper.isEmpty(uriTemplate)) {
             url += "/" + uriTemplate;
         }
-        url += "?restletMethods=" + restletMethod;
+        url += "?restletMethod=" + restletMethod;
 
         RestletEndpoint endpoint = camelContext.getEndpoint(url, RestletEndpoint.class);
         if (parameters != null && !parameters.isEmpty()) {


Mime
View raw message