@UriEndpoint(firstVersion="2.9.0",
scheme="solr,solrs,solrCloud",
title="Solr",
syntax="solr:url",
producerOnly=true,
category={MONITORING,SEARCH})
public class SolrEndpoint
extends org.apache.camel.support.DefaultEndpoint
Constructor and Description |
---|
SolrEndpoint(String endpointUri,
SolrComponent component,
SolrConfiguration solrConfiguration) |
Modifier and Type | Method and Description |
---|---|
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Producer |
createProducer() |
SolrComponent |
getComponent() |
SolrConfiguration |
getSolrConfiguration() |
SolrConfiguration |
getSolrConfiguration(String solrOperation) |
protected void |
onProducerShutdown(SolrProducer producer) |
void |
setRequestHandler(String requestHandler) |
void |
setZkHost(String zkHost) |
configureConsumer, configureExchange, configurePollingConsumer, configureProperties, createAsyncProducer, createEndpointUri, createExchange, createExchange, createPollingConsumer, doInit, doStart, doStop, equals, getCamelContext, 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, toString
build, 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, suspend
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public SolrEndpoint(String endpointUri, SolrComponent component, SolrConfiguration solrConfiguration)
public void setZkHost(String zkHost)
public SolrConfiguration getSolrConfiguration()
public SolrConfiguration getSolrConfiguration(String solrOperation)
public void setRequestHandler(String requestHandler)
public SolrComponent getComponent()
getComponent
in class org.apache.camel.support.DefaultEndpoint
protected void onProducerShutdown(SolrProducer producer)
Apache Camel