Interface ResteasyComponentBuilderFactory.ResteasyComponentBuilder
-
- All Superinterfaces:
ComponentBuilder<org.apache.camel.component.resteasy.ResteasyComponent>
- All Known Implementing Classes:
ResteasyComponentBuilderFactory.ResteasyComponentBuilderImpl
- Enclosing interface:
- ResteasyComponentBuilderFactory
public static interface ResteasyComponentBuilderFactory.ResteasyComponentBuilder extends ComponentBuilder<org.apache.camel.component.resteasy.ResteasyComponent>
Builder for the Resteasy component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default ResteasyComponentBuilderFactory.ResteasyComponentBuilderallowJavaSerializedObject(boolean allowJavaSerializedObject)Whether to allow java serialization when a request uses context-type=application/x-java-serialized-object.default ResteasyComponentBuilderFactory.ResteasyComponentBuilderbasicPropertyBinding(boolean basicPropertyBinding)Whether the component should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities.default ResteasyComponentBuilderFactory.ResteasyComponentBuilderbridgeErrorHandler(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 ResteasyComponentBuilderFactory.ResteasyComponentBuilderclientConnectionManager(org.apache.http.conn.HttpClientConnectionManager clientConnectionManager)To use a custom and shared HttpClientConnectionManager to manage connections.default ResteasyComponentBuilderFactory.ResteasyComponentBuilderconnectionRequestTimeout(int connectionRequestTimeout)The timeout in milliseconds used when requesting a connection from the connection manager.default ResteasyComponentBuilderFactory.ResteasyComponentBuilderconnectionsPerRoute(int connectionsPerRoute)The maximum number of connections per route.default ResteasyComponentBuilderFactory.ResteasyComponentBuilderconnectionTimeToLive(long connectionTimeToLive)The time for connection to live, the time unit is millisecond, the default value is always keep alive.default ResteasyComponentBuilderFactory.ResteasyComponentBuilderconnectTimeout(int connectTimeout)Determines the timeout in milliseconds until a connection is established.default ResteasyComponentBuilderFactory.ResteasyComponentBuildercookieStore(org.apache.http.client.CookieStore cookieStore)To use a custom org.apache.http.client.CookieStore.default ResteasyComponentBuilderFactory.ResteasyComponentBuilderheaderFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)To use a custom org.apache.camel.spi.HeaderFilterStrategy to filter header to and from Camel message.default ResteasyComponentBuilderFactory.ResteasyComponentBuilderhttpBinding(org.apache.camel.http.common.HttpBinding httpBinding)To use a custom HttpBinding to control the mapping between Camel message and HttpClient.default ResteasyComponentBuilderFactory.ResteasyComponentBuilderhttpClientConfigurer(org.apache.camel.component.http.HttpClientConfigurer httpClientConfigurer)To use the custom HttpClientConfigurer to perform configuration of the HttpClient that will be used.default ResteasyComponentBuilderFactory.ResteasyComponentBuilderhttpConfiguration(org.apache.camel.http.common.HttpConfiguration httpConfiguration)To use the shared HttpConfiguration as base configuration.default ResteasyComponentBuilderFactory.ResteasyComponentBuilderhttpContext(org.apache.http.protocol.HttpContext httpContext)To use a custom org.apache.http.protocol.HttpContext when executing requests.default ResteasyComponentBuilderFactory.ResteasyComponentBuilderhttpRegistry(org.apache.camel.http.common.HttpRegistry httpRegistry)Sets httpRegistry which can be externalized to be used by camel.default ResteasyComponentBuilderFactory.ResteasyComponentBuilderlazyStartProducer(boolean lazyStartProducer)Whether the producer should be started lazy (on the first message).default ResteasyComponentBuilderFactory.ResteasyComponentBuildermaxTotalConnections(int maxTotalConnections)The maximum number of connections.default ResteasyComponentBuilderFactory.ResteasyComponentBuilderproxyConsumersClasses(String proxyConsumersClasses)Sets the proxy class for consumer enpoints.default ResteasyComponentBuilderFactory.ResteasyComponentBuildersocketTimeout(int socketTimeout)Defines the socket timeout in milliseconds, which is the timeout for waiting for data or, put differently, a maximum period inactivity between two consecutive data packets).default ResteasyComponentBuilderFactory.ResteasyComponentBuildersslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters)To configure security using SSLContextParameters.default ResteasyComponentBuilderFactory.ResteasyComponentBuilderuseGlobalSslContextParameters(boolean useGlobalSslContextParameters)Enable usage of global SSL context parameters.default ResteasyComponentBuilderFactory.ResteasyComponentBuilderx509HostnameVerifier(HostnameVerifier x509HostnameVerifier)To use a custom X509HostnameVerifier such as DefaultHostnameVerifier or NoopHostnameVerifier.-
Methods inherited from interface org.apache.camel.builder.component.ComponentBuilder
build, build, doSetProperty, register
-
-
-
-
Method Detail
-
httpRegistry
default ResteasyComponentBuilderFactory.ResteasyComponentBuilder httpRegistry(org.apache.camel.http.common.HttpRegistry httpRegistry)
Sets httpRegistry which can be externalized to be used by camel. The option is a:org.apache.camel.http.common.HttpRegistrytype. Group: common
-
proxyConsumersClasses
default ResteasyComponentBuilderFactory.ResteasyComponentBuilder proxyConsumersClasses(String proxyConsumersClasses)
Sets the proxy class for consumer enpoints. The option is a:java.lang.Stringtype. Group: common
-
bridgeErrorHandler
default ResteasyComponentBuilderFactory.ResteasyComponentBuilder 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
-
cookieStore
default ResteasyComponentBuilderFactory.ResteasyComponentBuilder cookieStore(org.apache.http.client.CookieStore cookieStore)
To use a custom org.apache.http.client.CookieStore. By default the org.apache.http.impl.client.BasicCookieStore is used which is an in-memory only cookie store. Notice if bridgeEndpoint=true then the cookie store is forced to be a noop cookie store as cookie shouldn't be stored as we are just bridging (eg acting as a proxy). The option is a:org.apache.http.client.CookieStoretype. Group: producer
-
lazyStartProducer
default ResteasyComponentBuilderFactory.ResteasyComponentBuilder 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
-
allowJavaSerializedObject
default ResteasyComponentBuilderFactory.ResteasyComponentBuilder allowJavaSerializedObject(boolean allowJavaSerializedObject)
Whether to allow java serialization when a request uses context-type=application/x-java-serialized-object. This is by default turned off. If you enable this then be aware that Java will deserialize the incoming data from the request to Java and that can be a potential security risk. The option is a:booleantype. Default: false Group: advanced
-
basicPropertyBinding
default ResteasyComponentBuilderFactory.ResteasyComponentBuilder 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
-
clientConnectionManager
default ResteasyComponentBuilderFactory.ResteasyComponentBuilder clientConnectionManager(org.apache.http.conn.HttpClientConnectionManager clientConnectionManager)
To use a custom and shared HttpClientConnectionManager to manage connections. If this has been configured then this is always used for all endpoints created by this component. The option is a:org.apache.http.conn.HttpClientConnectionManagertype. Group: advanced
-
connectionsPerRoute
default ResteasyComponentBuilderFactory.ResteasyComponentBuilder connectionsPerRoute(int connectionsPerRoute)
The maximum number of connections per route. The option is a:inttype. Default: 20 Group: advanced
-
connectionTimeToLive
default ResteasyComponentBuilderFactory.ResteasyComponentBuilder connectionTimeToLive(long connectionTimeToLive)
The time for connection to live, the time unit is millisecond, the default value is always keep alive. The option is a:longtype. Group: advanced
-
httpBinding
default ResteasyComponentBuilderFactory.ResteasyComponentBuilder httpBinding(org.apache.camel.http.common.HttpBinding httpBinding)
To use a custom HttpBinding to control the mapping between Camel message and HttpClient. The option is a:org.apache.camel.http.common.HttpBindingtype. Group: advanced
-
httpClientConfigurer
default ResteasyComponentBuilderFactory.ResteasyComponentBuilder httpClientConfigurer(org.apache.camel.component.http.HttpClientConfigurer httpClientConfigurer)
To use the custom HttpClientConfigurer to perform configuration of the HttpClient that will be used. The option is a:org.apache.camel.component.http.HttpClientConfigurertype. Group: advanced
-
httpConfiguration
default ResteasyComponentBuilderFactory.ResteasyComponentBuilder httpConfiguration(org.apache.camel.http.common.HttpConfiguration httpConfiguration)
To use the shared HttpConfiguration as base configuration. The option is a:org.apache.camel.http.common.HttpConfigurationtype. Group: advanced
-
httpContext
default ResteasyComponentBuilderFactory.ResteasyComponentBuilder httpContext(org.apache.http.protocol.HttpContext httpContext)
To use a custom org.apache.http.protocol.HttpContext when executing requests. The option is a:org.apache.http.protocol.HttpContexttype. Group: advanced
-
maxTotalConnections
default ResteasyComponentBuilderFactory.ResteasyComponentBuilder maxTotalConnections(int maxTotalConnections)
The maximum number of connections. The option is a:inttype. Default: 200 Group: advanced
-
headerFilterStrategy
default ResteasyComponentBuilderFactory.ResteasyComponentBuilder headerFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)
To use a custom org.apache.camel.spi.HeaderFilterStrategy to filter header to and from Camel message. The option is a:org.apache.camel.spi.HeaderFilterStrategytype. Group: filter
-
sslContextParameters
default ResteasyComponentBuilderFactory.ResteasyComponentBuilder sslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters)
To configure security using SSLContextParameters. Important: Only one instance of org.apache.camel.support.jsse.SSLContextParameters is supported per HttpComponent. If you need to use 2 or more different instances, you need to define a new HttpComponent per instance you need. The option is a:org.apache.camel.support.jsse.SSLContextParameterstype. Group: security
-
useGlobalSslContextParameters
default ResteasyComponentBuilderFactory.ResteasyComponentBuilder useGlobalSslContextParameters(boolean useGlobalSslContextParameters)
Enable usage of global SSL context parameters. The option is a:booleantype. Default: false Group: security
-
x509HostnameVerifier
default ResteasyComponentBuilderFactory.ResteasyComponentBuilder x509HostnameVerifier(HostnameVerifier x509HostnameVerifier)
To use a custom X509HostnameVerifier such as DefaultHostnameVerifier or NoopHostnameVerifier. The option is a:javax.net.ssl.HostnameVerifiertype. Group: security
-
connectionRequestTimeout
default ResteasyComponentBuilderFactory.ResteasyComponentBuilder connectionRequestTimeout(int connectionRequestTimeout)
The timeout in milliseconds used when requesting a connection from the connection manager. A timeout value of zero is interpreted as an infinite timeout. A timeout value of zero is interpreted as an infinite timeout. A negative value is interpreted as undefined (system default). The option is a:inttype. Default: -1 Group: timeout
-
connectTimeout
default ResteasyComponentBuilderFactory.ResteasyComponentBuilder connectTimeout(int connectTimeout)
Determines the timeout in milliseconds until a connection is established. A timeout value of zero is interpreted as an infinite timeout. A timeout value of zero is interpreted as an infinite timeout. A negative value is interpreted as undefined (system default). The option is a:inttype. Default: -1 Group: timeout
-
socketTimeout
default ResteasyComponentBuilderFactory.ResteasyComponentBuilder socketTimeout(int socketTimeout)
Defines the socket timeout in milliseconds, which is the timeout for waiting for data or, put differently, a maximum period inactivity between two consecutive data packets). A timeout value of zero is interpreted as an infinite timeout. A negative value is interpreted as undefined (system default). The option is a:inttype. Default: -1 Group: timeout
-
-