Interface SplunkEndpointBuilderFactory.SplunkEndpointProducerBuilder

  • All Superinterfaces:
    org.apache.camel.builder.EndpointProducerBuilder, org.apache.camel.EndpointProducerResolver
    All Known Subinterfaces:
    SplunkEndpointBuilderFactory.SplunkEndpointBuilder
    Enclosing interface:
    SplunkEndpointBuilderFactory

    public static interface SplunkEndpointBuilderFactory.SplunkEndpointProducerBuilder
    extends org.apache.camel.builder.EndpointProducerBuilder
    Builder for endpoint producers for the Splunk component.
    • Method Detail

      • connectionTimeout

        default SplunkEndpointBuilderFactory.SplunkEndpointProducerBuilder connectionTimeout​(int connectionTimeout)
        Timeout in MS when connecting to Splunk server. The option is a: <code>int</code> type. Default: 5000 Group: common
        Parameters:
        connectionTimeout - the value to set
        Returns:
        the dsl builder
      • connectionTimeout

        default SplunkEndpointBuilderFactory.SplunkEndpointProducerBuilder connectionTimeout​(String connectionTimeout)
        Timeout in MS when connecting to Splunk server. The option will be converted to a <code>int</code> type. Default: 5000 Group: common
        Parameters:
        connectionTimeout - the value to set
        Returns:
        the dsl builder
      • lazyStartProducer

        default SplunkEndpointBuilderFactory.SplunkEndpointProducerBuilder 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: <code>boolean</code> type. Default: false Group: producer
        Parameters:
        lazyStartProducer - the value to set
        Returns:
        the dsl builder
      • lazyStartProducer

        default SplunkEndpointBuilderFactory.SplunkEndpointProducerBuilder 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 <code>boolean</code> type. Default: false Group: producer
        Parameters:
        lazyStartProducer - the value to set
        Returns:
        the dsl builder
      • tcpReceiverLocalPort

        default SplunkEndpointBuilderFactory.SplunkEndpointProducerBuilder tcpReceiverLocalPort​(Integer tcpReceiverLocalPort)
        Splunk tcp receiver port defined locally on splunk server. (For example if splunk port 9997 is mapped to 12345, tcpReceiverLocalPort has to be 9997). The option is a: <code>java.lang.Integer</code> type. Group: producer
        Parameters:
        tcpReceiverLocalPort - the value to set
        Returns:
        the dsl builder
      • tcpReceiverLocalPort

        default SplunkEndpointBuilderFactory.SplunkEndpointProducerBuilder tcpReceiverLocalPort​(String tcpReceiverLocalPort)
        Splunk tcp receiver port defined locally on splunk server. (For example if splunk port 9997 is mapped to 12345, tcpReceiverLocalPort has to be 9997). The option will be converted to a <code>java.lang.Integer</code> type. Group: producer
        Parameters:
        tcpReceiverLocalPort - the value to set
        Returns:
        the dsl builder
      • sslProtocol

        default SplunkEndpointBuilderFactory.SplunkEndpointProducerBuilder sslProtocol​(String sslProtocol)
        Set the ssl protocol to use. The option will be converted to a <code>com.splunk.SSLSecurityProtocol</code> type. Default: TLSv1.2 Group: security
        Parameters:
        sslProtocol - the value to set
        Returns:
        the dsl builder
      • useSunHttpsHandler

        default SplunkEndpointBuilderFactory.SplunkEndpointProducerBuilder useSunHttpsHandler​(boolean useSunHttpsHandler)
        Use sun.net.www.protocol.https.Handler Https handler to establish the Splunk Connection. Can be useful when running in application servers to avoid app. server https handling. The option is a: <code>boolean</code> type. Default: false Group: security
        Parameters:
        useSunHttpsHandler - the value to set
        Returns:
        the dsl builder
      • useSunHttpsHandler

        default SplunkEndpointBuilderFactory.SplunkEndpointProducerBuilder useSunHttpsHandler​(String useSunHttpsHandler)
        Use sun.net.www.protocol.https.Handler Https handler to establish the Splunk Connection. Can be useful when running in application servers to avoid app. server https handling. The option will be converted to a <code>boolean</code> type. Default: false Group: security
        Parameters:
        useSunHttpsHandler - the value to set
        Returns:
        the dsl builder