Interface Olingo2ComponentBuilderFactory.Olingo2ComponentBuilder
-
- All Superinterfaces:
ComponentBuilder<org.apache.camel.component.olingo2.Olingo2Component>
- All Known Implementing Classes:
Olingo2ComponentBuilderFactory.Olingo2ComponentBuilderImpl
- Enclosing interface:
- Olingo2ComponentBuilderFactory
public static interface Olingo2ComponentBuilderFactory.Olingo2ComponentBuilder extends ComponentBuilder<org.apache.camel.component.olingo2.Olingo2Component>
Builder for the Olingo2 component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default Olingo2ComponentBuilderFactory.Olingo2ComponentBuilderbasicPropertyBinding(boolean basicPropertyBinding)Whether the component should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities.default Olingo2ComponentBuilderFactory.Olingo2ComponentBuilderbridgeErrorHandler(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 Olingo2ComponentBuilderFactory.Olingo2ComponentBuilderconfiguration(org.apache.camel.component.olingo2.Olingo2Configuration configuration)To use the shared configuration.default Olingo2ComponentBuilderFactory.Olingo2ComponentBuilderconnectTimeout(int connectTimeout)HTTP connection creation timeout in milliseconds, defaults to 30,000 (30 seconds).default Olingo2ComponentBuilderFactory.Olingo2ComponentBuildercontentType(String contentType)Content-Type header value can be used to specify JSON or XML message format, defaults to application/json;charset=utf-8.default Olingo2ComponentBuilderFactory.Olingo2ComponentBuilderfilterAlreadySeen(boolean filterAlreadySeen)Set this to true to filter out results that have already been communicated by this component.default Olingo2ComponentBuilderFactory.Olingo2ComponentBuilderhttpAsyncClientBuilder(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 Olingo2ComponentBuilderFactory.Olingo2ComponentBuilderhttpClientBuilder(org.apache.http.impl.client.HttpClientBuilder httpClientBuilder)Custom HTTP client builder for more complex HTTP client configuration, overrides connectionTimeout, socketTimeout, proxy and sslContext.default Olingo2ComponentBuilderFactory.Olingo2ComponentBuilderhttpHeaders(Map<String,String> httpHeaders)Custom HTTP headers to inject into every request, this could include OAuth tokens, etc.default Olingo2ComponentBuilderFactory.Olingo2ComponentBuilderlazyStartProducer(boolean lazyStartProducer)Whether the producer should be started lazy (on the first message).default Olingo2ComponentBuilderFactory.Olingo2ComponentBuilderproxy(org.apache.http.HttpHost proxy)HTTP proxy server configuration.default Olingo2ComponentBuilderFactory.Olingo2ComponentBuilderserviceUri(String serviceUri)Target OData service base URI, e.g.default Olingo2ComponentBuilderFactory.Olingo2ComponentBuildersocketTimeout(int socketTimeout)HTTP request timeout in milliseconds, defaults to 30,000 (30 seconds).default Olingo2ComponentBuilderFactory.Olingo2ComponentBuildersplitResult(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 Olingo2ComponentBuilderFactory.Olingo2ComponentBuildersslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters)To configure security using SSLContextParameters.default Olingo2ComponentBuilderFactory.Olingo2ComponentBuilderuseGlobalSslContextParameters(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 Olingo2ComponentBuilderFactory.Olingo2ComponentBuilder configuration(org.apache.camel.component.olingo2.Olingo2Configuration configuration)
To use the shared configuration. The option is a:org.apache.camel.component.olingo2.Olingo2Configurationtype. Group: common
-
connectTimeout
default Olingo2ComponentBuilderFactory.Olingo2ComponentBuilder connectTimeout(int connectTimeout)
HTTP connection creation timeout in milliseconds, defaults to 30,000 (30 seconds). The option is a:inttype. Default: 30000 Group: common
-
contentType
default Olingo2ComponentBuilderFactory.Olingo2ComponentBuilder 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:java.lang.Stringtype. Default: application/json;charset=utf-8 Group: common
-
filterAlreadySeen
default Olingo2ComponentBuilderFactory.Olingo2ComponentBuilder filterAlreadySeen(boolean filterAlreadySeen)
Set this to true to filter out results that have already been communicated by this component. The option is a:booleantype. Default: false Group: common
-
httpHeaders
default Olingo2ComponentBuilderFactory.Olingo2ComponentBuilder httpHeaders(Map<String,String> httpHeaders)
Custom HTTP headers to inject into every request, this could include OAuth tokens, etc. The option is a:java.util.Maptype. Group: common
-
proxy
default Olingo2ComponentBuilderFactory.Olingo2ComponentBuilder proxy(org.apache.http.HttpHost proxy)
HTTP proxy server configuration. The option is a:org.apache.http.HttpHosttype. Group: common
-
serviceUri
default Olingo2ComponentBuilderFactory.Olingo2ComponentBuilder serviceUri(String serviceUri)
Target OData service base URI, e.g. http://services.odata.org/OData/OData.svc. The option is a:java.lang.Stringtype. Group: common
-
socketTimeout
default Olingo2ComponentBuilderFactory.Olingo2ComponentBuilder socketTimeout(int socketTimeout)
HTTP request timeout in milliseconds, defaults to 30,000 (30 seconds). The option is a:inttype. Default: 30000 Group: common
-
bridgeErrorHandler
default Olingo2ComponentBuilderFactory.Olingo2ComponentBuilder 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:booleantype. Default: false Group: consumer
-
splitResult
default Olingo2ComponentBuilderFactory.Olingo2ComponentBuilder 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:booleantype. Default: true Group: consumer
-
lazyStartProducer
default Olingo2ComponentBuilderFactory.Olingo2ComponentBuilder 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:booleantype. Default: false Group: producer
-
basicPropertyBinding
default Olingo2ComponentBuilderFactory.Olingo2ComponentBuilder basicPropertyBinding(boolean basicPropertyBinding)
Whether the component should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities. The option is a:booleantype. Default: false Group: advanced
-
httpAsyncClientBuilder
default Olingo2ComponentBuilderFactory.Olingo2ComponentBuilder 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:org.apache.http.impl.nio.client.HttpAsyncClientBuildertype. Group: advanced
-
httpClientBuilder
default Olingo2ComponentBuilderFactory.Olingo2ComponentBuilder 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:org.apache.http.impl.client.HttpClientBuildertype. Group: advanced
-
sslContextParameters
default Olingo2ComponentBuilderFactory.Olingo2ComponentBuilder sslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters)
To configure security using SSLContextParameters. The option is a:org.apache.camel.support.jsse.SSLContextParameterstype. Group: security
-
useGlobalSslContextParameters
default Olingo2ComponentBuilderFactory.Olingo2ComponentBuilder useGlobalSslContextParameters(boolean useGlobalSslContextParameters)
Enable usage of global SSL context parameters. The option is a:booleantype. Default: false Group: security
-
-