Interface RestApiEndpointBuilderFactory.RestApiEndpointBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
- Enclosing interface:
RestApiEndpointBuilderFactory
public static interface RestApiEndpointBuilderFactory.RestApiEndpointBuilder
extends org.apache.camel.builder.EndpointConsumerBuilder
Builder for endpoint for the REST API component.
-
Method Summary
Modifier and TypeMethodDescriptionadvanced()
apiComponentName
(String apiComponentName) The Camel Rest API component to use for generating the API of the REST services, such as openapi.consumerComponentName
(String consumerComponentName) The Camel Rest component to use for the consumer REST transport, such as jetty, servlet, undertow.Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointConsumerResolver
resolve, resolve
-
Method Details
-
advanced
-
apiComponentName
default RestApiEndpointBuilderFactory.RestApiEndpointBuilder apiComponentName(String apiComponentName) The Camel Rest API component to use for generating the API of the REST services, such as openapi. The option is a:java.lang.String
type. Group: consumer- Parameters:
apiComponentName
- the value to set- Returns:
- the dsl builder
-
consumerComponentName
default RestApiEndpointBuilderFactory.RestApiEndpointBuilder consumerComponentName(String consumerComponentName) The Camel Rest component to use for the consumer REST transport, such as jetty, servlet, undertow. If no component has been explicitly configured, then Camel will lookup if there is a Camel component that integrates with the Rest DSL, or if a org.apache.camel.spi.RestConsumerFactory is registered in the registry. If either one is found, then that is being used. The option is a:java.lang.String
type. Group: consumer- Parameters:
consumerComponentName
- the value to set- Returns:
- the dsl builder
-