Interface ValidatorResourceResolverFactory
-
- All Known Implementing Classes:
DefaultValidatorResourceResolverFactory
public interface ValidatorResourceResolverFactory
Can be used to create custom resource resolver for the validator endpoint. This interface is useful, if the custom resource resolver depends on the resource URI specified in the validator endpoint. The resource URI of the endpoint can be even dynamic, like in the following example:<camel:recipientList>
<camel:simple>validator:${header.XSD_FILE}?resourceResolverFactory=#resourceResolverFactory</camel:simple>
</camel:recipientList>
createResourceResolver(CamelContext, String)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LSResourceResolver
createResourceResolver(org.apache.camel.CamelContext camelContext, String rootResourceUri)
Method is called during the creation of a validator endpoint.
-
-
-
Method Detail
-
createResourceResolver
LSResourceResolver createResourceResolver(org.apache.camel.CamelContext camelContext, String rootResourceUri)
Method is called during the creation of a validator endpoint.- Parameters:
camelContext
- camel contextrootResourceUri
- resource URI specified in the endpoint URI- Returns:
- resource resolver
-
-