@UriEndpoint(firstVersion="2.21.0",
scheme="elasticsearch-rest",
title="Elastichsearch Rest",
syntax="elasticsearch-rest:clusterName",
producerOnly=true,
label="monitoring,search")
public class ElasticsearchEndpoint
extends org.apache.camel.support.DefaultEndpoint
| Constructor and Description |
|---|
ElasticsearchEndpoint(String uri,
ElasticsearchComponent component,
ElasticsearchConfiguration config,
org.elasticsearch.client.RestClient client) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Producer |
createProducer() |
org.elasticsearch.client.RestClient |
getClient() |
ElasticsearchConfiguration |
getConfiguration() |
configureConsumer, configurePollingConsumer, configureProperties, createAsyncProducer, createEndpointUri, createExchange, createExchange, createPollingConsumer, doInit, doStart, doStop, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isBasicPropertyBinding, isBridgeErrorHandler, isLazyStartProducer, isLenientProperties, isPollingConsumerBlockWhenFull, isSingleton, isSynchronous, setBasicPropertyBinding, setBridgeErrorHandler, setCamelContext, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setLazyStartProducer, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toStringdoResume, doShutdown, doSuspend, getStatus, init, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendpublic ElasticsearchEndpoint(String uri, ElasticsearchComponent component, ElasticsearchConfiguration config, org.elasticsearch.client.RestClient client) throws Exception
Exceptionpublic ElasticsearchConfiguration getConfiguration()
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
Exceptionpublic org.elasticsearch.client.RestClient getClient()
Apache Camel