Package org.apache.synapse.config.xml
Class IterateMediatorFactory
- java.lang.Object
-
- org.apache.synapse.config.xml.AbstractMediatorFactory
-
- org.apache.synapse.config.xml.IterateMediatorFactory
-
- All Implemented Interfaces:
MediatorFactory
public class IterateMediatorFactory extends AbstractMediatorFactory
The <iterate> element is used to split messages in Synapse to smaller messages with only one part of the elements described in the XPATH expression.<iterate [continueParent=(true | false)] [preservePayload=(true | false)] (attachPath="xpath")? expression="xpath"> <target [to="uri"] [soapAction="qname"] [sequence="sequence_ref"] [endpoint="endpoint_ref"]> <sequence> (mediator)+ </sequence>? <endpoint> endpoint </endpoint>? </target>+ </iterate>
-
-
Field Summary
-
Fields inherited from class org.apache.synapse.config.xml.AbstractMediatorFactory
ATT_DEFAULT_VALUE, ATT_DESCRIPTION, ATT_EVAL, ATT_EXPRN, ATT_IS_MANDATORY, ATT_KEY, ATT_NAME, ATT_ONERROR, ATT_REGEX, ATT_SEQUENCE, ATT_SOURCE, ATT_STATS, ATT_TARGET, ATT_VALUE, ATT_XPATH, DESCRIPTION_Q, FEATURE_Q, PROP_Q, PROPERTY_GROUP_Q, TARGET_Q
-
-
Constructor Summary
Constructors Constructor Description IterateMediatorFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Mediator
createSpecificMediator(org.apache.axiom.om.OMElement elem, Properties properties)
This method will create the IterateMediator by parsing the given xml configurationQName
getTagQName()
Get the IterateMediator configuration tag name-
Methods inherited from class org.apache.synapse.config.xml.AbstractMediatorFactory
addAllCommentChildrenToList, collectNameValuePairs, createMediator, handleException, handleException, processAuditStatus, processTraceState
-
-
-
-
Method Detail
-
createSpecificMediator
public Mediator createSpecificMediator(org.apache.axiom.om.OMElement elem, Properties properties)
This method will create the IterateMediator by parsing the given xml configuration- Specified by:
createSpecificMediator
in classAbstractMediatorFactory
- Parameters:
elem
- OMElement describing the configuration of the IterateMediaotrproperties
- properties passed- Returns:
- IterateMediator created from the given configuration
-
getTagQName
public QName getTagQName()
Get the IterateMediator configuration tag name- Returns:
- QName specifying the IterateMediator tag name of the xml configuration
-
-