|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mule.module.cxf.config.FlowConfiguringMessageProcessor
public class FlowConfiguringMessageProcessor
Wraps a MessageProcessorBuilder
and configures it lazily so it can
be injected with the FlowConstruct
.
Field Summary |
---|
Fields inherited from interface org.mule.api.lifecycle.Initialisable |
---|
PHASE_NAME |
Fields inherited from interface org.mule.api.lifecycle.Startable |
---|
PHASE_NAME |
Fields inherited from interface org.mule.api.lifecycle.Stoppable |
---|
PHASE_NAME |
Fields inherited from interface org.mule.api.lifecycle.Disposable |
---|
PHASE_NAME |
Constructor Summary | |
---|---|
FlowConfiguringMessageProcessor(MessageProcessorBuilder builder)
|
Method Summary | |
---|---|
void |
addMessageProcessorPathElements(MessageProcessorPathElement pathElement)
Add the child nodes to the path element tree. |
void |
dispose()
A lifecycle method where implementor should free up any resources. |
MessageProcessorBuilder |
getMessageProcessorBuilder()
|
MessageProcessor |
getWrappedMessageProcessor()
The MessageProcessor that this class built. |
void |
initialise()
Method used to perform any initialisation work. |
MuleEvent |
process(MuleEvent event)
Invokes the MessageProcessor. |
void |
setFlowConstruct(FlowConstruct flowConstruct)
|
void |
setListener(MessageProcessor listener)
Set the MessageProcessor listener on a message source which will be invoked when a message is received or generated. |
void |
start()
|
void |
stop()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FlowConfiguringMessageProcessor(MessageProcessorBuilder builder)
Method Detail |
---|
public void setListener(MessageProcessor listener)
MessageSource
setListener
in interface MessageSource
public MuleEvent process(MuleEvent event) throws MuleException
MessageProcessor
process
in interface MessageProcessor
event
- MuleEvent to be processed
MuleException
public void start() throws MuleException
start
in interface Startable
MuleException
public void setFlowConstruct(FlowConstruct flowConstruct)
setFlowConstruct
in interface FlowConstructAware
public void dispose()
Disposable
dispose
in interface Disposable
public void stop() throws MuleException
stop
in interface Stoppable
MuleException
public void initialise() throws InitialisationException
Initialisable
InitialisationException
should be thrown,
causing the Mule instance to shutdown. If the error is recoverable, say by
retrying to connect, a RecoverableException
should be thrown.
There is no guarantee that by throwing a Recoverable exception that the Mule
instance will not shut down.
initialise
in interface Initialisable
InitialisationException
- if a fatal error occurs causing the Mule instance to shutdown
RecoverableException
- if an error occurs that can be recovered frompublic MessageProcessor getWrappedMessageProcessor()
public MessageProcessorBuilder getMessageProcessorBuilder()
public void addMessageProcessorPathElements(MessageProcessorPathElement pathElement)
MessageProcessorContainer
addMessageProcessorPathElements
in interface MessageProcessorContainer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |