Interface CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointConsumerBuilder

  • All Superinterfaces:
    org.apache.camel.builder.EndpointConsumerBuilder, org.apache.camel.EndpointConsumerResolver
    All Known Subinterfaces:
    CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointBuilder
    Enclosing interface:
    CxfRsEndpointBuilderFactory

    public static interface CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointConsumerBuilder
    extends org.apache.camel.builder.EndpointConsumerBuilder
    Advanced builder for endpoint consumers for the CXF-RS component.
    • Method Detail

      • exceptionHandler

        default CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointConsumerBuilder 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: org.apache.camel.spi.ExceptionHandler type. Group: consumer (advanced)
      • exceptionHandler

        default CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointConsumerBuilder exceptionHandler​(String 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 org.apache.camel.spi.ExceptionHandler type. Group: consumer (advanced)
      • serviceBeans

        default CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointConsumerBuilder serviceBeans​(String serviceBeans)
        The service beans (the bean ids to lookup in the registry) which you want to export as REST service. Multiple beans can be separated by comma. The option will be converted to a java.util.List<java.lang.Object> type. Group: consumer (advanced)
      • continuationTimeout

        default CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointConsumerBuilder continuationTimeout​(long continuationTimeout)
        This option is used to set the CXF continuation timeout which could be used in CxfConsumer by default when the CXF server is using Jetty or Servlet transport. The option is a: long type. Default: 30000 Group: advanced
      • continuationTimeout

        default CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointConsumerBuilder continuationTimeout​(String continuationTimeout)
        This option is used to set the CXF continuation timeout which could be used in CxfConsumer by default when the CXF server is using Jetty or Servlet transport. The option will be converted to a long type. Default: 30000 Group: advanced
      • cxfRsConfigurer

        default CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointConsumerBuilder cxfRsConfigurer​(Object cxfRsConfigurer)
        This option could apply the implementation of org.apache.camel.component.cxf.jaxrs.CxfRsEndpointConfigurer which supports to configure the CXF endpoint in programmatic way. User can configure the CXF server and client by implementing configure{Server/Client} method of CxfEndpointConfigurer. The option is a: org.apache.camel.component.cxf.jaxrs.CxfRsConfigurer type. Group: advanced
      • cxfRsConfigurer

        default CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointConsumerBuilder cxfRsConfigurer​(String cxfRsConfigurer)
        This option could apply the implementation of org.apache.camel.component.cxf.jaxrs.CxfRsEndpointConfigurer which supports to configure the CXF endpoint in programmatic way. User can configure the CXF server and client by implementing configure{Server/Client} method of CxfEndpointConfigurer. The option will be converted to a org.apache.camel.component.cxf.jaxrs.CxfRsConfigurer type. Group: advanced
      • headerFilterStrategy

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

        default CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointConsumerBuilder performInvocation​(boolean performInvocation)
        When the option is true, Camel will perform the invocation of the resource class instance and put the response object into the exchange for further processing. The option is a: boolean type. Default: false Group: advanced
      • performInvocation

        default CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointConsumerBuilder performInvocation​(String performInvocation)
        When the option is true, Camel will perform the invocation of the resource class instance and put the response object into the exchange for further processing. The option will be converted to a boolean type. Default: false Group: advanced
      • propagateContexts

        default CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointConsumerBuilder propagateContexts​(boolean propagateContexts)
        When the option is true, JAXRS UriInfo, HttpHeaders, Request and SecurityContext contexts will be available to custom CXFRS processors as typed Camel exchange properties. These contexts can be used to analyze the current requests using JAX-RS API. The option is a: boolean type. Default: false Group: advanced
      • propagateContexts

        default CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointConsumerBuilder propagateContexts​(String propagateContexts)
        When the option is true, JAXRS UriInfo, HttpHeaders, Request and SecurityContext contexts will be available to custom CXFRS processors as typed Camel exchange properties. These contexts can be used to analyze the current requests using JAX-RS API. The option will be converted to a boolean type. Default: false Group: advanced