org.mule.construct
Class SimpleService
java.lang.Object
org.mule.construct.AbstractFlowConstruct
org.mule.construct.AbstractPipeline
org.mule.construct.AbstractConfigurationPattern
org.mule.construct.SimpleService
- All Implemented Interfaces:
- AnnotatedObject, FlowConstruct, Pipeline, Disposable, Initialisable, Lifecycle, LifecycleStateEnabled, Startable, Stoppable, NamedObject
public class SimpleService
- extends AbstractConfigurationPattern
In-out SOA-style simple service, with no outbound router. Always fully synchronous.
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 |
SimpleService
public SimpleService(String name,
MuleContext muleContext,
MessageSource messageSource,
List<MessageProcessor> transformers,
List<MessageProcessor> responseTransformers,
Component component,
SimpleService.Type type)
throws MuleException
- Throws:
MuleException
getComponent
public Component getComponent()
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
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.