camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dhira...@apache.org
Subject [1/2] git commit: CAMEL-7805 Fixed Olingo2 component to set custom HTTP headers correctly
Date Thu, 11 Sep 2014 20:52:38 GMT
Repository: camel
Updated Branches:
  refs/heads/master 4b0408e74 -> 56615ec33


CAMEL-7805 Fixed Olingo2 component to set custom HTTP headers correctly


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

Branch: refs/heads/master
Commit: 6984401aad894c4cd4bbfbaddd263e920a9ee3ae
Parents: 4b0408e
Author: Dhiraj Bokde <dhirajsb@yahoo.com>
Authored: Thu Sep 11 12:11:42 2014 -0700
Committer: Dhiraj Bokde <dhirajsb@yahoo.com>
Committed: Thu Sep 11 12:11:42 2014 -0700

----------------------------------------------------------------------
 .../java/org/apache/camel/component/olingo2/Olingo2Component.java   | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/6984401a/components/camel-olingo2/camel-olingo2-component/src/main/java/org/apache/camel/component/olingo2/Olingo2Component.java
----------------------------------------------------------------------
diff --git a/components/camel-olingo2/camel-olingo2-component/src/main/java/org/apache/camel/component/olingo2/Olingo2Component.java
b/components/camel-olingo2/camel-olingo2-component/src/main/java/org/apache/camel/component/olingo2/Olingo2Component.java
index 27e2d91..866817f 100644
--- a/components/camel-olingo2/camel-olingo2-component/src/main/java/org/apache/camel/component/olingo2/Olingo2Component.java
+++ b/components/camel-olingo2/camel-olingo2-component/src/main/java/org/apache/camel/component/olingo2/Olingo2Component.java
@@ -130,6 +130,7 @@ public class Olingo2Component extends AbstractApiComponent<Olingo2ApiName,
Oling
 
         apiProxy = new Olingo2AppWrapper(new Olingo2AppImpl(configuration.getServiceUri(),
clientBuilder));
         apiProxy.getOlingo2App().setContentType(configuration.getContentType());
+        apiProxy.getOlingo2App().setHttpHeaders(configuration.getHttpHeaders());
 
         return apiProxy;
     }


Mime
View raw message