org.apache.camel.component.solr
Class SolrEndpoint
java.lang.Object
org.apache.camel.support.ServiceSupport
org.apache.camel.impl.DefaultEndpoint
org.apache.camel.component.solr.SolrEndpoint
- All Implemented Interfaces:
- org.apache.camel.CamelContextAware, org.apache.camel.Endpoint, org.apache.camel.IsSingleton, org.apache.camel.Service, org.apache.camel.ShutdownableService, org.apache.camel.spi.HasId, org.apache.camel.StatefulService, org.apache.camel.SuspendableService
public class SolrEndpoint
- extends org.apache.camel.impl.DefaultEndpoint
Represents a Solr endpoint.
Fields inherited from class org.apache.camel.support.ServiceSupport |
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending |
Methods inherited from class org.apache.camel.impl.DefaultEndpoint |
configureConsumer, configureProperties, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStart, doStop, equals, getCamelContext, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExchangePattern, getId, hashCode, isLenientProperties, isSynchronous, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setProperties, setSynchronous, toString |
Methods inherited from class org.apache.camel.support.ServiceSupport |
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspend |
Methods inherited from interface org.apache.camel.Service |
start, stop |
SolrEndpoint
public SolrEndpoint(String endpointUri,
SolrComponent component,
String address)
throws Exception
- Throws:
Exception
getComponent
public SolrComponent getComponent()
- Overrides:
getComponent
in class org.apache.camel.impl.DefaultEndpoint
createProducer
public org.apache.camel.Producer createProducer()
throws Exception
- Throws:
Exception
onProducerShutdown
protected void onProducerShutdown(SolrProducer producer)
createConsumer
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
- Throws:
Exception
isSingleton
public boolean isSingleton()
setRequestHandler
public void setRequestHandler(String requestHandler)
getRequestHandler
public String getRequestHandler()
getStreamingThreadCount
public int getStreamingThreadCount()
setStreamingThreadCount
public void setStreamingThreadCount(int streamingThreadCount)
getStreamingQueueSize
public int getStreamingQueueSize()
setStreamingQueueSize
public void setStreamingQueueSize(int streamingQueueSize)
getMaxRetries
public Integer getMaxRetries()
setMaxRetries
public void setMaxRetries(Integer maxRetries)
getSoTimeout
public Integer getSoTimeout()
setSoTimeout
public void setSoTimeout(Integer soTimeout)
getConnectionTimeout
public Integer getConnectionTimeout()
setConnectionTimeout
public void setConnectionTimeout(Integer connectionTimeout)
getDefaultMaxConnectionsPerHost
public Integer getDefaultMaxConnectionsPerHost()
setDefaultMaxConnectionsPerHost
public void setDefaultMaxConnectionsPerHost(Integer defaultMaxConnectionsPerHost)
getMaxTotalConnections
public Integer getMaxTotalConnections()
setMaxTotalConnections
public void setMaxTotalConnections(Integer maxTotalConnections)
getFollowRedirects
public Boolean getFollowRedirects()
setFollowRedirects
public void setFollowRedirects(Boolean followRedirects)
getAllowCompression
public Boolean getAllowCompression()
setAllowCompression
public void setAllowCompression(Boolean allowCompression)
Apache Camel