camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [3/6] camel git commit: Adds support for UPDATE request, see [CAMEL-9358]
Date Wed, 25 Nov 2015 08:47:53 GMT
Adds support for UPDATE request, see [CAMEL-9358]


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

Branch: refs/heads/master
Commit: ab616f915377f282ba806dd4717c086bcd65fe5f
Parents: b169bb2
Author: acartapanis <acs@diginext.fr>
Authored: Tue Nov 24 16:33:11 2015 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Wed Nov 25 08:38:07 2015 +0100

----------------------------------------------------------------------
 .../converter/ElasticsearchActionRequestConverter.java           | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/ab616f91/components/camel-elasticsearch/src/main/java/org/apache/camel/component/elasticsearch/converter/ElasticsearchActionRequestConverter.java
----------------------------------------------------------------------
diff --git a/components/camel-elasticsearch/src/main/java/org/apache/camel/component/elasticsearch/converter/ElasticsearchActionRequestConverter.java
b/components/camel-elasticsearch/src/main/java/org/apache/camel/component/elasticsearch/converter/ElasticsearchActionRequestConverter.java
index 09b976e..3849cba 100644
--- a/components/camel-elasticsearch/src/main/java/org/apache/camel/component/elasticsearch/converter/ElasticsearchActionRequestConverter.java
+++ b/components/camel-elasticsearch/src/main/java/org/apache/camel/component/elasticsearch/converter/ElasticsearchActionRequestConverter.java
@@ -93,7 +93,9 @@ public final class ElasticsearchActionRequestConverter {
                 .index(exchange.getIn().getHeader(
                         ElasticsearchConstants.PARAM_INDEX_NAME, String.class))
                 .type(exchange.getIn().getHeader(
-                        ElasticsearchConstants.PARAM_INDEX_TYPE, String.class));
+                        ElasticsearchConstants.PARAM_INDEX_TYPE, String.class))
+                .type(exchange.getIn().getHeader(
+                        ElasticsearchConstants.PARAM_INDEX_ID, String.class));
     }
 
     @Converter


Mime
View raw message