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: org.apache.camel.spi.ExceptionHandler type. Group: consumer (advanced)
      • 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 org.apache.camel.spi.ExceptionHandler type. Group: consumer (advanced)
      • 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: java.util.Set<org.apache.camel.component.undertow.HttpHandlerRegistrationInfo> type. Group: consumer (advanced)
      • 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 java.util.Set<org.apache.camel.component.undertow.HttpHandlerRegistrationInfo> type. Group: consumer (advanced)
      • 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: org.apache.camel.spi.HeaderFilterStrategy type. Group: advanced