Interface ValidatorEndpointBuilderFactory.ValidatorBuilders
- All Known Subinterfaces:
EndpointBuilderFactory
- All Known Implementing Classes:
EndpointRouteBuilder
,EndpointRouteConfigurationBuilder
- Enclosing interface:
- ValidatorEndpointBuilderFactory
public static interface ValidatorEndpointBuilderFactory.ValidatorBuilders
-
Method Summary
Modifier and TypeMethodDescriptionValidator (camel-validator) Validate the payload using XML Schema and JAXP Validation.Validator (camel-validator) Validate the payload using XML Schema and JAXP Validation.
-
Method Details
-
validator
Validator (camel-validator) Validate the payload using XML Schema and JAXP Validation. Category: core,validation Since: 1.1 Maven coordinates: org.apache.camel:camel-validator Syntax:validator:resourceUri
Path parameter: resourceUri (required) URL to a local resource on the classpath, or a reference to lookup a bean in the Registry, or a full URL to a remote resource or resource on the file system which contains the XSD to validate against. This option can also be loaded from an existing file, by prefixing with file: or classpath: followed by the location of the file.- Parameters:
path
- resourceUri- Returns:
- the dsl builder
-
validator
default ValidatorEndpointBuilderFactory.ValidatorEndpointBuilder validator(String componentName, String path) Validator (camel-validator) Validate the payload using XML Schema and JAXP Validation. Category: core,validation Since: 1.1 Maven coordinates: org.apache.camel:camel-validator Syntax:validator:resourceUri
Path parameter: resourceUri (required) URL to a local resource on the classpath, or a reference to lookup a bean in the Registry, or a full URL to a remote resource or resource on the file system which contains the XSD to validate against. This option can also be loaded from an existing file, by prefixing with file: or classpath: followed by the location of the file.- Parameters:
componentName
- to use a custom component name for the endpoint instead of the default namepath
- resourceUri- Returns:
- the dsl builder
-