| Element | Description | Class |
|---|---|---|
| component | Validation | org.apache.servicemix.validation.ValidationComponent |
| endpoint | org.apache.servicemix.validation.ValidationEndpoint |
| Element | Type | Description |
|---|---|---|
| endpoints | (endpoint)* | |
| executorFactory | <spring:bean/> | The executor factory to use to create the executor. If none is provided, one will be retrieved from the JBI container when the component is deployed into ServiceMix 3.x, or a default implementation will be used. |
| Attribute | Type | Description |
|---|---|---|
| endpoint | xs:string | Get the endpoint implementation. |
| handlingErrorMethod | xs:string | Configure how validation errors should be handled. Default value is FAULT_JBI.
|
| interfaceName | xs:QName | Get the qualified name of the endpoint interface. |
| schemaLanguage | xs:string | Set the validation schema language. Defaults to http://www.w3.org/2001/XMLSchema |
| service | xs:QName | Get the service qualified name of the endpoint. |
| Element | Type | Description |
|---|---|---|
| errorHandlerFactory | <spring:bean/> | Set a custom error handler to deal with validation errors. Defaults to a CountingErrorHandlerFactory. |
| noNamespaceSchemaResource | <spring:bean/> | Set the validation schema to be used when no namespace is specified. |
| schema | <spring:bean/> | Set the validation schema instance. |
| schemaResource | <spring:bean/> | Set the validation schema as a Spring Resource. |
| schemaSource | <spring:bean/> | Set the validation schema as an XML Source. |