public abstract class AbstractFlowConstructBuilder<T extends AbstractFlowConstructBuilder<?,?>,F extends AbstractFlowConstruct> extends Object
Modifier and Type | Field and Description |
---|---|
protected MessagingExceptionHandler |
exceptionListener |
protected String |
initialState |
protected MessageSource |
messageSource |
protected String |
name |
protected List<MessageProcessor> |
responseTransformers |
protected List<MessageProcessor> |
transformers |
Constructor and Description |
---|
AbstractFlowConstructBuilder() |
Modifier and Type | Method and Description |
---|---|
protected void |
addExceptionListener(AbstractFlowConstruct flowConstruct) |
F |
build(MuleContext muleContext) |
F |
buildAndRegister(MuleContext muleContext) |
protected abstract F |
buildFlowConstruct(MuleContext muleContext) |
T |
exceptionStrategy(MessagingExceptionHandler exceptionListener) |
T |
initialState(String initialState) |
T |
messageSource(MessageSource messageSource) |
T |
name(String name) |
protected String name
protected String initialState
protected MessageSource messageSource
protected MessagingExceptionHandler exceptionListener
protected List<MessageProcessor> transformers
protected List<MessageProcessor> responseTransformers
public T messageSource(MessageSource messageSource)
public T exceptionStrategy(MessagingExceptionHandler exceptionListener)
public F build(MuleContext muleContext) throws MuleException
MuleException
public F buildAndRegister(MuleContext muleContext) throws MuleException
MuleException
protected abstract F buildFlowConstruct(MuleContext muleContext) throws MuleException
MuleException
protected void addExceptionListener(AbstractFlowConstruct flowConstruct)
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.