XML validating filter
Filters XML messages by validating them against a pre-defined XSD.
Filters XML messages by validating them against an XSD schema. If the XML is valid, the message will be send to the output channel, otherwise it will be dropped, rejected or send to the discard channel.
Custom validation
Custom validation will allow you to specify the location of the xsd.
By default this will be the resource folder.
Definition location
Location of the XSD schema file.
XML definition
Select the xml definition that will be used for the validation of your xml message.
This can either be an XML definition or an xsd.
You can create new xml definitions in the resources tab.
Schema type
Specifies the xml schema type.
Possible types :
xml-schema
- Default
relax-ng
Discard channel
Channel where messages should be sent if the filter rejects the message. If no discard channel is set, rejected messages are silently dropped.
Optional
Throw exception on rejection
Throw an exception when the input message is invalid. This will cause any error handling on the current message flow to trigger.
Note that when set to true
, no messages will be send to the discard channel.
Output channel
Channel where output messages should be sent after (successfully) processing the input message.
You can select the nullChannel
here to silently drop the output messages.
Required
Input channel
Channel to consume the input messages from.
Required
Id
Name that uniquely identifies this flow component.
Required