Interface ResteasyComponentBuilderFactory.ResteasyComponentBuilder

    • Method Detail

      • bridgeErrorHandler

        default ResteasyComponentBuilderFactory.ResteasyComponentBuilder 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
      • muteException

        default ResteasyComponentBuilderFactory.ResteasyComponentBuilder muteException​(boolean muteException)
        If enabled and an Exchange failed processing on the consumer side the response's body won't contain the exception's stack trace. The option is a: <code>boolean</code> type. Default: false Group: consumer
        Parameters:
        muteException - the value to set
        Returns:
        the dsl builder
      • proxyConsumersClasses

        default ResteasyComponentBuilderFactory.ResteasyComponentBuilder proxyConsumersClasses​(String proxyConsumersClasses)
        Proxy classes for consumer endpoints. Multiple classes can be separated by comma. The option is a: <code>java.lang.String</code> type. Group: consumer
        Parameters:
        proxyConsumersClasses - the value to set
        Returns:
        the dsl builder
      • copyHeaders

        default ResteasyComponentBuilderFactory.ResteasyComponentBuilder copyHeaders​(boolean copyHeaders)
        If this option is true then IN exchange headers will be copied to OUT exchange headers according to copy strategy. Setting this to false, allows to only include the headers from the HTTP response (not propagating IN headers). The option is a: <code>boolean</code> type. Default: true Group: producer
        Parameters:
        copyHeaders - the value to set
        Returns:
        the dsl builder
      • lazyStartProducer

        default ResteasyComponentBuilderFactory.ResteasyComponentBuilder lazyStartProducer​(boolean lazyStartProducer)
        Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option is a: <code>boolean</code> type. Default: false Group: producer
        Parameters:
        lazyStartProducer - the value to set
        Returns:
        the dsl builder
      • responsePayloadStreamingThreshold

        default ResteasyComponentBuilderFactory.ResteasyComponentBuilder responsePayloadStreamingThreshold​(int responsePayloadStreamingThreshold)
        This threshold in bytes controls whether the response payload should be stored in memory as a byte array or be streaming based. Set this to -1 to always use streaming mode. The option is a: <code>int</code> type. Default: 8192 Group: producer
        Parameters:
        responsePayloadStreamingThreshold - the value to set
        Returns:
        the dsl builder
      • followRedirects

        default ResteasyComponentBuilderFactory.ResteasyComponentBuilder followRedirects​(boolean followRedirects)
        Whether to the HTTP request should follow redirects. By default the HTTP request does not follow redirects. The option is a: <code>boolean</code> type. Default: false Group: producer (advanced)
        Parameters:
        followRedirects - the value to set
        Returns:
        the dsl builder
      • skipRequestHeaders

        default ResteasyComponentBuilderFactory.ResteasyComponentBuilder skipRequestHeaders​(boolean skipRequestHeaders)
        Whether to skip mapping all the Camel headers as HTTP request headers. If there are no data from Camel headers needed to be included in the HTTP request then this can avoid parsing overhead with many object allocations for the JVM garbage collector. The option is a: <code>boolean</code> type. Default: false Group: producer (advanced)
        Parameters:
        skipRequestHeaders - the value to set
        Returns:
        the dsl builder
      • skipResponseHeaders

        default ResteasyComponentBuilderFactory.ResteasyComponentBuilder skipResponseHeaders​(boolean skipResponseHeaders)
        Whether to skip mapping all the HTTP response headers to Camel headers. If there are no data needed from HTTP headers then this can avoid parsing overhead with many object allocations for the JVM garbage collector. The option is a: <code>boolean</code> type. Default: false Group: producer (advanced)
        Parameters:
        skipResponseHeaders - the value to set
        Returns:
        the dsl builder
      • allowJavaSerializedObject

        default ResteasyComponentBuilderFactory.ResteasyComponentBuilder 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: <code>boolean</code> type. Default: false Group: advanced
        Parameters:
        allowJavaSerializedObject - the value to set
        Returns:
        the dsl builder
      • authCachingDisabled

        default ResteasyComponentBuilderFactory.ResteasyComponentBuilder authCachingDisabled​(boolean authCachingDisabled)
        Disables authentication scheme caching. The option is a: <code>boolean</code> type. Default: false Group: advanced
        Parameters:
        authCachingDisabled - the value to set
        Returns:
        the dsl builder
      • automaticRetriesDisabled

        default ResteasyComponentBuilderFactory.ResteasyComponentBuilder automaticRetriesDisabled​(boolean automaticRetriesDisabled)
        Disables automatic request recovery and re-execution. The option is a: <code>boolean</code> type. Default: false Group: advanced
        Parameters:
        automaticRetriesDisabled - the value to set
        Returns:
        the dsl builder
      • autowiredEnabled

        default ResteasyComponentBuilderFactory.ResteasyComponentBuilder 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: <code>boolean</code> type. Default: true Group: advanced
        Parameters:
        autowiredEnabled - the value to set
        Returns:
        the dsl builder
      • connectionStateDisabled

        default ResteasyComponentBuilderFactory.ResteasyComponentBuilder connectionStateDisabled​(boolean connectionStateDisabled)
        Disables connection state tracking. The option is a: <code>boolean</code> type. Default: false Group: advanced
        Parameters:
        connectionStateDisabled - the value to set
        Returns:
        the dsl builder
      • contentCompressionDisabled

        default ResteasyComponentBuilderFactory.ResteasyComponentBuilder contentCompressionDisabled​(boolean contentCompressionDisabled)
        Disables automatic content decompression. The option is a: <code>boolean</code> type. Default: false Group: advanced
        Parameters:
        contentCompressionDisabled - the value to set
        Returns:
        the dsl builder
      • cookieManagementDisabled

        default ResteasyComponentBuilderFactory.ResteasyComponentBuilder cookieManagementDisabled​(boolean cookieManagementDisabled)
        Disables state (cookie) management. The option is a: <code>boolean</code> type. Default: false Group: advanced
        Parameters:
        cookieManagementDisabled - the value to set
        Returns:
        the dsl builder
      • defaultUserAgentDisabled

        default ResteasyComponentBuilderFactory.ResteasyComponentBuilder defaultUserAgentDisabled​(boolean defaultUserAgentDisabled)
        Disables the default user agent set by this builder if none has been provided by the user. The option is a: <code>boolean</code> type. Default: false Group: advanced
        Parameters:
        defaultUserAgentDisabled - the value to set
        Returns:
        the dsl builder
      • redirectHandlingDisabled

        default ResteasyComponentBuilderFactory.ResteasyComponentBuilder redirectHandlingDisabled​(boolean redirectHandlingDisabled)
        Disables automatic redirect handling. The option is a: <code>boolean</code> type. Default: false Group: advanced
        Parameters:
        redirectHandlingDisabled - the value to set
        Returns:
        the dsl builder
      • headerFilterStrategy

        default ResteasyComponentBuilderFactory.ResteasyComponentBuilder 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: <code>org.apache.camel.spi.HeaderFilterStrategy</code> type. Group: filter
        Parameters:
        headerFilterStrategy - the value to set
        Returns:
        the dsl builder