Interface PlatformHttpEndpointBuilderFactory.PlatformHttpEndpointBuilder

  • All Superinterfaces:
    org.apache.camel.builder.EndpointConsumerBuilder, org.apache.camel.EndpointConsumerResolver
    Enclosing interface:
    PlatformHttpEndpointBuilderFactory

    public static interface PlatformHttpEndpointBuilderFactory.PlatformHttpEndpointBuilder
    extends org.apache.camel.builder.EndpointConsumerBuilder
    Builder for endpoint for the Platform HTTP component.
    • Method Detail

      • bridgeErrorHandler

        default PlatformHttpEndpointBuilderFactory.PlatformHttpEndpointBuilder 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
        Parameters:
        bridgeErrorHandler - the value to set
        Returns:
        the dsl builder
      • bridgeErrorHandler

        default PlatformHttpEndpointBuilderFactory.PlatformHttpEndpointBuilder 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
        Parameters:
        bridgeErrorHandler - the value to set
        Returns:
        the dsl builder
      • consumes

        default PlatformHttpEndpointBuilderFactory.PlatformHttpEndpointBuilder consumes​(String consumes)
        The content type this endpoint accepts as an input, such as application/xml or application/json. null or &amp;#42;/&amp;#42; mean no restriction. The option is a: <code>java.lang.String</code> type. Group: consumer
        Parameters:
        consumes - the value to set
        Returns:
        the dsl builder
      • httpMethodRestrict

        default PlatformHttpEndpointBuilderFactory.PlatformHttpEndpointBuilder httpMethodRestrict​(String httpMethodRestrict)
        A comma separated list of HTTP methods to serve, e.g. GET,POST . If no methods are specified, all methods will be served. The option is a: <code>java.lang.String</code> type. Group: consumer
        Parameters:
        httpMethodRestrict - the value to set
        Returns:
        the dsl builder
      • matchOnUriPrefix

        default PlatformHttpEndpointBuilderFactory.PlatformHttpEndpointBuilder matchOnUriPrefix​(boolean matchOnUriPrefix)
        Whether or not the consumer should try to find a target consumer by matching the URI prefix if no exact match is found. The option is a: <code>boolean</code> type. Default: false Group: consumer
        Parameters:
        matchOnUriPrefix - the value to set
        Returns:
        the dsl builder
      • matchOnUriPrefix

        default PlatformHttpEndpointBuilderFactory.PlatformHttpEndpointBuilder matchOnUriPrefix​(String matchOnUriPrefix)
        Whether or not the consumer should try to find a target consumer by matching the URI prefix if no exact match is found. The option will be converted to a <code>boolean</code> type. Default: false Group: consumer
        Parameters:
        matchOnUriPrefix - the value to set
        Returns:
        the dsl builder