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() |
boolean |
isAllowDuplicateKeys() |
MuleEvent |
process(MuleEvent event) |
void |
setAllowDuplicateKeys(boolean allowDuplicateKeys) |
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)
public boolean isAllowDuplicateKeys()
public void setAllowDuplicateKeys(boolean allowDuplicateKeys)
Copyright © 2003–2021 MuleSoft, Inc.. All rights reserved.