Interface SolrEndpointBuilderFactory.SolrEndpointBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- Enclosing interface:
- SolrEndpointBuilderFactory
public static interface SolrEndpointBuilderFactory.SolrEndpointBuilder extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint for the Solr component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default SolrEndpointBuilderFactory.AdvancedSolrEndpointBuilder
advanced()
default SolrEndpointBuilderFactory.SolrEndpointBuilder
allowCompression(Boolean allowCompression)
Server side must support gzip or deflate for this to have any effect.default SolrEndpointBuilderFactory.SolrEndpointBuilder
allowCompression(String allowCompression)
Server side must support gzip or deflate for this to have any effect.default SolrEndpointBuilderFactory.SolrEndpointBuilder
collection(String collection)
Set the collection name which the solrCloud server could use.default SolrEndpointBuilderFactory.SolrEndpointBuilder
connectionTimeout(Integer connectionTimeout)
connectionTimeout on the underlying HttpConnectionManager.default SolrEndpointBuilderFactory.SolrEndpointBuilder
connectionTimeout(String connectionTimeout)
connectionTimeout on the underlying HttpConnectionManager.default SolrEndpointBuilderFactory.SolrEndpointBuilder
defaultMaxConnectionsPerHost(Integer defaultMaxConnectionsPerHost)
maxConnectionsPerHost on the underlying HttpConnectionManager.default SolrEndpointBuilderFactory.SolrEndpointBuilder
defaultMaxConnectionsPerHost(String defaultMaxConnectionsPerHost)
maxConnectionsPerHost on the underlying HttpConnectionManager.default SolrEndpointBuilderFactory.SolrEndpointBuilder
followRedirects(Boolean followRedirects)
indicates whether redirects are used to get to the Solr server.default SolrEndpointBuilderFactory.SolrEndpointBuilder
followRedirects(String followRedirects)
indicates whether redirects are used to get to the Solr server.default SolrEndpointBuilderFactory.SolrEndpointBuilder
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).default SolrEndpointBuilderFactory.SolrEndpointBuilder
lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message).default SolrEndpointBuilderFactory.SolrEndpointBuilder
maxRetries(Integer maxRetries)
Maximum number of retries to attempt in the event of transient errors.default SolrEndpointBuilderFactory.SolrEndpointBuilder
maxRetries(String maxRetries)
Maximum number of retries to attempt in the event of transient errors.default SolrEndpointBuilderFactory.SolrEndpointBuilder
maxTotalConnections(Integer maxTotalConnections)
maxTotalConnection on the underlying HttpConnectionManager.default SolrEndpointBuilderFactory.SolrEndpointBuilder
maxTotalConnections(String maxTotalConnections)
maxTotalConnection on the underlying HttpConnectionManager.default SolrEndpointBuilderFactory.SolrEndpointBuilder
password(String password)
Sets password for basic auth plugin enabled servers.default SolrEndpointBuilderFactory.SolrEndpointBuilder
requestHandler(String requestHandler)
Set the request handler to be used.default SolrEndpointBuilderFactory.SolrEndpointBuilder
soTimeout(Integer soTimeout)
Read timeout on the underlying HttpConnectionManager.default SolrEndpointBuilderFactory.SolrEndpointBuilder
soTimeout(String soTimeout)
Read timeout on the underlying HttpConnectionManager.default SolrEndpointBuilderFactory.SolrEndpointBuilder
streamingQueueSize(int streamingQueueSize)
Set the queue size for the StreamingUpdateSolrServer.default SolrEndpointBuilderFactory.SolrEndpointBuilder
streamingQueueSize(String streamingQueueSize)
Set the queue size for the StreamingUpdateSolrServer.default SolrEndpointBuilderFactory.SolrEndpointBuilder
streamingThreadCount(int streamingThreadCount)
Set the number of threads for the StreamingUpdateSolrServer.default SolrEndpointBuilderFactory.SolrEndpointBuilder
streamingThreadCount(String streamingThreadCount)
Set the number of threads for the StreamingUpdateSolrServer.default SolrEndpointBuilderFactory.SolrEndpointBuilder
username(String username)
Sets username for basic auth plugin enabled servers.default SolrEndpointBuilderFactory.SolrEndpointBuilder
zkHost(String zkHost)
Set the ZooKeeper host information which the solrCloud could use, such as zkhost=localhost:8123.
-
-
-
Method Detail
-
advanced
default SolrEndpointBuilderFactory.AdvancedSolrEndpointBuilder advanced()
-
allowCompression
default SolrEndpointBuilderFactory.SolrEndpointBuilder allowCompression(Boolean allowCompression)
Server side must support gzip or deflate for this to have any effect. The option is a:java.lang.Boolean
type. Group: producer
-
allowCompression
default SolrEndpointBuilderFactory.SolrEndpointBuilder allowCompression(String allowCompression)
Server side must support gzip or deflate for this to have any effect. The option will be converted to ajava.lang.Boolean
type. Group: producer
-
connectionTimeout
default SolrEndpointBuilderFactory.SolrEndpointBuilder connectionTimeout(Integer connectionTimeout)
connectionTimeout on the underlying HttpConnectionManager. The option is a:java.lang.Integer
type. Group: producer
-
connectionTimeout
default SolrEndpointBuilderFactory.SolrEndpointBuilder connectionTimeout(String connectionTimeout)
connectionTimeout on the underlying HttpConnectionManager. The option will be converted to ajava.lang.Integer
type. Group: producer
-
defaultMaxConnectionsPerHost
default SolrEndpointBuilderFactory.SolrEndpointBuilder defaultMaxConnectionsPerHost(Integer defaultMaxConnectionsPerHost)
maxConnectionsPerHost on the underlying HttpConnectionManager. The option is a:java.lang.Integer
type. Group: producer
-
defaultMaxConnectionsPerHost
default SolrEndpointBuilderFactory.SolrEndpointBuilder defaultMaxConnectionsPerHost(String defaultMaxConnectionsPerHost)
maxConnectionsPerHost on the underlying HttpConnectionManager. The option will be converted to ajava.lang.Integer
type. Group: producer
-
followRedirects
default SolrEndpointBuilderFactory.SolrEndpointBuilder followRedirects(Boolean followRedirects)
indicates whether redirects are used to get to the Solr server. The option is a:java.lang.Boolean
type. Group: producer
-
followRedirects
default SolrEndpointBuilderFactory.SolrEndpointBuilder followRedirects(String followRedirects)
indicates whether redirects are used to get to the Solr server. The option will be converted to ajava.lang.Boolean
type. Group: producer
-
lazyStartProducer
default SolrEndpointBuilderFactory.SolrEndpointBuilder lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option is a:boolean
type. Default: false Group: producer
-
lazyStartProducer
default SolrEndpointBuilderFactory.SolrEndpointBuilder lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option will be converted to aboolean
type. Default: false Group: producer
-
maxRetries
default SolrEndpointBuilderFactory.SolrEndpointBuilder maxRetries(Integer maxRetries)
Maximum number of retries to attempt in the event of transient errors. The option is a:java.lang.Integer
type. Group: producer
-
maxRetries
default SolrEndpointBuilderFactory.SolrEndpointBuilder maxRetries(String maxRetries)
Maximum number of retries to attempt in the event of transient errors. The option will be converted to ajava.lang.Integer
type. Group: producer
-
maxTotalConnections
default SolrEndpointBuilderFactory.SolrEndpointBuilder maxTotalConnections(Integer maxTotalConnections)
maxTotalConnection on the underlying HttpConnectionManager. The option is a:java.lang.Integer
type. Group: producer
-
maxTotalConnections
default SolrEndpointBuilderFactory.SolrEndpointBuilder maxTotalConnections(String maxTotalConnections)
maxTotalConnection on the underlying HttpConnectionManager. The option will be converted to ajava.lang.Integer
type. Group: producer
-
requestHandler
default SolrEndpointBuilderFactory.SolrEndpointBuilder requestHandler(String requestHandler)
Set the request handler to be used. The option is a:java.lang.String
type. Group: producer
-
soTimeout
default SolrEndpointBuilderFactory.SolrEndpointBuilder soTimeout(Integer soTimeout)
Read timeout on the underlying HttpConnectionManager. This is desirable for queries, but probably not for indexing. The option is a:java.lang.Integer
type. Group: producer
-
soTimeout
default SolrEndpointBuilderFactory.SolrEndpointBuilder soTimeout(String soTimeout)
Read timeout on the underlying HttpConnectionManager. This is desirable for queries, but probably not for indexing. The option will be converted to ajava.lang.Integer
type. Group: producer
-
streamingQueueSize
default SolrEndpointBuilderFactory.SolrEndpointBuilder streamingQueueSize(int streamingQueueSize)
Set the queue size for the StreamingUpdateSolrServer. The option is a:int
type. Default: 10 Group: producer
-
streamingQueueSize
default SolrEndpointBuilderFactory.SolrEndpointBuilder streamingQueueSize(String streamingQueueSize)
Set the queue size for the StreamingUpdateSolrServer. The option will be converted to aint
type. Default: 10 Group: producer
-
streamingThreadCount
default SolrEndpointBuilderFactory.SolrEndpointBuilder streamingThreadCount(int streamingThreadCount)
Set the number of threads for the StreamingUpdateSolrServer. The option is a:int
type. Default: 2 Group: producer
-
streamingThreadCount
default SolrEndpointBuilderFactory.SolrEndpointBuilder streamingThreadCount(String streamingThreadCount)
Set the number of threads for the StreamingUpdateSolrServer. The option will be converted to aint
type. Default: 2 Group: producer
-
password
default SolrEndpointBuilderFactory.SolrEndpointBuilder password(String password)
Sets password for basic auth plugin enabled servers. The option is a:java.lang.String
type. Group: security
-
username
default SolrEndpointBuilderFactory.SolrEndpointBuilder username(String username)
Sets username for basic auth plugin enabled servers. The option is a:java.lang.String
type. Group: security
-
collection
default SolrEndpointBuilderFactory.SolrEndpointBuilder collection(String collection)
Set the collection name which the solrCloud server could use. The option is a:java.lang.String
type. Group: solrCloud
-
zkHost
default SolrEndpointBuilderFactory.SolrEndpointBuilder zkHost(String zkHost)
Set the ZooKeeper host information which the solrCloud could use, such as zkhost=localhost:8123. The option is a:java.lang.String
type. Group: solrCloud
-
-