public class MediatorFaultHandler extends FaultHandler
FaultHandler
Constructor and Description |
---|
MediatorFaultHandler(Mediator faultMediator)
Constructs the FaultHandler object for handling mediator faults
|
Modifier and Type | Method and Description |
---|---|
Mediator |
getFaultMediator()
Getter for the mediator describing the fault sequence
|
void |
onFault(MessageContext synCtx)
Implements the fault handling method for the mediators (basically sequences)
|
void |
setFaultMediator(Mediator faultMediator)
Setter of the mediator describing the fault sequence
|
getStackTrace, handleFault, handleFault
public MediatorFaultHandler(Mediator faultMediator)
faultMediator
- Mediator in which fault sequence is specifiedpublic void onFault(MessageContext synCtx) throws SynapseException
onFault
in class FaultHandler
synCtx
- Synapse Message Context of which mediation occursSynapseException
- in case there is a failure in the fault executionFaultHandler.handleFault(org.apache.synapse.MessageContext)
public Mediator getFaultMediator()
public void setFaultMediator(Mediator faultMediator)
faultMediator
- Mediator specifying the fault sequence to be used by the handlerCopyright © 2005-2017 Apache Software Foundation. All Rights Reserved.