Represents an Elasticsearch endpoint.
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. | |||
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 BULK BULK_INDEX GET_BY_ID DELETE |
What operation to perform | ||
port | parameter | producer | 9300 | int | The TransportClient remote port to use (defaults to 9300) | ||
replicationType | parameter | producer | DEFAULT | org.elasticsearch.action.support.replication.ReplicationType | SYNC ASYNC DEFAULT |
The replication type to use with INDEX and BULK operations (can be any of SYNC, ASYNC or DEFAULT) | |
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. | |||
exchangePattern | parameter | advanced | InOnly | org.apache.camel.ExchangePattern | InOnly RobustInOnly InOut InOptionalOut OutOnly RobustOutOnly OutIn OutOptionalIn |
Sets the default exchange pattern when creating an exchange | |
synchronous | parameter | advanced | false | boolean | Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). |