Interface Olingo2EndpointBuilderFactory.AdvancedOlingo2EndpointProducerBuilder

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

    public static interface Olingo2EndpointBuilderFactory.AdvancedOlingo2EndpointProducerBuilder
    extends org.apache.camel.builder.EndpointProducerBuilder
    Advanced builder for endpoint producers for the Olingo2 component.
    • Method Detail

      • lazyStartProducer

        default Olingo2EndpointBuilderFactory.AdvancedOlingo2EndpointProducerBuilder 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 (advanced)
        Parameters:
        lazyStartProducer - the value to set
        Returns:
        the dsl builder
      • lazyStartProducer

        default Olingo2EndpointBuilderFactory.AdvancedOlingo2EndpointProducerBuilder 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 (advanced)
        Parameters:
        lazyStartProducer - the value to set
        Returns:
        the dsl builder
      • httpAsyncClientBuilder

        default Olingo2EndpointBuilderFactory.AdvancedOlingo2EndpointProducerBuilder httpAsyncClientBuilder​(org.apache.http.impl.nio.client.HttpAsyncClientBuilder httpAsyncClientBuilder)
        Custom HTTP async client builder for more complex HTTP client configuration, overrides connectionTimeout, socketTimeout, proxy and sslContext. Note that a socketTimeout MUST be specified in the builder, otherwise OData requests could block indefinitely. The option is a: <code>org.apache.http.impl.nio.client.HttpAsyncClientBuilder</code> type. Group: advanced
        Parameters:
        httpAsyncClientBuilder - the value to set
        Returns:
        the dsl builder
      • httpAsyncClientBuilder

        default Olingo2EndpointBuilderFactory.AdvancedOlingo2EndpointProducerBuilder httpAsyncClientBuilder​(String httpAsyncClientBuilder)
        Custom HTTP async client builder for more complex HTTP client configuration, overrides connectionTimeout, socketTimeout, proxy and sslContext. Note that a socketTimeout MUST be specified in the builder, otherwise OData requests could block indefinitely. The option will be converted to a <code>org.apache.http.impl.nio.client.HttpAsyncClientBuilder</code> type. Group: advanced
        Parameters:
        httpAsyncClientBuilder - the value to set
        Returns:
        the dsl builder
      • httpClientBuilder

        default Olingo2EndpointBuilderFactory.AdvancedOlingo2EndpointProducerBuilder httpClientBuilder​(org.apache.http.impl.client.HttpClientBuilder httpClientBuilder)
        Custom HTTP client builder for more complex HTTP client configuration, overrides connectionTimeout, socketTimeout, proxy and sslContext. Note that a socketTimeout MUST be specified in the builder, otherwise OData requests could block indefinitely. The option is a: <code>org.apache.http.impl.client.HttpClientBuilder</code> type. Group: advanced
        Parameters:
        httpClientBuilder - the value to set
        Returns:
        the dsl builder
      • httpClientBuilder

        default Olingo2EndpointBuilderFactory.AdvancedOlingo2EndpointProducerBuilder httpClientBuilder​(String httpClientBuilder)
        Custom HTTP client builder for more complex HTTP client configuration, overrides connectionTimeout, socketTimeout, proxy and sslContext. Note that a socketTimeout MUST be specified in the builder, otherwise OData requests could block indefinitely. The option will be converted to a <code>org.apache.http.impl.client.HttpClientBuilder</code> type. Group: advanced
        Parameters:
        httpClientBuilder - the value to set
        Returns:
        the dsl builder