Interface UndertowEndpointBuilderFactory.AdvancedUndertowEndpointConsumerBuilder

  • All Superinterfaces:
    org.apache.camel.builder.EndpointConsumerBuilder, org.apache.camel.EndpointConsumerResolver
    All Known Subinterfaces:
    UndertowEndpointBuilderFactory.AdvancedUndertowEndpointBuilder
    Enclosing interface:
    UndertowEndpointBuilderFactory

    public static interface UndertowEndpointBuilderFactory.AdvancedUndertowEndpointConsumerBuilder
    extends org.apache.camel.builder.EndpointConsumerBuilder
    Advanced builder for endpoint consumers for the Undertow component.
    • Method Detail

      • exceptionHandler

        default UndertowEndpointBuilderFactory.AdvancedUndertowEndpointConsumerBuilder exceptionHandler​(org.apache.camel.spi.ExceptionHandler exceptionHandler)
        To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option is a: <code>org.apache.camel.spi.ExceptionHandler</code> type. Group: consumer (advanced)
        Parameters:
        exceptionHandler - the value to set
        Returns:
        the dsl builder
      • exceptionHandler

        default UndertowEndpointBuilderFactory.AdvancedUndertowEndpointConsumerBuilder exceptionHandler​(String exceptionHandler)
        To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option will be converted to a <code>org.apache.camel.spi.ExceptionHandler</code> type. Group: consumer (advanced)
        Parameters:
        exceptionHandler - the value to set
        Returns:
        the dsl builder
      • exchangePattern

        default UndertowEndpointBuilderFactory.AdvancedUndertowEndpointConsumerBuilder exchangePattern​(org.apache.camel.ExchangePattern exchangePattern)
        Sets the exchange pattern when the consumer creates an exchange. The option is a: <code>org.apache.camel.ExchangePattern</code> type. Group: consumer (advanced)
        Parameters:
        exchangePattern - the value to set
        Returns:
        the dsl builder
      • exchangePattern

        default UndertowEndpointBuilderFactory.AdvancedUndertowEndpointConsumerBuilder exchangePattern​(String exchangePattern)
        Sets the exchange pattern when the consumer creates an exchange. The option will be converted to a <code>org.apache.camel.ExchangePattern</code> type. Group: consumer (advanced)
        Parameters:
        exchangePattern - the value to set
        Returns:
        the dsl builder
      • handlers

        default UndertowEndpointBuilderFactory.AdvancedUndertowEndpointConsumerBuilder handlers​(Set<Object> handlers)
        Specifies a comma-delimited set of io.undertow.server.HttpHandler instances to lookup in your Registry. These handlers are added to the Undertow handler chain (for example, to add security). Important: You can not use different handlers with different Undertow endpoints using the same port number. The handlers is associated to the port number. If you need different handlers, then use different port numbers. The option is a: <code>java.util.Set&lt;org.apache.camel.component.undertow.HttpHandlerRegistrationInfo&gt;</code> type. Group: consumer (advanced)
        Parameters:
        handlers - the value to set
        Returns:
        the dsl builder
      • handlers

        default UndertowEndpointBuilderFactory.AdvancedUndertowEndpointConsumerBuilder handlers​(String handlers)
        Specifies a comma-delimited set of io.undertow.server.HttpHandler instances to lookup in your Registry. These handlers are added to the Undertow handler chain (for example, to add security). Important: You can not use different handlers with different Undertow endpoints using the same port number. The handlers is associated to the port number. If you need different handlers, then use different port numbers. The option will be converted to a <code>java.util.Set&lt;org.apache.camel.component.undertow.HttpHandlerRegistrationInfo&gt;</code> type. Group: consumer (advanced)
        Parameters:
        handlers - the value to set
        Returns:
        the dsl builder
      • accessLogReceiver

        default UndertowEndpointBuilderFactory.AdvancedUndertowEndpointConsumerBuilder accessLogReceiver​(Object accessLogReceiver)
        Which Undertow AccessLogReceiver should be used Will use JBossLoggingAccessLogReceiver if not specified. The option is a: <code>io.undertow.server.handlers.accesslog.AccessLogReceiver</code> type. Group: advanced
        Parameters:
        accessLogReceiver - the value to set
        Returns:
        the dsl builder
      • accessLogReceiver

        default UndertowEndpointBuilderFactory.AdvancedUndertowEndpointConsumerBuilder accessLogReceiver​(String accessLogReceiver)
        Which Undertow AccessLogReceiver should be used Will use JBossLoggingAccessLogReceiver if not specified. The option will be converted to a <code>io.undertow.server.handlers.accesslog.AccessLogReceiver</code> type. Group: advanced
        Parameters:
        accessLogReceiver - the value to set
        Returns:
        the dsl builder
      • headerFilterStrategy

        default UndertowEndpointBuilderFactory.AdvancedUndertowEndpointConsumerBuilder headerFilterStrategy​(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)
        To use a custom HeaderFilterStrategy to filter header to and from Camel message. The option is a: <code>org.apache.camel.spi.HeaderFilterStrategy</code> type. Group: advanced
        Parameters:
        headerFilterStrategy - the value to set
        Returns:
        the dsl builder
      • headerFilterStrategy

        default UndertowEndpointBuilderFactory.AdvancedUndertowEndpointConsumerBuilder headerFilterStrategy​(String headerFilterStrategy)
        To use a custom HeaderFilterStrategy to filter header to and from Camel message. The option will be converted to a <code>org.apache.camel.spi.HeaderFilterStrategy</code> type. Group: advanced
        Parameters:
        headerFilterStrategy - the value to set
        Returns:
        the dsl builder
      • undertowHttpBinding

        default UndertowEndpointBuilderFactory.AdvancedUndertowEndpointConsumerBuilder undertowHttpBinding​(Object undertowHttpBinding)
        To use a custom UndertowHttpBinding to control the mapping between Camel message and undertow. The option is a: <code>org.apache.camel.component.undertow.UndertowHttpBinding</code> type. Group: advanced
        Parameters:
        undertowHttpBinding - the value to set
        Returns:
        the dsl builder
      • undertowHttpBinding

        default UndertowEndpointBuilderFactory.AdvancedUndertowEndpointConsumerBuilder undertowHttpBinding​(String undertowHttpBinding)
        To use a custom UndertowHttpBinding to control the mapping between Camel message and undertow. The option will be converted to a <code>org.apache.camel.component.undertow.UndertowHttpBinding</code> type. Group: advanced
        Parameters:
        undertowHttpBinding - the value to set
        Returns:
        the dsl builder