Interface Olingo4ComponentBuilderFactory.Olingo4ComponentBuilder
-
- All Superinterfaces:
ComponentBuilder<org.apache.camel.component.olingo4.Olingo4Component>
- All Known Implementing Classes:
Olingo4ComponentBuilderFactory.Olingo4ComponentBuilderImpl
- Enclosing interface:
- Olingo4ComponentBuilderFactory
public static interface Olingo4ComponentBuilderFactory.Olingo4ComponentBuilder extends ComponentBuilder<org.apache.camel.component.olingo4.Olingo4Component>
Builder for the Olingo4 component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default Olingo4ComponentBuilderFactory.Olingo4ComponentBuilder
autowiredEnabled(boolean autowiredEnabled)
Whether autowiring is enabled.default Olingo4ComponentBuilderFactory.Olingo4ComponentBuilder
bridgeErrorHandler(boolean bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler.default Olingo4ComponentBuilderFactory.Olingo4ComponentBuilder
configuration(org.apache.camel.component.olingo4.Olingo4Configuration configuration)
To use the shared configuration.default Olingo4ComponentBuilderFactory.Olingo4ComponentBuilder
connectTimeout(int connectTimeout)
HTTP connection creation timeout in milliseconds, defaults to 30,000 (30 seconds).default Olingo4ComponentBuilderFactory.Olingo4ComponentBuilder
contentType(String contentType)
Content-Type header value can be used to specify JSON or XML message format, defaults to application/json;charset=utf-8.default Olingo4ComponentBuilderFactory.Olingo4ComponentBuilder
filterAlreadySeen(boolean filterAlreadySeen)
Set this to true to filter out results that have already been communicated by this component.default Olingo4ComponentBuilderFactory.Olingo4ComponentBuilder
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.default Olingo4ComponentBuilderFactory.Olingo4ComponentBuilder
httpClientBuilder(org.apache.http.impl.client.HttpClientBuilder httpClientBuilder)
Custom HTTP client builder for more complex HTTP client configuration, overrides connectionTimeout, socketTimeout, proxy and sslContext.default Olingo4ComponentBuilderFactory.Olingo4ComponentBuilder
httpHeaders(Map<String,String> httpHeaders)
Custom HTTP headers to inject into every request, this could include OAuth tokens, etc.default Olingo4ComponentBuilderFactory.Olingo4ComponentBuilder
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).default Olingo4ComponentBuilderFactory.Olingo4ComponentBuilder
proxy(org.apache.http.HttpHost proxy)
HTTP proxy server configuration.default Olingo4ComponentBuilderFactory.Olingo4ComponentBuilder
serviceUri(String serviceUri)
Target OData service base URI, e.g.default Olingo4ComponentBuilderFactory.Olingo4ComponentBuilder
socketTimeout(int socketTimeout)
HTTP request timeout in milliseconds, defaults to 30,000 (30 seconds).default Olingo4ComponentBuilderFactory.Olingo4ComponentBuilder
splitResult(boolean splitResult)
For endpoints that return an array or collection, a consumer endpoint will map every element to distinct messages, unless splitResult is set to false.default Olingo4ComponentBuilderFactory.Olingo4ComponentBuilder
sslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters)
To configure security using SSLContextParameters.default Olingo4ComponentBuilderFactory.Olingo4ComponentBuilder
useGlobalSslContextParameters(boolean useGlobalSslContextParameters)
Enable usage of global SSL context parameters.-
Methods inherited from interface org.apache.camel.builder.component.ComponentBuilder
build, build, doSetProperty, register
-
-
-
-
Method Detail
-
configuration
default Olingo4ComponentBuilderFactory.Olingo4ComponentBuilder configuration(org.apache.camel.component.olingo4.Olingo4Configuration configuration)
To use the shared configuration. The option is a: <code>org.apache.camel.component.olingo4.Olingo4Configuration</code> type. Group: common- Parameters:
configuration
- the value to set- Returns:
- the dsl builder
-
connectTimeout
default Olingo4ComponentBuilderFactory.Olingo4ComponentBuilder connectTimeout(int connectTimeout)
HTTP connection creation timeout in milliseconds, defaults to 30,000 (30 seconds). The option is a: <code>int</code> type. Default: 30000 Group: common- Parameters:
connectTimeout
- the value to set- Returns:
- the dsl builder
-
contentType
default Olingo4ComponentBuilderFactory.Olingo4ComponentBuilder contentType(String contentType)
Content-Type header value can be used to specify JSON or XML message format, defaults to application/json;charset=utf-8. The option is a: <code>java.lang.String</code> type. Default: application/json;charset=utf-8 Group: common- Parameters:
contentType
- the value to set- Returns:
- the dsl builder
-
filterAlreadySeen
default Olingo4ComponentBuilderFactory.Olingo4ComponentBuilder filterAlreadySeen(boolean filterAlreadySeen)
Set this to true to filter out results that have already been communicated by this component. The option is a: <code>boolean</code> type. Default: false Group: common- Parameters:
filterAlreadySeen
- the value to set- Returns:
- the dsl builder
-
httpHeaders
default Olingo4ComponentBuilderFactory.Olingo4ComponentBuilder httpHeaders(Map<String,String> httpHeaders)
Custom HTTP headers to inject into every request, this could include OAuth tokens, etc. The option is a: <code>java.util.Map<java.lang.String, java.lang.String></code> type. Group: common- Parameters:
httpHeaders
- the value to set- Returns:
- the dsl builder
-
proxy
default Olingo4ComponentBuilderFactory.Olingo4ComponentBuilder proxy(org.apache.http.HttpHost proxy)
HTTP proxy server configuration. The option is a: <code>org.apache.http.HttpHost</code> type. Group: common- Parameters:
proxy
- the value to set- Returns:
- the dsl builder
-
serviceUri
default Olingo4ComponentBuilderFactory.Olingo4ComponentBuilder serviceUri(String serviceUri)
Target OData service base URI, e.g. http://services.odata.org/OData/OData.svc. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
serviceUri
- the value to set- Returns:
- the dsl builder
-
socketTimeout
default Olingo4ComponentBuilderFactory.Olingo4ComponentBuilder socketTimeout(int socketTimeout)
HTTP request timeout in milliseconds, defaults to 30,000 (30 seconds). The option is a: <code>int</code> type. Default: 30000 Group: common- Parameters:
socketTimeout
- the value to set- Returns:
- the dsl builder
-
bridgeErrorHandler
default Olingo4ComponentBuilderFactory.Olingo4ComponentBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option is a: <code>boolean</code> type. Default: false Group: consumer- Parameters:
bridgeErrorHandler
- the value to set- Returns:
- the dsl builder
-
splitResult
default Olingo4ComponentBuilderFactory.Olingo4ComponentBuilder splitResult(boolean splitResult)
For endpoints that return an array or collection, a consumer endpoint will map every element to distinct messages, unless splitResult is set to false. The option is a: <code>boolean</code> type. Default: true Group: consumer- Parameters:
splitResult
- the value to set- Returns:
- the dsl builder
-
lazyStartProducer
default Olingo4ComponentBuilderFactory.Olingo4ComponentBuilder 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
-
autowiredEnabled
default Olingo4ComponentBuilderFactory.Olingo4ComponentBuilder autowiredEnabled(boolean autowiredEnabled)
Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc. The option is a: <code>boolean</code> type. Default: true Group: advanced- Parameters:
autowiredEnabled
- the value to set- Returns:
- the dsl builder
-
httpAsyncClientBuilder
default Olingo4ComponentBuilderFactory.Olingo4ComponentBuilder 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
-
httpClientBuilder
default Olingo4ComponentBuilderFactory.Olingo4ComponentBuilder 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
-
sslContextParameters
default Olingo4ComponentBuilderFactory.Olingo4ComponentBuilder sslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters)
To configure security using SSLContextParameters. The option is a: <code>org.apache.camel.support.jsse.SSLContextParameters</code> type. Group: security- Parameters:
sslContextParameters
- the value to set- Returns:
- the dsl builder
-
useGlobalSslContextParameters
default Olingo4ComponentBuilderFactory.Olingo4ComponentBuilder useGlobalSslContextParameters(boolean useGlobalSslContextParameters)
Enable usage of global SSL context parameters. The option is a: <code>boolean</code> type. Default: false Group: security- Parameters:
useGlobalSslContextParameters
- the value to set- Returns:
- the dsl builder
-
-