org.mule.construct
Class SimpleService
java.lang.Object
org.mule.construct.AbstractFlowConstruct
org.mule.construct.SimpleService
- All Implemented Interfaces:
- FlowConstruct, Disposable, Initialisable, Lifecycle, LifecycleStateEnabled, Startable, Stoppable, MessageProcessor
public class SimpleService
- extends AbstractFlowConstruct
In-out SOA-style simple service, with no outbound router. Always fully
synchronous.
Methods inherited from class org.mule.construct.AbstractFlowConstruct |
createMessageProcessor, dispose, doDispose, doInitialise, doStart, doStop, getExceptionListener, getLifecycleState, getMessageInfoMapping, getMessageSource, getMuleContext, getName, getStatistics, initialise, isStarted, isStopped, isStopping, process, setExceptionListener, setMessageInfoMapping, setMessageSource, start, stop, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SimpleService
public SimpleService(java.lang.String name,
MuleContext muleContext,
MessageSource messageSource,
Component component,
SimpleService.Type type)
throws MuleException
- Throws:
MuleException
getComponent
public Component getComponent()
configureMessageProcessors
protected void configureMessageProcessors(InterceptingChainMessageProcessorBuilder builder)
- Description copied from class:
AbstractFlowConstruct
- Used to configure the processing chain for this
FlowConstuct
MessageProcessor
s to the chain using the builder provided.
To use a different builder of to construct a composite
MessageProcessor
manually override AbstractFlowConstruct.createMessageProcessor()
instead.
- Specified by:
configureMessageProcessors
in class AbstractFlowConstruct
- Parameters:
builder
- instance of InterceptingChainMessageProcessorBuilder
validateConstruct
protected void validateConstruct()
throws FlowConstructInvalidException
- Description copied from class:
AbstractFlowConstruct
- Validates configured flow construct
- Overrides:
validateConstruct
in class AbstractFlowConstruct
- Throws:
FlowConstructInvalidException
- if the flow construct does not pass
validation
Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.