public class ValidateJsonSchemaMessageProcessor extends Object implements MessageProcessor, Initialisable
MessageProcessor that uses a JsonSchemaValidator
to validate a json in the payload to a given schemaPHASE_NAME| Constructor and Description |
|---|
ValidateJsonSchemaMessageProcessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
initialise() |
MuleEvent |
process(MuleEvent event) |
void |
setDereferencing(JsonSchemaDereferencing dereferencing) |
void |
setSchemaLocation(String schemaLocation) |
void |
setSchemaRedirects(Map<String,String> schemaRedirects) |
public void initialise()
throws InitialisationException
initialise in interface InitialisableInitialisationExceptionpublic MuleEvent process(MuleEvent event) throws MuleException
process in interface MessageProcessorMuleExceptionpublic void setSchemaLocation(String schemaLocation)
public void setDereferencing(JsonSchemaDereferencing dereferencing)
Copyright © 2003–2021 MuleSoft, Inc.. All rights reserved.