public class ElasticsearchProducer
extends org.apache.camel.support.DefaultProducer
| Modifier and Type | Field and Description |
|---|---|
protected ElasticsearchConfiguration |
configuration |
| Constructor and Description |
|---|
ElasticsearchProducer(ElasticsearchEndpoint endpoint,
ElasticsearchConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doStart() |
protected void |
doStop() |
org.elasticsearch.client.RestClient |
getClient() |
void |
process(org.apache.camel.Exchange exchange) |
createExchange, getEndpoint, isSingleton, toStringdoInit, doResume, doShutdown, doSuspend, getStatus, init, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendprotected final ElasticsearchConfiguration configuration
public ElasticsearchProducer(ElasticsearchEndpoint endpoint, ElasticsearchConfiguration configuration)
protected void doStart()
throws Exception
doStart in class org.apache.camel.support.DefaultProducerExceptionprotected void doStop()
throws Exception
doStop in class org.apache.camel.support.DefaultProducerExceptionpublic org.elasticsearch.client.RestClient getClient()
Apache Camel