org.apache.camel.component.solr
Class SolrEndpoint

java.lang.Object
  extended by org.apache.camel.support.ServiceSupport
      extended by org.apache.camel.impl.DefaultEndpoint
          extended by 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.


Field Summary
 
Fields inherited from class org.apache.camel.support.ServiceSupport
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending
 
Constructor Summary
SolrEndpoint(String endpointUri, SolrComponent component, String address)
           
 
Method Summary
 org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
           
 org.apache.camel.Producer createProducer()
           
 Boolean getAllowCompression()
           
 SolrComponent getComponent()
           
 Integer getConnectionTimeout()
           
 Integer getDefaultMaxConnectionsPerHost()
           
 Boolean getFollowRedirects()
           
 Integer getMaxRetries()
           
 Integer getMaxTotalConnections()
           
 String getRequestHandler()
           
 Integer getSoTimeout()
           
 int getStreamingQueueSize()
           
 int getStreamingThreadCount()
           
 boolean isSingleton()
           
protected  void onProducerShutdown(SolrProducer producer)
           
 void setAllowCompression(Boolean allowCompression)
           
 void setConnectionTimeout(Integer connectionTimeout)
           
 void setDefaultMaxConnectionsPerHost(Integer defaultMaxConnectionsPerHost)
           
 void setFollowRedirects(Boolean followRedirects)
           
 void setMaxRetries(Integer maxRetries)
           
 void setMaxTotalConnections(Integer maxTotalConnections)
           
 void setRequestHandler(String requestHandler)
           
 void setSoTimeout(Integer soTimeout)
           
 void setStreamingQueueSize(int streamingQueueSize)
           
 void setStreamingThreadCount(int streamingThreadCount)
           
 
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 class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.camel.Service
start, stop
 

Constructor Detail

SolrEndpoint

public SolrEndpoint(String endpointUri,
                    SolrComponent component,
                    String address)
             throws Exception
Throws:
Exception
Method Detail

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