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.WsEndpointBuilderbasic()default WsEndpointBuilderFactory.AdvancedWsEndpointBuilderbinding(Object binding)To use a custom AhcBinding which allows to control how to bind between AHC and Camel.default WsEndpointBuilderFactory.AdvancedWsEndpointBuilderbinding(String binding)To use a custom AhcBinding which allows to control how to bind between AHC and Camel.default WsEndpointBuilderFactory.AdvancedWsEndpointBuilderclientConfig(Object clientConfig)To configure the AsyncHttpClient to use a custom com.ning.http.client.AsyncHttpClientConfig instance.default WsEndpointBuilderFactory.AdvancedWsEndpointBuilderclientConfig(String clientConfig)To configure the AsyncHttpClient to use a custom com.ning.http.client.AsyncHttpClientConfig instance.default WsEndpointBuilderFactory.AdvancedWsEndpointBuilderclientConfigOptions(String key, Object value)To configure the AsyncHttpClientConfig using the key/values from the Map.default WsEndpointBuilderFactory.AdvancedWsEndpointBuilderclientConfigOptions(Map values)To configure the AsyncHttpClientConfig using the key/values from the Map.default WsEndpointBuilderFactory.AdvancedWsEndpointBuilderclientConfigRealmOptions(String key, Object value)To configure the AsyncHttpClientConfig Realm using the key/values from the Map.default WsEndpointBuilderFactory.AdvancedWsEndpointBuilderclientConfigRealmOptions(Map values)To configure the AsyncHttpClientConfig Realm using the key/values from the Map.-
Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getUri
-
Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, 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:
basicin interfaceWsEndpointBuilderFactory.AdvancedWsEndpointConsumerBuilder- Specified by:
basicin 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: <code>org.apache.camel.component.ahc.AhcBinding</code> type. Group: advanced- Specified by:
bindingin interfaceWsEndpointBuilderFactory.AdvancedWsEndpointConsumerBuilder- Specified by:
bindingin interfaceWsEndpointBuilderFactory.AdvancedWsEndpointProducerBuilder- Parameters:
binding- the value to set- Returns:
- the dsl builder
-
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 a <code>org.apache.camel.component.ahc.AhcBinding</code> type. Group: advanced- Specified by:
bindingin interfaceWsEndpointBuilderFactory.AdvancedWsEndpointConsumerBuilder- Specified by:
bindingin interfaceWsEndpointBuilderFactory.AdvancedWsEndpointProducerBuilder- Parameters:
binding- the value to set- Returns:
- the dsl builder
-
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: <code>org.asynchttpclient.AsyncHttpClientConfig</code> type. Group: advanced- Specified by:
clientConfigin interfaceWsEndpointBuilderFactory.AdvancedWsEndpointConsumerBuilder- Specified by:
clientConfigin interfaceWsEndpointBuilderFactory.AdvancedWsEndpointProducerBuilder- Parameters:
clientConfig- the value to set- Returns:
- the dsl builder
-
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 a <code>org.asynchttpclient.AsyncHttpClientConfig</code> type. Group: advanced- Specified by:
clientConfigin interfaceWsEndpointBuilderFactory.AdvancedWsEndpointConsumerBuilder- Specified by:
clientConfigin interfaceWsEndpointBuilderFactory.AdvancedWsEndpointProducerBuilder- Parameters:
clientConfig- the value to set- Returns:
- the dsl builder
-
clientConfigOptions
default WsEndpointBuilderFactory.AdvancedWsEndpointBuilder clientConfigOptions(String key, Object value)
To configure the AsyncHttpClientConfig using the key/values from the Map. The option is a: <code>java.util.Map<java.lang.String, java.lang.Object></code> 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:
clientConfigOptionsin interfaceWsEndpointBuilderFactory.AdvancedWsEndpointConsumerBuilder- Specified by:
clientConfigOptionsin interfaceWsEndpointBuilderFactory.AdvancedWsEndpointProducerBuilder- Parameters:
key- the option keyvalue- the option value- Returns:
- the dsl builder
-
clientConfigOptions
default WsEndpointBuilderFactory.AdvancedWsEndpointBuilder clientConfigOptions(Map values)
To configure the AsyncHttpClientConfig using the key/values from the Map. The option is a: <code>java.util.Map<java.lang.String, java.lang.Object></code> 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:
clientConfigOptionsin interfaceWsEndpointBuilderFactory.AdvancedWsEndpointConsumerBuilder- Specified by:
clientConfigOptionsin interfaceWsEndpointBuilderFactory.AdvancedWsEndpointProducerBuilder- Parameters:
values- the values- Returns:
- the dsl builder
-
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: <code>java.util.Map<java.lang.String, java.lang.Object></code> 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:
clientConfigRealmOptionsin interfaceWsEndpointBuilderFactory.AdvancedWsEndpointConsumerBuilder- Specified by:
clientConfigRealmOptionsin interfaceWsEndpointBuilderFactory.AdvancedWsEndpointProducerBuilder- Parameters:
key- the option keyvalue- the option value- Returns:
- the dsl builder
-
clientConfigRealmOptions
default WsEndpointBuilderFactory.AdvancedWsEndpointBuilder clientConfigRealmOptions(Map values)
To configure the AsyncHttpClientConfig Realm using the key/values from the Map. The option is a: <code>java.util.Map<java.lang.String, java.lang.Object></code> 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:
clientConfigRealmOptionsin interfaceWsEndpointBuilderFactory.AdvancedWsEndpointConsumerBuilder- Specified by:
clientConfigRealmOptionsin interfaceWsEndpointBuilderFactory.AdvancedWsEndpointProducerBuilder- Parameters:
values- the values- Returns:
- the dsl builder
-
-