Interface CxfRsEndpointBuilderFactory.CxfRsEndpointProducerBuilder

  • All Superinterfaces:
    org.apache.camel.builder.EndpointProducerBuilder, org.apache.camel.EndpointProducerResolver
    All Known Subinterfaces:
    CxfRsEndpointBuilderFactory.CxfRsEndpointBuilder
    Enclosing interface:
    CxfRsEndpointBuilderFactory

    public static interface CxfRsEndpointBuilderFactory.CxfRsEndpointProducerBuilder
    extends org.apache.camel.builder.EndpointProducerBuilder
    Builder for endpoint producers for the CXF-RS component.
    • Method Detail

      • loggingFeatureEnabled

        default CxfRsEndpointBuilderFactory.CxfRsEndpointProducerBuilder loggingFeatureEnabled​(boolean loggingFeatureEnabled)
        This option enables CXF Logging Feature which writes inbound and outbound REST messages to log. The option is a: boolean type. Default: false Group: common
      • loggingFeatureEnabled

        default CxfRsEndpointBuilderFactory.CxfRsEndpointProducerBuilder loggingFeatureEnabled​(String loggingFeatureEnabled)
        This option enables CXF Logging Feature which writes inbound and outbound REST messages to log. The option will be converted to a boolean type. Default: false Group: common
      • modelRef

        default CxfRsEndpointBuilderFactory.CxfRsEndpointProducerBuilder modelRef​(String modelRef)
        This option is used to specify the model file which is useful for the resource class without annotation. When using this option, then the service class can be omitted, to emulate document-only endpoints. The option is a: java.lang.String type. Group: common
      • providers

        default CxfRsEndpointBuilderFactory.CxfRsEndpointProducerBuilder providers​(List<Object> providers)
        Set custom JAX-RS provider(s) list to the CxfRs endpoint. You can specify a string with a list of providers to lookup in the registy separated by comma. The option is a: java.util.List<java.lang.Object> type. Group: common
      • providers

        default CxfRsEndpointBuilderFactory.CxfRsEndpointProducerBuilder providers​(String providers)
        Set custom JAX-RS provider(s) list to the CxfRs endpoint. You can specify a string with a list of providers to lookup in the registy separated by comma. The option will be converted to a java.util.List<java.lang.Object> type. Group: common
      • resourceClasses

        default CxfRsEndpointBuilderFactory.CxfRsEndpointProducerBuilder resourceClasses​(String resourceClasses)
        The resource classes which you want to export as REST service. Multiple classes can be separated by comma. The option will be converted to a java.util.List<java.lang.Class<java.lang.Object>> type. Group: common
      • schemaLocations

        default CxfRsEndpointBuilderFactory.CxfRsEndpointProducerBuilder schemaLocations​(String schemaLocations)
        Sets the locations of the schema(s) which can be used to validate the incoming XML or JAXB-driven JSON. The option will be converted to a java.util.List<java.lang.String> type. Group: common
      • skipFaultLogging

        default CxfRsEndpointBuilderFactory.CxfRsEndpointProducerBuilder skipFaultLogging​(boolean skipFaultLogging)
        This option controls whether the PhaseInterceptorChain skips logging the Fault that it catches. The option is a: boolean type. Default: false Group: common
      • hostnameVerifier

        default CxfRsEndpointBuilderFactory.CxfRsEndpointProducerBuilder hostnameVerifier​(String hostnameVerifier)
        The hostname verifier to be used. Use the # notation to reference a HostnameVerifier from the registry. The option will be converted to a javax.net.ssl.HostnameVerifier type. Group: producer
      • lazyStartProducer

        default CxfRsEndpointBuilderFactory.CxfRsEndpointProducerBuilder 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: boolean type. Default: false Group: producer
      • lazyStartProducer

        default CxfRsEndpointBuilderFactory.CxfRsEndpointProducerBuilder lazyStartProducer​(String 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 will be converted to a boolean type. Default: false Group: producer
      • sslContextParameters

        default CxfRsEndpointBuilderFactory.CxfRsEndpointProducerBuilder sslContextParameters​(Object sslContextParameters)
        The Camel SSL setting reference. Use the # notation to reference the SSL Context. The option is a: org.apache.camel.support.jsse.SSLContextParameters type. Group: producer
      • sslContextParameters

        default CxfRsEndpointBuilderFactory.CxfRsEndpointProducerBuilder sslContextParameters​(String sslContextParameters)
        The Camel SSL setting reference. Use the # notation to reference the SSL Context. The option will be converted to a org.apache.camel.support.jsse.SSLContextParameters type. Group: producer
      • throwExceptionOnFailure

        default CxfRsEndpointBuilderFactory.CxfRsEndpointProducerBuilder throwExceptionOnFailure​(boolean throwExceptionOnFailure)
        This option tells the CxfRsProducer to inspect return codes and will generate an Exception if the return code is larger than 207. The option is a: boolean type. Default: true Group: producer
      • throwExceptionOnFailure

        default CxfRsEndpointBuilderFactory.CxfRsEndpointProducerBuilder throwExceptionOnFailure​(String throwExceptionOnFailure)
        This option tells the CxfRsProducer to inspect return codes and will generate an Exception if the return code is larger than 207. The option will be converted to a boolean type. Default: true Group: producer