@UriEndpoint(firstVersion="2.21.0",
scheme="elasticsearch-rest",
title="Elasticsearch Rest",
syntax="elasticsearch-rest:clusterName",
producerOnly=true,
category={SEARCH,MONITORING})
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, configureExchange, configurePollingConsumer, configureProperties, createAsyncProducer, createEndpointUri, createExchange, createExchange, createPollingConsumer, doInit, doStart, doStop, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isAutowiredEnabled, isBridgeErrorHandler, isLazyStartProducer, isLenientProperties, isPollingConsumerBlockWhenFull, isPollingConsumerCopy, isSingleton, setAutowiredEnabled, setBridgeErrorHandler, setCamelContext, setComponent, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setLazyStartProducer, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerCopy, setPollingConsumerQueueSize, setProperties, toStringbuild, doBuild, doFail, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic ElasticsearchEndpoint(String uri, ElasticsearchComponent component, ElasticsearchConfiguration config, org.elasticsearch.client.RestClient client)
public ElasticsearchConfiguration getConfiguration()
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
Exceptionpublic org.elasticsearch.client.RestClient getClient()
Apache Camel