Interface WsEndpointBuilderFactory.AdvancedWsEndpointProducerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- All Known Subinterfaces:
WsEndpointBuilderFactory.AdvancedWsEndpointBuilder
- Enclosing interface:
- WsEndpointBuilderFactory
public static interface WsEndpointBuilderFactory.AdvancedWsEndpointProducerBuilder extends org.apache.camel.builder.EndpointProducerBuilder
Advanced builder for endpoint producers for the Async HTTP Client (AHC) Websocket component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default WsEndpointBuilderFactory.WsEndpointProducerBuilder
basic()
default WsEndpointBuilderFactory.AdvancedWsEndpointProducerBuilder
binding(Object binding)
To use a custom AhcBinding which allows to control how to bind between AHC and Camel.default WsEndpointBuilderFactory.AdvancedWsEndpointProducerBuilder
binding(String binding)
To use a custom AhcBinding which allows to control how to bind between AHC and Camel.default WsEndpointBuilderFactory.AdvancedWsEndpointProducerBuilder
clientConfig(Object clientConfig)
To configure the AsyncHttpClient to use a custom com.ning.http.client.AsyncHttpClientConfig instance.default WsEndpointBuilderFactory.AdvancedWsEndpointProducerBuilder
clientConfig(String clientConfig)
To configure the AsyncHttpClient to use a custom com.ning.http.client.AsyncHttpClientConfig instance.default WsEndpointBuilderFactory.AdvancedWsEndpointProducerBuilder
clientConfigOptions(String key, Object value)
To configure the AsyncHttpClientConfig using the key/values from the Map.default WsEndpointBuilderFactory.AdvancedWsEndpointProducerBuilder
clientConfigOptions(Map values)
To configure the AsyncHttpClientConfig using the key/values from the Map.default WsEndpointBuilderFactory.AdvancedWsEndpointProducerBuilder
clientConfigRealmOptions(String key, Object value)
To configure the AsyncHttpClientConfig Realm using the key/values from the Map.default WsEndpointBuilderFactory.AdvancedWsEndpointProducerBuilder
clientConfigRealmOptions(Map values)
To configure the AsyncHttpClientConfig Realm using the key/values from the Map.default WsEndpointBuilderFactory.AdvancedWsEndpointProducerBuilder
synchronous(boolean synchronous)
Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).default WsEndpointBuilderFactory.AdvancedWsEndpointProducerBuilder
synchronous(String synchronous)
Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).
-
-
-
Method Detail
-
basic
default WsEndpointBuilderFactory.WsEndpointProducerBuilder basic()
-
binding
default WsEndpointBuilderFactory.AdvancedWsEndpointProducerBuilder binding(Object binding)
To use a custom AhcBinding which allows to control how to bind between AHC and Camel. The option is a:org.apache.camel.component.ahc.AhcBinding
type. Group: advanced
-
binding
default WsEndpointBuilderFactory.AdvancedWsEndpointProducerBuilder binding(String binding)
To use a custom AhcBinding which allows to control how to bind between AHC and Camel. The option will be converted to aorg.apache.camel.component.ahc.AhcBinding
type. Group: advanced
-
clientConfig
default WsEndpointBuilderFactory.AdvancedWsEndpointProducerBuilder clientConfig(Object clientConfig)
To configure the AsyncHttpClient to use a custom com.ning.http.client.AsyncHttpClientConfig instance. The option is a:org.asynchttpclient.AsyncHttpClientConfig
type. Group: advanced
-
clientConfig
default WsEndpointBuilderFactory.AdvancedWsEndpointProducerBuilder clientConfig(String clientConfig)
To configure the AsyncHttpClient to use a custom com.ning.http.client.AsyncHttpClientConfig instance. The option will be converted to aorg.asynchttpclient.AsyncHttpClientConfig
type. Group: advanced
-
clientConfigOptions
default WsEndpointBuilderFactory.AdvancedWsEndpointProducerBuilder clientConfigOptions(String key, Object value)
To configure the AsyncHttpClientConfig using the key/values from the Map. The option is a:java.util.Map<java.lang.String, java.lang.Object>
type. The option is multivalued, and you can use the clientConfigOptions(String, Object) method to add a value (call the method multiple times to set more values). Group: advanced
-
clientConfigOptions
default WsEndpointBuilderFactory.AdvancedWsEndpointProducerBuilder clientConfigOptions(Map values)
To configure the AsyncHttpClientConfig using the key/values from the Map. The option is a:java.util.Map<java.lang.String, java.lang.Object>
type. The option is multivalued, and you can use the clientConfigOptions(String, Object) method to add a value (call the method multiple times to set more values). Group: advanced
-
synchronous
default WsEndpointBuilderFactory.AdvancedWsEndpointProducerBuilder synchronous(boolean synchronous)
Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). The option is a:boolean
type. Default: false Group: advanced
-
synchronous
default WsEndpointBuilderFactory.AdvancedWsEndpointProducerBuilder synchronous(String synchronous)
Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). The option will be converted to aboolean
type. Default: false Group: advanced
-
clientConfigRealmOptions
default WsEndpointBuilderFactory.AdvancedWsEndpointProducerBuilder clientConfigRealmOptions(String key, Object value)
To configure the AsyncHttpClientConfig Realm using the key/values from the Map. The option is a:java.util.Map<java.lang.String, java.lang.Object>
type. The option is multivalued, and you can use the clientConfigRealmOptions(String, Object) method to add a value (call the method multiple times to set more values). Group: security
-
clientConfigRealmOptions
default WsEndpointBuilderFactory.AdvancedWsEndpointProducerBuilder clientConfigRealmOptions(Map values)
To configure the AsyncHttpClientConfig Realm using the key/values from the Map. The option is a:java.util.Map<java.lang.String, java.lang.Object>
type. The option is multivalued, and you can use the clientConfigRealmOptions(String, Object) method to add a value (call the method multiple times to set more values). Group: security
-
-