@Component(value="solr,solrCloud,solrs")
public class SolrComponent
extends org.apache.camel.support.DefaultComponent
SolrEndpoint
.Modifier and Type | Class and Description |
---|---|
protected static class |
SolrComponent.SolrClientReference |
Constructor and Description |
---|
SolrComponent() |
Modifier and Type | Method and Description |
---|---|
void |
closeSolrClient(SolrProducer solrProducer) |
protected org.apache.camel.Endpoint |
createEndpoint(String uri,
String remaining,
Map<String,Object> parameters) |
protected void |
doShutdown() |
org.apache.solr.client.solrj.SolrClient |
getSolrClient(SolrProducer solrProducer,
SolrConfiguration solrConfiguration) |
afterConfiguration, createEndpoint, createEndpoint, doBuild, doInit, doStart, doStop, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, getComponentPropertyConfigurer, getDefaultName, getEndpointPropertyConfigurer, getExtension, getSupportedExtensions, ifStartsWithReturnRemainder, isAutowiredEnabled, isBridgeErrorHandler, isLazyStartProducer, registerExtension, registerExtension, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, resolveRawParameterValues, setAutowiredEnabled, setBridgeErrorHandler, setCamelContext, setLazyStartProducer, setProperties, setProperties, setProperties, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURI
build, doFail, doLifecycleChange, doResume, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
protected org.apache.camel.Endpoint createEndpoint(String uri, String remaining, Map<String,Object> parameters) throws Exception
createEndpoint
in class org.apache.camel.support.DefaultComponent
Exception
public org.apache.solr.client.solrj.SolrClient getSolrClient(SolrProducer solrProducer, SolrConfiguration solrConfiguration)
public void closeSolrClient(SolrProducer solrProducer)
Apache Camel