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 Details

    • basic

    • bridgeErrorHandler

      default UndertowEndpointBuilderFactory.AdvancedUndertowEndpointConsumerBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
      Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option is a: <code>boolean</code> type. Default: false Group: consumer (advanced)
      Parameters:
      bridgeErrorHandler - the value to set
      Returns:
      the dsl builder
    • bridgeErrorHandler

      default UndertowEndpointBuilderFactory.AdvancedUndertowEndpointConsumerBuilder bridgeErrorHandler(String bridgeErrorHandler)
      Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option will be converted to a <code>boolean</code> type. Default: false Group: consumer (advanced)
      Parameters:
      bridgeErrorHandler - the value to set
      Returns:
      the dsl builder
    • 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

      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

      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

      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.lang.String</code> type. Group: consumer (advanced)
      Parameters:
      handlers - the value to set
      Returns:
      the dsl builder
    • accessLogReceiver

      default UndertowEndpointBuilderFactory.AdvancedUndertowEndpointConsumerBuilder accessLogReceiver(io.undertow.server.handlers.accesslog.AccessLogReceiver 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

      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(org.apache.camel.component.undertow.UndertowHttpBinding 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