org.mule.construct
Class Validator
java.lang.Object
org.mule.construct.AbstractFlowConstruct
org.mule.construct.AbstractPipeline
org.mule.construct.AbstractConfigurationPattern
org.mule.construct.Validator
- All Implemented Interfaces:
- AnnotatedObject, FlowConstruct, Pipeline, Disposable, Initialisable, Lifecycle, LifecycleStateEnabled, Startable, Stoppable, NamedObject
public class Validator
- extends AbstractConfigurationPattern
Constructor Summary |
Validator(String name,
MuleContext muleContext,
MessageSource messageSource,
OutboundEndpoint outboundEndpoint,
Filter validationFilter,
String ackExpression,
String nackExpression)
|
Validator(String name,
MuleContext muleContext,
MessageSource messageSource,
OutboundEndpoint outboundEndpoint,
Filter validationFilter,
String ackExpression,
String nackExpression,
String errorExpression)
|
Methods inherited from class org.mule.construct.AbstractPipeline |
configurePostProcessors, createPipeline, doDispose, doInitialise, doStart, doStop, getMessageProcessors, getMessageSource, getProcessingStrategy, isRedeliveryPolicyConfigured, setMessageProcessors, setMessageSource |
Methods inherited from class org.mule.construct.AbstractFlowConstruct |
configureStatistics, dispose, disposeIfDisposable, getAnnotation, getAnnotations, getExceptionListener, getInitialState, getLifecycleState, getMessageInfoMapping, getMuleContext, getName, getStatistics, initialise, initialiseIfInitialisable, injectFlowConstructMuleContext, isStarted, isStopped, isStopping, setAnnotations, setExceptionListener, setInitialState, setMessageInfoMapping, start, startIfStartable, stop, stopIfStoppable, toString |
Validator
public Validator(String name,
MuleContext muleContext,
MessageSource messageSource,
OutboundEndpoint outboundEndpoint,
Filter validationFilter,
String ackExpression,
String nackExpression)
Validator
public Validator(String name,
MuleContext muleContext,
MessageSource messageSource,
OutboundEndpoint outboundEndpoint,
Filter validationFilter,
String ackExpression,
String nackExpression,
String errorExpression)
configureMessageProcessorsBeforeTransformation
protected void configureMessageProcessorsBeforeTransformation(MessageProcessorChainBuilder builder)
- Specified by:
configureMessageProcessorsBeforeTransformation
in class AbstractConfigurationPattern
configureMessageProcessorsAfterTransformation
protected void configureMessageProcessorsAfterTransformation(MessageProcessorChainBuilder builder)
- Specified by:
configureMessageProcessorsAfterTransformation
in class AbstractConfigurationPattern
validateConstruct
protected void validateConstruct()
throws FlowConstructInvalidException
- Description copied from class:
AbstractFlowConstruct
- Validates configured flow construct
- Overrides:
validateConstruct
in class AbstractPipeline
- Throws:
FlowConstructInvalidException
- if the flow construct does not pass
validation
hasErrorExpression
protected boolean hasErrorExpression()
getConstructType
public String getConstructType()
- Specified by:
getConstructType
in class AbstractFlowConstruct
- Returns:
- the type of construct being created, e.g. "Flow"
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.