public final class RaiseErrorProcessor extends AbstractComponent implements Processor, Initialisable
ReactiveProcessor.ProcessingType
LOCATION_KEY, ROOT_CONTAINER_NAME_KEY
PHASE_NAME
ANNOTATIONS_PROPERTY_NAME
Constructor and Description |
---|
RaiseErrorProcessor() |
Modifier and Type | Method and Description |
---|---|
void |
initialise()
Method used to perform any initialisation work.
|
CoreEvent |
process(CoreEvent event)
Invokes the MessageProcessor.
|
void |
setDescription(String description) |
void |
setType(String type) |
getAnnotation, getAnnotations, getLocation, getRootContainerLocation, setAnnotations
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getProcessingType
public void initialise() throws InitialisationException
Initialisable
InitialisationException
should be thrown.
In case that the Initialisable.initialise()
method execution fails then mule will call the Disposable.dispose()
method if
the class also implements Disposable
allowing the object to dispose any allocated resource during
Initialisable.initialise()
initialise
in interface Initialisable
InitialisationException
- if a fatal error occurs causing the Mule instance to shutdownDisposable
public CoreEvent process(CoreEvent event) throws MuleException
Processor
process
in interface Processor
event
- MuleEvent to be processedMuleException
public void setType(String type)
public void setDescription(String description)
Copyright © 2018. All rights reserved.