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 Detail

      • 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 a java.lang.Boolean 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 a java.lang.Integer 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 a boolean type. Default: false Group: producer
      • maxTotalConnections

        default SolrEndpointBuilderFactory.SolrEndpointBuilder maxTotalConnections​(String maxTotalConnections)
        maxTotalConnection on the underlying HttpConnectionManager. The option will be converted to a java.lang.Integer 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 a java.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
      • 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 a int type. Default: 2 Group: producer