Elasticsearch

Elasticsearch

Scheme: elasticsearch
Syntax: elasticsearch:clusterName
Description: The elasticsearch component is used for interfacing with ElasticSearch server.
Deprecated:false
ProducerOnly:true
Async:false
Maven: org.apache.camel/camel-elasticsearch/2.18.1.redhat-000039

The elasticsearch component is used for interfacing with ElasticSearch server.

Name Kind Group Required Default Type Enum Description
clusterName path producer true java.lang.String Name of cluster or use local for local mode
bridgeErrorHandler parameter consumer boolean Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN/ERROR level and ignored.
exceptionHandler parameter consumer (advanced) org.apache.camel.spi.ExceptionHandler To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this options is not in use. By default the consumer will deal with exceptions, that will be logged at WARN/ERROR level and ignored.
exchangePattern parameter consumer (advanced) org.apache.camel.ExchangePattern InOnly
RobustInOnly
InOut
InOptionalOut
OutOnly
RobustOutOnly
OutIn
OutOptionalIn
Sets the exchange pattern when the consumer creates an exchange.
clientTransportSniff parameter producer true java.lang.Boolean Is the client allowed to sniff the rest of the cluster or not (default true). This setting map to the client.transport.sniff setting.
consistencyLevel parameter producer DEFAULT org.elasticsearch.action.WriteConsistencyLevel DEFAULT
ONE
QUORUM
ALL
The write consistency level to use with INDEX and BULK operations (can be any of ONE, QUORUM, ALL or DEFAULT)
data parameter producer java.lang.Boolean Is the node going to be allowed to allocate data (shards) to it or not. This setting map to the node.data setting.
indexName parameter producer java.lang.String The name of the index to act against
indexType parameter producer java.lang.String The type of the index to act against
ip parameter producer java.lang.String The TransportClient remote host ip to use
operation parameter producer java.lang.String INDEX
UPDATE
BULK
BULK_INDEX
GET_BY_ID
MULTIGET
DELETE
EXISTS
SEARCH
MULTISEARCH
What operation to perform
pathHome parameter producer ${user.home}/.elasticsearch java.lang.String The path.home property of ElasticSearch configuration. You need to provide a valid path, otherwise the default, ${user.home}/.elasticsearch, will be used.
port parameter producer 9300 int The TransportClient remote port to use (defaults to 9300)
transportAddresses parameter producer java.lang.String Comma separated list with ip:port formatted remote transport addresses to use. The ip and port options must be left blank for transportAddresses to be considered instead.
synchronous parameter advanced false boolean Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).