Interface AhcEndpointBuilderFactory.AdvancedAhcEndpointBuilder

  • All Superinterfaces:
    org.apache.camel.builder.EndpointProducerBuilder, org.apache.camel.EndpointProducerResolver
    Enclosing interface:
    AhcEndpointBuilderFactory

    public static interface AhcEndpointBuilderFactory.AdvancedAhcEndpointBuilder
    extends org.apache.camel.builder.EndpointProducerBuilder
    Advanced builder for endpoint for the Async HTTP Client (AHC) component.
    • Method Detail

      • clientConfig

        default AhcEndpointBuilderFactory.AdvancedAhcEndpointBuilder 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 AhcEndpointBuilderFactory.AdvancedAhcEndpointBuilder clientConfig​(String clientConfig)
        To configure the AsyncHttpClient to use a custom com.ning.http.client.AsyncHttpClientConfig instance. The option will be converted to a org.asynchttpclient.AsyncHttpClientConfig type. Group: advanced
      • clientConfigOptions

        default AhcEndpointBuilderFactory.AdvancedAhcEndpointBuilder 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 AhcEndpointBuilderFactory.AdvancedAhcEndpointBuilder 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 AhcEndpointBuilderFactory.AdvancedAhcEndpointBuilder 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 AhcEndpointBuilderFactory.AdvancedAhcEndpointBuilder 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 a boolean type. Default: false Group: advanced
      • clientConfigRealmOptions

        default AhcEndpointBuilderFactory.AdvancedAhcEndpointBuilder 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 AhcEndpointBuilderFactory.AdvancedAhcEndpointBuilder 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