org.mule.construct
Class Bridge
java.lang.Object
org.mule.construct.AbstractFlowConstruct
org.mule.construct.Bridge
- All Implemented Interfaces:
- FlowConstruct, Disposable, Initialisable, Lifecycle, LifecycleStateEnabled, Startable, Stoppable
public class Bridge
- extends AbstractFlowConstruct
A simple bridge between a single inbound endpoint and a single outbound endpoint.
It enforces a consistent exchange pattern across its endpoints. If declared
transactional, it ensures that the correct endpoint configuration is in place.
Fields inherited from class org.mule.construct.AbstractFlowConstruct |
exceptionListener, INITIAL_STATE_STARTED, INITIAL_STATE_STOPPED, initialState, lifecycleManager, logger, messageInfoMapping, messageProcessorChain, messageSource, muleContext, name, statistics, threadingProfile |
Methods inherited from class org.mule.construct.AbstractFlowConstruct |
createMessageProcessor, dispose, disposeIfDisposable, doDispose, doInitialise, doStart, doStop, getExceptionListener, getInitialState, getLifecycleState, getMessageInfoMapping, getMessageProcessorChain, getMessageSource, getMuleContext, getName, getStatistics, getThreadingProfile, initialise, initialiseIfInitialisable, injectFlowConstructMuleContext, isStarted, isStopped, isStopping, setExceptionListener, setInitialState, setMessageInfoMapping, setMessageSource, start, startIfStartable, stop, stopIfStoppable, toString |
Bridge
public Bridge(String name,
MuleContext muleContext,
MessageSource messageSource,
OutboundEndpoint outboundEndpoint,
MessageExchangePattern exchangePattern,
boolean transacted)
configureMessageProcessors
protected void configureMessageProcessors(MessageProcessorChainBuilder builder)
- Description copied from class:
AbstractFlowConstruct
- Used to configure the processing chain for this
FlowConstuct
AbstractFlowConstruct.ProcessIfPipelineStartedMessageProcessor
s to the chain using the builder provided.
To use a different builder of to construct a composite
AbstractFlowConstruct.ProcessIfPipelineStartedMessageProcessor
manually override AbstractFlowConstruct.createMessageProcessor()
instead.
- Specified by:
configureMessageProcessors
in class AbstractFlowConstruct
- Parameters:
builder
- instance of DefaultMessageProcessorChainBuilder
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
getConstructType
public String getConstructType()
- Specified by:
getConstructType
in class AbstractFlowConstruct
- Returns:
- the type of construct being created, e.g. "Flow"
Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.