@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, toString
build, doBuild, doResume, doShutdown, doSuspend, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
public ElasticsearchEndpoint(String uri, ElasticsearchComponent component, ElasticsearchConfiguration config, org.elasticsearch.client.RestClient client) throws Exception
Exception
public ElasticsearchConfiguration getConfiguration()
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor) throws Exception
Exception
public org.elasticsearch.client.RestClient getClient()
Apache Camel