public class SimpleService extends AbstractConfigurationPattern
Modifier and Type | Class and Description |
---|---|
static class |
SimpleService.Type |
AbstractPipeline.ProcessIfPipelineStartedMessageProcessor
responseTransformers, transformers
messageProcessors, messageSource, pipeline, processingStrategy
exceptionListener, INITIAL_STATE_STARTED, INITIAL_STATE_STOPPED, initialState, lifecycleManager, logger, messageInfoMapping, muleContext, name, statistics
PHASE_NAME
PHASE_NAME
PHASE_NAME
PHASE_NAME
PROPERTY_NAME
Constructor and Description |
---|
SimpleService(String name,
MuleContext muleContext,
MessageSource messageSource,
List<MessageProcessor> transformers,
List<MessageProcessor> responseTransformers,
Component component,
SimpleService.Type type) |
Modifier and Type | Method and Description |
---|---|
protected void |
configureMessageProcessorsAfterTransformation(MessageProcessorChainBuilder builder) |
protected void |
configureMessageProcessorsBeforeTransformation(MessageProcessorChainBuilder builder) |
Component |
getComponent() |
String |
getConstructType() |
protected void |
validateConstruct()
Validates configured flow construct
|
configureMessageProcessors, configurePreProcessors, hasResponseTransformers, hasTransformers, setProcessingStrategy
addMessageProcessorPathElements, configurePostProcessors, createPipeline, doDispose, doInitialise, doStart, doStop, getMessageProcessors, getMessageSource, getProcessingStrategy, getProcessorPath, isRedeliveryPolicyConfigured, isSynchronous, setMessageProcessors, setMessageSource
configureStatistics, dispose, disposeIfDisposable, getAnnotation, getAnnotations, getExceptionListener, getInitialState, getLifecycleState, getMessageInfoMapping, getMuleContext, getName, getStatistics, initialise, initialiseIfInitialisable, injectExceptionHandler, injectFlowConstructMuleContext, isStarted, isStopped, isStopping, setAnnotations, setExceptionListener, setInitialState, setMessageInfoMapping, start, startIfStartable, stop, stopIfStoppable, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getExceptionListener, getMessageInfoMapping, getMuleContext, getStatistics
getName
getLifecycleState
public SimpleService(String name, MuleContext muleContext, MessageSource messageSource, List<MessageProcessor> transformers, List<MessageProcessor> responseTransformers, Component component, SimpleService.Type type) throws MuleException
MuleException
public Component getComponent()
protected void configureMessageProcessorsBeforeTransformation(MessageProcessorChainBuilder builder)
configureMessageProcessorsBeforeTransformation
in class AbstractConfigurationPattern
protected void configureMessageProcessorsAfterTransformation(MessageProcessorChainBuilder builder)
configureMessageProcessorsAfterTransformation
in class AbstractConfigurationPattern
protected void validateConstruct() throws FlowConstructInvalidException
AbstractFlowConstruct
validateConstruct
in class AbstractPipeline
FlowConstructInvalidException
- if the flow construct does not pass
validationpublic String getConstructType()
getConstructType
in class AbstractFlowConstruct
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.