Interface JettyComponentBuilderFactory.JettyComponentBuilder

    • Method Detail

      • bridgeErrorHandler

        default JettyComponentBuilderFactory.JettyComponentBuilder 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: boolean type. Default: false Group: consumer
      • continuationTimeout

        default JettyComponentBuilderFactory.JettyComponentBuilder continuationTimeout​(Long continuationTimeout)
        Allows to set a timeout in millis when using Jetty as consumer (server). By default Jetty uses 30000. You can use a value of = 0 to never expire. If a timeout occurs then the request will be expired and Jetty will return back a http error 503 to the client. This option is only in use when using Jetty with the Asynchronous Routing Engine. The option is a: java.lang.Long type. Default: 30000 Group: consumer
      • maxThreads

        default JettyComponentBuilderFactory.JettyComponentBuilder maxThreads​(Integer maxThreads)
        To set a value for maximum number of threads in server thread pool. Notice that both a min and max size must be configured. The option is a: java.lang.Integer type. Group: consumer
      • minThreads

        default JettyComponentBuilderFactory.JettyComponentBuilder minThreads​(Integer minThreads)
        To set a value for minimum number of threads in server thread pool. Notice that both a min and max size must be configured. The option is a: java.lang.Integer type. Group: consumer
      • sendServerVersion

        default JettyComponentBuilderFactory.JettyComponentBuilder sendServerVersion​(boolean sendServerVersion)
        If the option is true, jetty will send the server header with the jetty version information to the client which sends the request. NOTE please make sure there is no any other camel-jetty endpoint is share the same port, otherwise this option may not work as expected. The option is a: boolean type. Default: true Group: consumer
      • useXForwardedForHeader

        default JettyComponentBuilderFactory.JettyComponentBuilder useXForwardedForHeader​(boolean useXForwardedForHeader)
        To use the X-Forwarded-For header in HttpServletRequest.getRemoteAddr. The option is a: boolean type. Default: false Group: consumer
      • threadPool

        default JettyComponentBuilderFactory.JettyComponentBuilder threadPool​(org.eclipse.jetty.util.thread.ThreadPool threadPool)
        To use a custom thread pool for the server. This option should only be used in special circumstances. The option is a: org.eclipse.jetty.util.thread.ThreadPool type. Group: consumer (advanced)
      • allowJavaSerializedObject

        default JettyComponentBuilderFactory.JettyComponentBuilder allowJavaSerializedObject​(boolean allowJavaSerializedObject)
        Whether to allow java serialization when a request uses context-type=application/x-java-serialized-object. This is by default turned off. If you enable this then be aware that Java will deserialize the incoming data from the request to Java and that can be a potential security risk. The option is a: boolean type. Default: false Group: advanced
      • autowiredEnabled

        default JettyComponentBuilderFactory.JettyComponentBuilder autowiredEnabled​(boolean autowiredEnabled)
        Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc. The option is a: boolean type. Default: true Group: advanced
      • errorHandler

        default JettyComponentBuilderFactory.JettyComponentBuilder errorHandler​(org.eclipse.jetty.server.handler.ErrorHandler errorHandler)
        This option is used to set the ErrorHandler that Jetty server uses. The option is a: org.eclipse.jetty.server.handler.ErrorHandler type. Group: advanced
      • httpBinding

        default JettyComponentBuilderFactory.JettyComponentBuilder httpBinding​(org.apache.camel.http.common.HttpBinding httpBinding)
        Not to be used - use JettyHttpBinding instead. The option is a: org.apache.camel.http.common.HttpBinding type. Group: advanced
      • httpConfiguration

        default JettyComponentBuilderFactory.JettyComponentBuilder httpConfiguration​(org.apache.camel.http.common.HttpConfiguration httpConfiguration)
        Jetty component does not use HttpConfiguration. The option is a: org.apache.camel.http.common.HttpConfiguration type. Group: advanced
      • jettyHttpBinding

        default JettyComponentBuilderFactory.JettyComponentBuilder jettyHttpBinding​(org.apache.camel.component.jetty.JettyHttpBinding jettyHttpBinding)
        To use a custom org.apache.camel.component.jetty.JettyHttpBinding, which are used to customize how a response should be written for the producer. The option is a: org.apache.camel.component.jetty.JettyHttpBinding type. Group: advanced
      • mbContainer

        default JettyComponentBuilderFactory.JettyComponentBuilder mbContainer​(org.eclipse.jetty.jmx.MBeanContainer mbContainer)
        To use a existing configured org.eclipse.jetty.jmx.MBeanContainer if JMX is enabled that Jetty uses for registering mbeans. The option is a: org.eclipse.jetty.jmx.MBeanContainer type. Group: advanced
      • headerFilterStrategy

        default JettyComponentBuilderFactory.JettyComponentBuilder headerFilterStrategy​(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)
        To use a custom org.apache.camel.spi.HeaderFilterStrategy to filter header to and from Camel message. The option is a: org.apache.camel.spi.HeaderFilterStrategy type. Group: filter
      • socketConnectorProperties

        default JettyComponentBuilderFactory.JettyComponentBuilder socketConnectorProperties​(Map<String,​Object> socketConnectorProperties)
        A map which contains general HTTP connector properties. Uses the same principle as sslSocketConnectorProperties. The option is a: java.util.Map type. Group: security
      • socketConnectors

        default JettyComponentBuilderFactory.JettyComponentBuilder socketConnectors​(Map<Integer,​org.eclipse.jetty.server.Connector> socketConnectors)
        A map which contains per port number specific HTTP connectors. Uses the same principle as sslSocketConnectors. The option is a: java.util.Map type. Group: security
      • sslContextParameters

        default JettyComponentBuilderFactory.JettyComponentBuilder sslContextParameters​(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters)
        To configure security using SSLContextParameters. The option is a: org.apache.camel.support.jsse.SSLContextParameters type. Group: security
      • sslKeyPassword

        default JettyComponentBuilderFactory.JettyComponentBuilder sslKeyPassword​(String sslKeyPassword)
        The key password, which is used to access the certificate's key entry in the keystore (this is the same password that is supplied to the keystore command's -keypass option). The option is a: java.lang.String type. Group: security
      • sslPassword

        default JettyComponentBuilderFactory.JettyComponentBuilder sslPassword​(String sslPassword)
        The ssl password, which is required to access the keystore file (this is the same password that is supplied to the keystore command's -storepass option). The option is a: java.lang.String type. Group: security
      • useGlobalSslContextParameters

        default JettyComponentBuilderFactory.JettyComponentBuilder useGlobalSslContextParameters​(boolean useGlobalSslContextParameters)
        Enable usage of global SSL context parameters. The option is a: boolean type. Default: false Group: security