Interface ValidatorEndpointBuilderFactory.ValidatorEndpointBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder,org.apache.camel.EndpointProducerResolver
- Enclosing interface:
- ValidatorEndpointBuilderFactory
public static interface ValidatorEndpointBuilderFactory.ValidatorEndpointBuilder
extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint for the Validator component.
-
Method Summary
Modifier and TypeMethodDescriptionadvanced()failOnNullBody(boolean failOnNullBody) Whether to fail if no body exists.failOnNullBody(String failOnNullBody) Whether to fail if no body exists.failOnNullHeader(boolean failOnNullHeader) Whether to fail if no header exists when validating against a header.failOnNullHeader(String failOnNullHeader) Whether to fail if no header exists when validating against a header.headerName(String headerName) To validate against a header instead of the message body.Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUriMethods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolve
-
Method Details
-
advanced
-
failOnNullBody
default ValidatorEndpointBuilderFactory.ValidatorEndpointBuilder failOnNullBody(boolean failOnNullBody) Whether to fail if no body exists. The option is a: <code>boolean</code> type. Default: true Group: producer- Parameters:
failOnNullBody- the value to set- Returns:
- the dsl builder
-
failOnNullBody
default ValidatorEndpointBuilderFactory.ValidatorEndpointBuilder failOnNullBody(String failOnNullBody) Whether to fail if no body exists. The option will be converted to a <code>boolean</code> type. Default: true Group: producer- Parameters:
failOnNullBody- the value to set- Returns:
- the dsl builder
-
failOnNullHeader
default ValidatorEndpointBuilderFactory.ValidatorEndpointBuilder failOnNullHeader(boolean failOnNullHeader) Whether to fail if no header exists when validating against a header. The option is a: <code>boolean</code> type. Default: true Group: producer- Parameters:
failOnNullHeader- the value to set- Returns:
- the dsl builder
-
failOnNullHeader
default ValidatorEndpointBuilderFactory.ValidatorEndpointBuilder failOnNullHeader(String failOnNullHeader) Whether to fail if no header exists when validating against a header. The option will be converted to a <code>boolean</code> type. Default: true Group: producer- Parameters:
failOnNullHeader- the value to set- Returns:
- the dsl builder
-
headerName
To validate against a header instead of the message body. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
headerName- the value to set- Returns:
- the dsl builder
-