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
 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.Mediator
getTraceState, getType, mediate, setTraceState
 
Methods inherited from interface org.apache.synapse.SynapseArtifact
getDescription, setDescription
 
Methods inherited from interface org.apache.synapse.ManagedLifecycle
destroy, init
 

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


Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.