@UriEndpoint(scheme="elasticsearch",
title="Elasticsearch",
syntax="elasticsearch:clusterName",
producerOnly=true,
label="monitoring,search")
public class ElasticsearchEndpoint
extends org.apache.camel.impl.DefaultEndpoint
| Constructor and Description |
|---|
ElasticsearchEndpoint(String uri,
ElasticsearchComponent component,
Map<String,Object> parameters) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Producer |
createProducer() |
protected void |
doStart() |
protected void |
doStop() |
org.elasticsearch.client.Client |
getClient() |
ElasticsearchConfiguration |
getConfig() |
boolean |
isSingleton() |
void |
setOperation(String operation) |
configureConsumer, configurePollingConsumer, configureProperties, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, equals, getCamelContext, getComponent, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExchangePattern, getId, getPollingConsumerQueueSize, hashCode, isLenientProperties, isPollingConsumerBlockWhenFull, isSynchronous, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toStringdoResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendpublic org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
Exceptionpublic boolean isSingleton()
protected void doStart()
throws Exception
doStart in class org.apache.camel.impl.DefaultEndpointExceptionprotected void doStop()
throws Exception
doStop in class org.apache.camel.impl.DefaultEndpointExceptionpublic org.elasticsearch.client.Client getClient()
public ElasticsearchConfiguration getConfig()
public void setOperation(String operation)
Apache Camel