public class ValidatorBuilder extends AbstractFlowConstructWithSingleInboundAndOutboundEndpointBuilder<ValidatorBuilder,Validator>
Modifier and Type | Field and Description |
---|---|
protected String |
ackExpression |
protected String |
errorExpression |
protected String |
nackExpression |
protected Filter |
validationFilter |
exceptionListener, initialState, messageSource, name, responseTransformers, transformers
Constructor and Description |
---|
ValidatorBuilder() |
Modifier and Type | Method and Description |
---|---|
ValidatorBuilder |
ackExpression(String ackExpression) |
protected Validator |
buildFlowConstruct(MuleContext muleContext) |
ValidatorBuilder |
errorExpression(String errorExpression) |
protected MessageExchangePattern |
getInboundMessageExchangePattern() |
protected MessageExchangePattern |
getOutboundMessageExchangePattern() |
protected boolean |
hasErrorExpression() |
ValidatorBuilder |
nackExpression(String nackExpression) |
ValidatorBuilder |
validationFilter(Filter validationFilter) |
doConfigureOutboundEndpointBuilder, getOrBuildOutboundEndpoint, outboundAddress, outboundEndpoint, outboundEndpoint
doConfigureInboundEndpointBuilder, getOrBuildInboundEndpoint, inboundAddress, inboundEndpoint, inboundEndpoint
addExceptionListener, build, buildAndRegister, exceptionStrategy, initialState, messageSource, name
protected Filter validationFilter
protected String ackExpression
protected String nackExpression
protected String errorExpression
public ValidatorBuilder validationFilter(Filter validationFilter)
public ValidatorBuilder ackExpression(String ackExpression)
public ValidatorBuilder nackExpression(String nackExpression)
public ValidatorBuilder errorExpression(String errorExpression)
protected MessageExchangePattern getInboundMessageExchangePattern()
protected MessageExchangePattern getOutboundMessageExchangePattern()
protected Validator buildFlowConstruct(MuleContext muleContext) throws MuleException
buildFlowConstruct
in class AbstractFlowConstructBuilder<ValidatorBuilder,Validator>
MuleException
protected boolean hasErrorExpression()
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.