You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/04/03 14:04:52 UTC

[jira] [Commented] (CAMEL-8597) Elasticsearch component ignores indexType header set from endpoint URL

    [ https://issues.apache.org/jira/browse/CAMEL-8597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14394347#comment-14394347 ] 

ASF GitHub Bot commented on CAMEL-8597:
---------------------------------------

GitHub user jkot opened a pull request:

    https://github.com/apache/camel/pull/466

    CAMEL-8597: fix setting of indexType message header

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jkot/camel CAMEL-8597

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/466.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #466
    
----
commit 9d82ada53de68db899b29c1fd853ad37b5770420
Author: Jakub Kotowski <ja...@kotowski.cz>
Date:   2015-04-03T12:00:55Z

    CAMEL-8597: fix setting of indexType message header

----


> Elasticsearch component ignores indexType header set from endpoint URL
> ----------------------------------------------------------------------
>
>                 Key: CAMEL-8597
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8597
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-elasticsearch
>    Affects Versions: 2.15.1
>            Reporter: Jakub Kotowski
>
> When indexName and indexType is configured only by endpoint URL then indexType is ignored, resp. it is mistakenly replaced with indexName, see https://github.com/apache/camel/blob/master/components/camel-elasticsearch/src/main/java/org/apache/camel/component/elasticsearch/ElasticsearchProducer.java#L112



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)