public class ExpressionLanguageComponent extends Object implements MessageProcessor, MuleContextAware, Initialisable
| Modifier and Type | Field and Description |
|---|---|
protected String |
expression |
protected String |
expressionFile |
protected MuleContext |
muleContext |
PHASE_NAME| Constructor and Description |
|---|
ExpressionLanguageComponent() |
| Modifier and Type | Method and Description |
|---|---|
void |
initialise()
Method used to perform any initialisation work.
|
MuleEvent |
process(MuleEvent event)
Invokes the MessageProcessor.
|
void |
setExpression(String expression) |
void |
setExpressionFile(String expressionFile) |
void |
setMuleContext(MuleContext muleContext) |
protected MuleContext muleContext
protected String expression
protected String expressionFile
public void initialise()
throws InitialisationException
InitialisableInitialisationException 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 InitialisableInitialisationException - if a fatal error occurs causing the Mule instance to shutdownRecoverableException - if an error occurs that can be recovered frompublic MuleEvent process(MuleEvent event) throws MuleException
MessageProcessorprocess in interface MessageProcessorevent - MuleEvent to be processedMuleExceptionpublic void setExpression(String expression)
public void setExpressionFile(String expressionFile)
public void setMuleContext(MuleContext muleContext)
setMuleContext in interface MuleContextAwareCopyright © 2003–2015 MuleSoft, Inc.. All rights reserved.