Package org.apache.synapse.mediators
Interface FilterMediator
-
- All Superinterfaces:
ListMediator
,ManagedLifecycle
,Mediator
,SynapseArtifact
- All Known Implementing Classes:
FilterMediator
,InMediator
,OutMediator
public interface FilterMediator extends ListMediator
The filter mediator is a list mediator, which executes the given (sub) list of mediators if the specified condition is satisfied- See Also:
test(org.apache.synapse.MessageContext)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
test(MessageContext synCtx)
Should return true if the sub/child mediators should execute.-
Methods inherited from interface org.apache.synapse.mediators.ListMediator
addAll, addChild, getChild, getList, removeChild, removeChild
-
Methods inherited from interface org.apache.synapse.ManagedLifecycle
destroy, init
-
Methods inherited from interface org.apache.synapse.Mediator
getMediatorName, getMediatorPosition, getShortDescription, getTraceState, getType, isContentAltering, isContentAware, mediate, reportCloseStatistics, reportOpenStatistics, setComponentStatisticsId, setMediatorPosition, setShortDescription, setTraceState
-
Methods inherited from interface org.apache.synapse.SynapseArtifact
getDescription, setDescription
-
-
-
-
Method Detail
-
test
boolean test(MessageContext synCtx)
Should return true if the sub/child mediators should execute. i.e. if the filter condition is satisfied- Parameters:
synCtx
-- Returns:
- true if the configured filter condition evaluates to true
-
-