Interface WsEndpointBuilderFactory.AdvancedWsEndpointBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
,org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
,WsEndpointBuilderFactory.AdvancedWsEndpointConsumerBuilder
,WsEndpointBuilderFactory.AdvancedWsEndpointProducerBuilder
- Enclosing interface:
- WsEndpointBuilderFactory
public static interface WsEndpointBuilderFactory.AdvancedWsEndpointBuilder extends WsEndpointBuilderFactory.AdvancedWsEndpointConsumerBuilder, WsEndpointBuilderFactory.AdvancedWsEndpointProducerBuilder
Advanced builder for endpoint for the Async HTTP Client (AHC) Websocket component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default WsEndpointBuilderFactory.WsEndpointBuilder
basic()
default WsEndpointBuilderFactory.AdvancedWsEndpointBuilder
binding(Object binding)
To use a custom AhcBinding which allows to control how to bind between AHC and Camel.default WsEndpointBuilderFactory.AdvancedWsEndpointBuilder
binding(String binding)
To use a custom AhcBinding which allows to control how to bind between AHC and Camel.default WsEndpointBuilderFactory.AdvancedWsEndpointBuilder
clientConfig(Object clientConfig)
To configure the AsyncHttpClient to use a custom com.ning.http.client.AsyncHttpClientConfig instance.default WsEndpointBuilderFactory.AdvancedWsEndpointBuilder
clientConfig(String clientConfig)
To configure the AsyncHttpClient to use a custom com.ning.http.client.AsyncHttpClientConfig instance.default WsEndpointBuilderFactory.AdvancedWsEndpointBuilder
clientConfigOptions(String key, Object value)
To configure the AsyncHttpClientConfig using the key/values from the Map.default WsEndpointBuilderFactory.AdvancedWsEndpointBuilder
clientConfigOptions(Map values)
To configure the AsyncHttpClientConfig using the key/values from the Map.default WsEndpointBuilderFactory.AdvancedWsEndpointBuilder
clientConfigRealmOptions(String key, Object value)
To configure the AsyncHttpClientConfig Realm using the key/values from the Map.default WsEndpointBuilderFactory.AdvancedWsEndpointBuilder
clientConfigRealmOptions(Map values)
To configure the AsyncHttpClientConfig Realm using the key/values from the Map.default WsEndpointBuilderFactory.AdvancedWsEndpointBuilder
synchronous(boolean synchronous)
Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).default WsEndpointBuilderFactory.AdvancedWsEndpointBuilder
synchronous(String synchronous)
Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).-
Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, getUri
-
Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, expr, getUri
-
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.WsEndpointBuilderFactory.AdvancedWsEndpointConsumerBuilder
exceptionHandler, exceptionHandler, exchangePattern, exchangePattern
-
-
-
-
Method Detail
-
basic
default WsEndpointBuilderFactory.WsEndpointBuilder basic()
- Specified by:
basic
in interfaceWsEndpointBuilderFactory.AdvancedWsEndpointConsumerBuilder
- Specified by:
basic
in interfaceWsEndpointBuilderFactory.AdvancedWsEndpointProducerBuilder
-
binding
default WsEndpointBuilderFactory.AdvancedWsEndpointBuilder 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- Specified by:
binding
in interfaceWsEndpointBuilderFactory.AdvancedWsEndpointConsumerBuilder
- Specified by:
binding
in interfaceWsEndpointBuilderFactory.AdvancedWsEndpointProducerBuilder
-
binding
default WsEndpointBuilderFactory.AdvancedWsEndpointBuilder 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- Specified by:
binding
in interfaceWsEndpointBuilderFactory.AdvancedWsEndpointConsumerBuilder
- Specified by:
binding
in interfaceWsEndpointBuilderFactory.AdvancedWsEndpointProducerBuilder
-
clientConfig
default WsEndpointBuilderFactory.AdvancedWsEndpointBuilder 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- Specified by:
clientConfig
in interfaceWsEndpointBuilderFactory.AdvancedWsEndpointConsumerBuilder
- Specified by:
clientConfig
in interfaceWsEndpointBuilderFactory.AdvancedWsEndpointProducerBuilder
-
clientConfig
default WsEndpointBuilderFactory.AdvancedWsEndpointBuilder 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- Specified by:
clientConfig
in interfaceWsEndpointBuilderFactory.AdvancedWsEndpointConsumerBuilder
- Specified by:
clientConfig
in interfaceWsEndpointBuilderFactory.AdvancedWsEndpointProducerBuilder
-
clientConfigOptions
default WsEndpointBuilderFactory.AdvancedWsEndpointBuilder 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- Specified by:
clientConfigOptions
in interfaceWsEndpointBuilderFactory.AdvancedWsEndpointConsumerBuilder
- Specified by:
clientConfigOptions
in interfaceWsEndpointBuilderFactory.AdvancedWsEndpointProducerBuilder
-
clientConfigOptions
default WsEndpointBuilderFactory.AdvancedWsEndpointBuilder 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- Specified by:
clientConfigOptions
in interfaceWsEndpointBuilderFactory.AdvancedWsEndpointConsumerBuilder
- Specified by:
clientConfigOptions
in interfaceWsEndpointBuilderFactory.AdvancedWsEndpointProducerBuilder
-
synchronous
default WsEndpointBuilderFactory.AdvancedWsEndpointBuilder 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- Specified by:
synchronous
in interfaceWsEndpointBuilderFactory.AdvancedWsEndpointConsumerBuilder
- Specified by:
synchronous
in interfaceWsEndpointBuilderFactory.AdvancedWsEndpointProducerBuilder
-
synchronous
default WsEndpointBuilderFactory.AdvancedWsEndpointBuilder 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- Specified by:
synchronous
in interfaceWsEndpointBuilderFactory.AdvancedWsEndpointConsumerBuilder
- Specified by:
synchronous
in interfaceWsEndpointBuilderFactory.AdvancedWsEndpointProducerBuilder
-
clientConfigRealmOptions
default WsEndpointBuilderFactory.AdvancedWsEndpointBuilder 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- Specified by:
clientConfigRealmOptions
in interfaceWsEndpointBuilderFactory.AdvancedWsEndpointConsumerBuilder
- Specified by:
clientConfigRealmOptions
in interfaceWsEndpointBuilderFactory.AdvancedWsEndpointProducerBuilder
-
clientConfigRealmOptions
default WsEndpointBuilderFactory.AdvancedWsEndpointBuilder 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- Specified by:
clientConfigRealmOptions
in interfaceWsEndpointBuilderFactory.AdvancedWsEndpointConsumerBuilder
- Specified by:
clientConfigRealmOptions
in interfaceWsEndpointBuilderFactory.AdvancedWsEndpointProducerBuilder
-
-