Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-8597

Elasticsearch component ignores indexType header set from endpoint URL

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.15.1
    • 2.15.2, 2.16.0
    • camel-elasticsearch
    • None
    • Unknown

    Description

      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

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            jkot Jakub Kotowski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: