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 Details

    • basic

    • bridgeErrorHandler

      default CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointConsumerBuilder 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 (advanced)
      Parameters:
      bridgeErrorHandler - the value to set
      Returns:
      the dsl builder
    • bridgeErrorHandler

      default CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointConsumerBuilder 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 (advanced)
      Parameters:
      bridgeErrorHandler - the value to set
      Returns:
      the dsl builder
    • 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: <code>org.apache.camel.spi.ExceptionHandler</code> type. Group: consumer (advanced)
      Parameters:
      exceptionHandler - the value to set
      Returns:
      the dsl builder
    • 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 <code>org.apache.camel.spi.ExceptionHandler</code> type. Group: consumer (advanced)
      Parameters:
      exceptionHandler - the value to set
      Returns:
      the dsl builder
    • exchangePattern

      default CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointConsumerBuilder exchangePattern(org.apache.camel.ExchangePattern exchangePattern)
      Sets the exchange pattern when the consumer creates an exchange. The option is a: <code>org.apache.camel.ExchangePattern</code> type. Group: consumer (advanced)
      Parameters:
      exchangePattern - the value to set
      Returns:
      the dsl builder
    • exchangePattern

      Sets the exchange pattern when the consumer creates an exchange. The option will be converted to a <code>org.apache.camel.ExchangePattern</code> type. Group: consumer (advanced)
      Parameters:
      exchangePattern - the value to set
      Returns:
      the dsl builder
    • 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 is a: <code>java.lang.String</code> type. Group: consumer (advanced)
      Parameters:
      serviceBeans - the value to set
      Returns:
      the dsl builder
    • binding

      default CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointConsumerBuilder binding(org.apache.camel.component.cxf.jaxrs.CxfRsBinding binding)
      To use a custom CxfBinding to control the binding between Camel Message and CXF Message. The option is a: <code>org.apache.camel.component.cxf.jaxrs.CxfRsBinding</code> type. Group: advanced
      Parameters:
      binding - the value to set
      Returns:
      the dsl builder
    • binding

      To use a custom CxfBinding to control the binding between Camel Message and CXF Message. The option will be converted to a <code>org.apache.camel.component.cxf.jaxrs.CxfRsBinding</code> type. Group: advanced
      Parameters:
      binding - the value to set
      Returns:
      the dsl builder
    • bus

      To use a custom configured CXF Bus. The option is a: <code>org.apache.cxf.Bus</code> type. Group: advanced
      Parameters:
      bus - the value to set
      Returns:
      the dsl builder
    • bus

      To use a custom configured CXF Bus. The option will be converted to a <code>org.apache.cxf.Bus</code> type. Group: advanced
      Parameters:
      bus - the value to set
      Returns:
      the dsl builder
    • 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: <code>long</code> type. Default: 30000 Group: advanced
      Parameters:
      continuationTimeout - the value to set
      Returns:
      the dsl builder
    • 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 <code>long</code> type. Default: 30000 Group: advanced
      Parameters:
      continuationTimeout - the value to set
      Returns:
      the dsl builder
    • cxfRsConfigurer

      default CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointConsumerBuilder cxfRsConfigurer(org.apache.camel.component.cxf.jaxrs.CxfRsConfigurer 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: <code>org.apache.camel.component.cxf.jaxrs.CxfRsConfigurer</code> type. Group: advanced
      Parameters:
      cxfRsConfigurer - the value to set
      Returns:
      the dsl builder
    • 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 <code>org.apache.camel.component.cxf.jaxrs.CxfRsConfigurer</code> type. Group: advanced
      Parameters:
      cxfRsConfigurer - the value to set
      Returns:
      the dsl builder
    • defaultBus

      Will set the default bus when CXF endpoint create a bus by itself. The option is a: <code>boolean</code> type. Default: false Group: advanced
      Parameters:
      defaultBus - the value to set
      Returns:
      the dsl builder
    • defaultBus

      Will set the default bus when CXF endpoint create a bus by itself. The option will be converted to a <code>boolean</code> type. Default: false Group: advanced
      Parameters:
      defaultBus - the value to set
      Returns:
      the dsl builder
    • 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: <code>org.apache.camel.spi.HeaderFilterStrategy</code> type. Group: advanced
      Parameters:
      headerFilterStrategy - the value to set
      Returns:
      the dsl builder
    • headerFilterStrategy

      default CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointConsumerBuilder headerFilterStrategy(String headerFilterStrategy)
      To use a custom HeaderFilterStrategy to filter header to and from Camel message. The option will be converted to a <code>org.apache.camel.spi.HeaderFilterStrategy</code> type. Group: advanced
      Parameters:
      headerFilterStrategy - the value to set
      Returns:
      the dsl builder
    • 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: <code>boolean</code> type. Default: false Group: advanced
      Parameters:
      performInvocation - the value to set
      Returns:
      the dsl builder
    • 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 <code>boolean</code> type. Default: false Group: advanced
      Parameters:
      performInvocation - the value to set
      Returns:
      the dsl builder
    • 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: <code>boolean</code> type. Default: false Group: advanced
      Parameters:
      propagateContexts - the value to set
      Returns:
      the dsl builder
    • 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 <code>boolean</code> type. Default: false Group: advanced
      Parameters:
      propagateContexts - the value to set
      Returns:
      the dsl builder